Computing.Net > Forums > Windows NT > Logon to Windows NT with a Batch File

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Logon to Windows NT with a Batch File

Reply to Message Icon

Name: Darryl
Date: October 10, 1999 at 12:55:51 Pacific
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: Nordin
Date: October 11, 1999 at 00:13:45 Pacific
Reply:

You should take a look at
www.scriptlogic.com


0

Response Number 2
Name: Nordin
Date: October 11, 1999 at 00:13:51 Pacific
Reply:

You should take a look at
www.scriptlogic.com


0

Response Number 3
Name: graeme
Date: October 11, 1999 at 05:48:21 Pacific
Reply:

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


0

Response Number 4
Name: ßÄMÄ
Date: October 11, 1999 at 08:19:33 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Logon to Windows NT with a Batch File

Rebooting Windows NT with a DOS batch file www.computing.net/answers/windows-nt/rebooting-windows-nt-with-a-dos-batch-file/10047.html

Assigning IP, DNS, etc with a batch www.computing.net/answers/windows-nt/assigning-ip-dns-etc-with-a-batch/20733.html

Schedule Task with a batch file www.computing.net/answers/windows-nt/schedule-task-with-a-batch-file/9603.html