Category: Windows

  • Reset local admin password on multiple workstations

    1. Download pspasswd.exe (More info)2. Create computers.txt file and place it in the same folder as pspasswd.exe3. In computers.txt list all computers you want to reset the admin password. Each in a new line.4. In the command prompt run pspasswd.exe @computers.txt administrator NewAdminPassword Make sure you have domain admin rights.All files including a simple .bat…

  • Useful Command Line Commands and Tools

    Active Directory management. repadmin /showreps servername – Domain Controller replication status.repadmin /replsum – replication status of all the domain controllers in the forest. dsquery user -stalepwd <NumDaysSinceLastPwdChange> – Users Whose Passwords Are About to Expiredsquery user -inactive <NumWeeks> – Users Who Have Not Logged On Recentlydsquery computer domainroot -inactive <NumWeeks> – inactive computers in the…

  • MS Word Autorecovery

    MS Word by default temporary autorecovery files saves in C:\Documents and Settings\user.name\Application Data\Microsoft\WordExtension: .asdFilename: AutoRecovery save of FILENAME.asd Location can be changed in Word > Tools > Options > File LocationsIf location is not set files are saved in default windows TMP directory C:\Windows\TempMS Word 2003  

  • Useful Command Line Commands

    Processes tasklist –  list of active processestasklist /SVC – list of active processes with services in each processtasklist /m kernel* – list of active processes with dlls starting ‘kernel’ in each process tasklist /s WSN-130 /u domain\administrator /p password – list of processes on the remote machine.tasklist /s WSN-130 /u domain\administrator /p password /SVC –…

  • Installing Windows XP after Windows 7

    1. Backup all important data on Windows 7.2. Install Windows XP into a separate partition.3. Boot into Windows XP. (You won’t be able to boot into Windows 7 at this point).4. Download and install EasyBCD. EasyBCD requires Microsoft .NET Framework Version 2.0.5. Run EasyBCD:Add/Remove entries > Add Windows XPChange Settings > Select the correct drive…

  • Open CPC files

    CPC (Cartesian Perceptual Compression) algorithm is designed for compressing 1-bit raster images, such as black-and-white photographs and line art; often used for compressing monochrome design layouts, legal documents, and other types of scanned text files. To View files in IE install the ActiveX plugin from http://www.cartesianinc.com/Products/CPCViewAX/ To convert CPC files into JPG use the command…

  • Restore “New Text Document” context menu entry

    If the “New Text Document” context menu entry gets corrupted or missing restore it by running the following .reg fileContent of the file: Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\.txt]“Content Type”=”text/plain”@=”txtfile”“PerceivedType”=”text”[HKEY_CLASSES_ROOT\.txt\OpenWithList][HKEY_CLASSES_ROOT\.txt\PersistentHandler]@=”{5e941d80-bf96-11cd-b579-08002b30bfeb}”[HKEY_CLASSES_ROOT\.txt\shell][HKEY_CLASSES_ROOT\.txt\shell\open][HKEY_CLASSES_ROOT\.txt\shell\open\command]@=”notepad.exe %1″[HKEY_CLASSES_ROOT\.txt\ShellNew]“NullFile”=””  

  • Offline files – Restore offline files

    Offline Files is a useful Windows feature which allows to make network files available offline.On a local system offline files by default are stored in a hidden folder: C:\WINDOWS\CSC They are stored in a proprietary compressed format and can’t be accessed directly. If for whatever reason you need to extract offline files from CSC folder…

  • Offline files – force offline mode

    1. Download and extract CSCCMD.EXE 1.1 file.2. Create “Work Offline.bat” file with command csccmd.exe /DISCONNECT:\\servername\servershare3. Place “csccmd.exe” and “Work Offline.bat” in the same folder on user’s PC4. Create a shortcut to “Work Offline.bat” on the user’s desktop Useful if a user often works remotely over VPN and experiences slow access to a remote share e.g.…

  • Clear cached credentials

    Local cached credentials Start > Run > control userpasswords2 > Advanced > Manage Passwords Or, alternatively: Start > Run > rundll32.exe keymgr.dll, KRShowKeyMgr Domain credentials Start > Run > RegeditHKEY_LOCAL_MACHINE > SECURITY > CACHEBy default only SYSTEM account has full access to this directory.Add administrator to SECURITY key permissionsORStart Regedit as SYSTEM accountSet values NL$1…

  • Deploy Java using Group Policy

    Java 6.XXJava 7.XXJava 8.XX

  • Deploy Google Earth using Group Policy

    Option 1 (with 7-ZIP) Option 2 (Without 7-ZIP) If in Step 1 for any reason you can’t download advanced setup file (which is full Google Earth .exe):Download standard “Google Updater”.When “Google Updater” runs it downloads Google Earth .exe file to “C:\Program Files\Google\Update\Download”. Be aware that Google Updater may start installation automatically without any warnings. Google…