Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to keep users from seeing and closing the logon script?

Status
Not open for further replies.
Feb 4, 2002
12
US
I have a NT 4 PDC and all clients are Win 2k. I have my logon script set up to run depending on the groups the user is in. It is pretty lengthy if it is the first time you have logged into the machine. I don't want the user to interact with the script that is running or be able to interact with the desktop. I have found the registry hack that will not allow the shell to load until after the script is done. But that does not work for me beacause my script calls other scripts and bats, and as soon as the first script is done it allows the shell to load. I don't really care if the user sees what is going on (nothing to hide, it just sets up everything for them that is profile specific) I just don't want them to be able to stop the script or be able to use the keyboard or mouse until the script is done. Please help.....
 
Set the bat file to run in full screen mode - then they can't close it, all they can do is ctrl c it.
 
cwhitesock,

run policy editor (poledit) and look for the "Run logon scripts synchronously" item under Windows NT System. this will avoid users from stopping the scripts.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top