Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I would like to know the commands that will let me log on to Windows NT throught a batch files and run some commands to modify the registry with admin. rights to the workstation. How can I add a group to the local admin. group from a regular users account.

Add a group to the local admin account from a regular users account.
You simply can't !!!
Unless you make your regular users admins, and I am sure that's not exactly what you had in mind

Darryl,
If you are using service pack 4, you can make the admin changes you are requesting, however I'm not going to say how. It is a very famous SP4 "feature" and is documented all over the web. However, I would not recommend using SP4 for this, as it was full of other undesirable "features".
As for logging in via batch, this is the command:
net use [drive letter]: \\[ws name]\[shared drive letter] eg. net use y: \\workstation\c$
Please note this only maps you to a ws, and you must have an account on the remote ws for this to work.
There are some other commands you need to use if you wish to actually "login" to an NT server, and if you need them, just ask.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |