Windows Commands Knowledge Base

NET TIME Could Not Locate a Time Server

If you are using the command prompt to set the time and type in the net time command you may receive the following message: Could not locate a time-server.  More help is available by typing NET HELPMSG 3912. If you are using a later version of windows such as 8.1 it is more than likely […]

SFC /SCANNOW and Extracting Results from CBS Log – Windows 8

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

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

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

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

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

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

Sometimes as an 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 click on […]

For more information about our Managed IT Support for your Sydney based business connect with us today!
Find Out More