Monthly Archives: October 2021

Windows Enable the hidden Administrator account Command Prompt

  1. When Command Prompt starts, run net user administrator /active: yes command. By doing so you’ll unlock the administrator account.
  2. Now log off of your account and switch to the newly enabled Administrator account. From there you should be able to access your files without any problems.
  3. After you’re done using the Administrator account, go back to your main account and start Command Prompt as administrator again. Now enter net user administrator /active: no to disable the Administrator account.

Continue reading

Windows Copy directory from command line

Windows has two command line utilities to copy files/directories from command line. Copy command can be used to copy files from one folder to another folder. It can’t be used to copy a complete folder to another location on the disk. Xcopy allows us to do this. Let’s see how we can copy a directory along with all the files and sub directories to another location.

Xcopy /E /I SourceFolder DestinationFolder

Continue reading