General discussion

Locked

NT permission problem

By nick.riley ·
I am looking for a way of being able to run a batch file which requires administrative permissions during the boot process, however this needs to be done when a user (without admin permissions) logs on. Is there somewhere, possibly the registry thatcan run a batch file during the boot process but before permissions for the user are set.

Any ideas welcome

Cheers

Nick

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

NT permission problem

by McKayTech In reply to NT permission problem

Actually, from the command line, you can logon by using the NET USER command so my thought would be to run a login script that logs on with the admin account and runs the batch file before returning control to the logged-on user.

paul

Collapse -

NT permission problem

by nick.riley In reply to NT permission problem
Collapse -

NT permission problem

by bblunden In reply to NT permission problem

Put the .bat file in a shared folder and run it in the login script.

I hope this works for you.
Bill Blunden

Collapse -

NT permission problem

by nick.riley In reply to NT permission problem
Collapse -

NT permission problem

by f_coallier In reply to NT permission problem

Open the registry editor and under "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run" put the name of your batch file.

Collapse -

NT permission problem

by nick.riley In reply to NT permission problem

Thanks for the idea but I have tried this one and it runs with the permissions of the user and not with administrative permissions. I have found a utility which would do the job called autoexnt.exe ( an installable service ) which runs a batch file called autoexnt.bat before the ctrl+alt+del stage and hence as admin. Unfortunately I can't use this either as there is another job which runs on all the workstations which requires the service not to exist. Is there another utility somewhere which achieves a similar thing.

Back to Windows Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums