Skip to main content

Commands to know - Windows OS




Path to a user’s c drive:
At the run box, type \\computername\c$

Connect to a server:
At the run box, type  \\servername\sharename

Connect to a print server:
At the run box, type  \\nameofprintserver\printshare

Attach to any network location as a specified user:
At the command prompt, type net use \\servername\sharename\user:domain\yourusername 

Force a PC to check-in with the Windows Update Service:
At the command prompt, type wuauclt /detectnow

View active directory groups and permissions/last login, etc.
From the user's desktop at the command line: net user /domain enterusername.  For example, net user /domain /smith

Force group policies
From the user's desktop at the command line: gpupdate /force

View and change what programs services run on startup
From the search box in Windows 7, enter, msconfig.  Uncheck Snagit, etc from running on startup.

View helpful hardware information about a computer:
From the search box in Windows 7, enter msinfo

Map a network drive:
C:\  Net use X: \\server\share

To see what drives are already mapped
C:\net use – see what drives are mapped

To see what accounts exist on a system:
C:\net user