0% found this document useful (0 votes)
1 views

windows admin commands

The document provides a list of command-line instructions for managing user accounts and system maintenance in Windows. Key commands include adding users, changing user permissions, scanning for system file corruption, and restarting the computer. It also covers disk checks, process management, and file ownership adjustments.

Uploaded by

BENDER FLS
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

windows admin commands

The document provides a list of command-line instructions for managing user accounts and system maintenance in Windows. Key commands include adding users, changing user permissions, scanning for system file corruption, and restarting the computer. It also covers disk checks, process management, and file ownership adjustments.

Uploaded by

BENDER FLS
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

________________________________________________|

________________________________________________
net user | View all user accounts
________________________________________________|
________________________________________________
net user username /add | Add a new user
________________________________________________|
________________________________________________
net localgroup administrators username /add | Make a user an admin
________________________________________________|
________________________________________________
sfc /scannow | Scan and fix corrupted system
files
________________________________________________|
________________________________________________
chkdsk /f | Check and repair disk issues
________________________________________________|
________________________________________________
shutdown /r /t 0 | Restart the computer immediately
________________________________________________|
________________________________________________
gpupdate /force | Force Group Policy update
________________________________________________|
________________________________________________
taskkill /f /im processname.exe | Force kill a process
________________________________________________|
________________________________________________
takeown /f filepath | Take ownership of a file
________________________________________________|
________________________________________________
icacls filepath /grant username:F | Give full access to a user
________________________________________________|
________________________________________________

You might also like