Skip to main content

Posts

Showing posts from February, 2024

password not recognized

While operating in a network environment Occasionally unable to log in to share folders as stated The shared folder password is not accepted as legitimate credentials.  so that we may do the easy actions listed below to get it to function again. open the registry edit and find the below key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa In the left pane of this registry location, highlight the Lsa key and come to its right pane.  Then, right click in blank space and select  New -> DWORD Value. Give the newly created DWORD (REG_DWORD) as LmCompatibilityLevel name double click on it to get this: Logon-Failure-While-Joining-2 after that  In the above shown Edit DWORD Value box,  put the Value data equals to  Click OK.  You can now close Registry Editor and reboot the machine.  After restarting your computer,  you’ll be easily able to join the shared system.

Word to PDF Convertor

 A Word document may be easily converted to a PDF file However, what happens if you need to convert a ton of Word files into PDFs? It will take a long time to open every file by hand and save it to PDF.  You may quickly and easily convert large amounts of Word to PDF with the help of this method. And without utilizing any outside tools either. Ms. Word is all you need. Copy the following code into Notepad or Notepad++, then save the file as "PDF.js" in a folder var obj = new ActiveXObject("Scripting.FileSystemObject"); var docPath = WScript.Arguments(0); docPath = obj.GetAbsolutePathName(docPath); var pdfPath = docPath.replace(/\.doc[^.]*$/, ".pdf"); var objWord = null; try {     objWord = new ActiveXObject("Word.Application");     objWord.Visible = false;     var objDoc = objWord.Documents.Open(docPath);     var format = 17;     objDoc.SaveAs(pdfPath, format);     objDoc.Close();     WScript.Echo("Saving '" + docPath + "'