List of useful command line / resource kit tools, call with DOS or DOSR
Top  Previous  Next


Tool
Type*
Description
associate.exe
RK
Register or unregister a file name extension
at.exe
D
Schedule commands and programs (See also: schtasks.exe) [Example]
auditpol.exe
RK
Modify audit policy
cacls.exe
D
Set directory / share permissions [Example] [Problems]
delsrv.exe
RK
Remove service from services control manager
delprof.exe
RK
Delete user profiles
dnscmd.exe
ST
Windows 2000 and 2003 - DNS Server: Create and delete zones and resource records [Example]
dsacls.exe
ST
Windows 2000 and 2003: Manipulate security attributes on active directory objects [Example]
eventcreate.exe
D
Windows XP Pro: Write to the application or system event log
ipsecpol.exe
RK
Windows 2000 and 2003: Configure Internet protocol security (IPSec) policies
kill.exe
ST
End one or more tasks or processes
moveuser.exe
RK
Windows 2000 and 2003: Change the security of a profile from one user to another
net.exe share
D
Create shares [Example]
net.exe send
D
Send winpopup messages
netdom.exe
ST
Windows 2000 and 2003: Create computer accounts [Example]
netset.exe
RK
Configure network parameters
netsvc.exe
RK
Start, stop, pause or continue services
ntrights.exe
RK
Grant or revoke any right for a user or group
macfile.exe
D
Manage Macintosh volumes, directories (create, set owner, primary group, permissions)
pathman.exe
RK
Add or remove components of both the system and user paths
permcopy.exe
RK
Copy share and file level permissions from one share to another
reg.exe
ST
Manage the registry
regback.exe
RK
Backup the registry
rmtshare.exe
RK
Set share permissions [Example]

Copy "rmtshare.exe" from the resource kit to "C:\WINNT\system32". (Download rmtshare.exe here.)
schtasks.exe
D
Windows XP Pro: Schedule commands and programs, replaces "at.exe", possible to specify user / pw (Unfortunately, this command does not work on Windows 2000)
subinacl.exe
RK
Set / replace / migrate security permissions and ownership on files, registry keys, and services.

Set owner example: "DOS subinacl /file %HomeRoot%\%AccountName% /setowner=%AccountName%"
svcacls.exe
RK
Set service permissions (delegate control of services)
xcacls.exe
RK
Like cacls.exe but with more options
xcopy.exe
D
Copy files and directory trees [Problems]


*) D = Default, RK = Resource Kit, ST = Support Tools - Run Windows 2000 server setup CD > support > tools > setup.exe (SUPTOOLS.MSI instead of setup.exe on server 2003)

Non-Microsoft tools

Tool
Description
blat.exe
Send e-mail, SMS and ICQ messages [Example]
gnupg.exe
Encrypt / decrypt data [Example]