NT Admin Tip #354: User Manager commandline

Hits: Failed to execute CGI : Win32 Error Code = 3


If you need to do account management on multiple domains, member servers, or workstations, you can use User Manager for Domains. It has a nice GUI and that works. You can use the GUI and put in a domain name if you want to manage a domain, put in a member server name to manage a member server, or a workstation name if you want to manage a workstation. If you have a only a few servers or workstations to manage, you can put shortcuts on the desktop. In the shortcut to manage \\serverA, the shortcut path would be usrmgr \\serverA. That is OK as such but I prefer a commandline approach. I would create a batch file name serverA.bat with the following contents:

c:\winnt\system32\usrmgr.exe \\serverA

I will have a batch file for each server, workstation or domain I want to manage. For workstations and member servers, use the \\Servername syntax. For domains, just use the domain name. For example to manage domain DomainA, the domainA.bat file would be:

c:\winnt\system32\usrmgr.exe domainA

Then when I want to user User Manager for any of them, I open a command shell and type the name of the server, workstation. or domain and User Manager for Domains opens for that server, workstation or domain.




Table of Contents



Watch the Amazon reviews. I suspect it will get bipolar ratings with lovers & haters. It has action items, checklists, ... After all its titled handbook not secrets.



Table of Contents