Basic commands
17 July 2009
Some of the Basic commands, windows admin's should know
Basic commands
View Last Reboot Time
net statistics server | more
Run a program as another user
runas /user:domain\username appname
ex: runas /user:jeffk cmd.exe
Remote Desktop into Console of specific computer
Mstsc /v:computername /console
Ex: mstsc /v:deserver /console
Map a network Drive
Net use drivename: \\server\share
Net use z: \\daserver\music
Force network credentials
Net use \\server\sharename /user:domain\user
Ex: net user \\daserver\music /user:jeffk
Tip: Before using this you may want to issue net use * /d to delete previously stored credentials, or you can view your credentials by just typing net use
Environmental Variables
use these at start>run to quickly goto or anywhere in explorer
Tip: Type set to see your variables
%windir%
%systemdrive%
%appdata%
%userprofile%
%programfiles%
%allusersprofile%
Related Articles
ldap path
Force active directory replication
Force sysvol replication
application directory partition
application directory partition

1 comments:
Hola, te dejo la direccion de la nueva pagina lego!
Hello, I give you the link to the new lego page
http://legosargentina.blogspot.com/
Visitanos y vota!
Visit us and vote
Saludos y muchas gracias, Polzic.
Goodby and thanx, Polzic.
Post a Comment