Windows Commands

SFC /SCANNOW and Extracting Results from CBS Log – Windows 8
4 (29)

Here we’ll show you how to use the system file checker –  sfc /scannow to repair corruption within Windows 7, Windows 8 and higher. Step 1. Open an Administrator Command Prompt Step 2. Type in sfc /scannow Type sfc /scannow If any errors are found, run the command 2 more times as sometimes this is […]

How to Enable the Administrator Account in Windows using the Command Prompt
3.8 (12)

Here’s another command which is quite useful when managing a remote workstation and they’ve forgot their password – obviously for when they’re not part of a domain. Enable Windows Local Administrator Account net user administrator /active:yes Set a Password for the Windows Local Administrator Account net user administrator “yourpasswordgoeshere” Disable Windows Local Administrator Account net […]

How to turn UAC On and Off from the Command Prompt
5 (2)

Sometimes when you are remotely managing a workstation it can be easier to perform tasks in the background using the command prompt.  Here’s how to turn UAC On and Off. How to Turn UAC On from the Command Prompt REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0x5 /f How to Turn UAC Off from […]

How to Download a file using FTP in one line using the Windows Command Prompt
4.6 (16)

One Liners – Windows FTP Command Prompt There comes a time as an IT Support Professional/MSP when sometimes you need to ftp from the command prompt and combine the username, password and file to download in one line without having to use a separate text file.  This is particularly true when performing remote administration tasks […]

How to Enable Windows Updates from the Command Line
3.9 (20)

Here are some simple one liners that will enable you to change the Windows Update Status from the Command Line.  This works for Windows XP right through to Windows 8.  For Windows 7 and higher you will need to run it from an elevated command prompt or from your RMM.   Enable Automatic Windows Updates […]

How to change file associations from the command prompt
4.4 (14)

Sometimes a client will ask you to change the default windows program for them.  It’s easy enough to do from Windows itself but what if you want to change it without disturbing them?  This is where we can use a remote command line to change the file associations to do this in the background without disturbing […]

How to Kill a Windows Service which is stuck at stopping
4.9 (499)

Sometimes as an IT Support administrator you may need to kill a service which is stuck at stopping in order to avoid having to reboot a server in the middle of the day. Here’s what you need to do: Step 1. Find out the Service Name To do this, go in to services and double […]