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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide logon script???

Status
Not open for further replies.

Teamaker

Technical User
Oct 15, 2002
383
GB
Can anyone suggest a way to hide a logon script when it runs? our users keep cancelling them.

Thanks.
 
Create a batch file that calls the actual logon script. Using Notepad, create a file that has the following entry:
START /MIN LOGON.BAT

The last entry in the real logon script file must be EXIT so the file will close properly.

This works great and solves the problem of users seeing the commands being processed in the actual logon script.

 
Give written warnings to the users , im sure they will stop then, or remove there Internet access hehe
 
I would send a written warning to them if they were real people but they are students and don't seem to understand my requests.

The IE might have to go as punishment.
 
An alternative is to hide it. This can be done by creating DWORD value HKEY_USERS\\Console\WindowSize and set to 050005 in Hex and HKEY_USERS\\Console\WindowPosition set it to 04FF06FF in Hex. This makes the Window very small and positions it off the screen.

don't know if this works.
 
the reg-key-trick works for NT, that I know,
however, I never tried it on 2K.

but anyway,
I think there is a policy that you can set up to make the logon script run invisible from users. If you are setting user policies, should be in that section, probably under the same menu with the logon script options.

I'll check on that when I get home,
working right now ;)



Breakerfall
®º°¨¨°º can you ping me now...GOOD! º°¨¨°º®
 
FOUND IT ;)

[GPO]
|_Computer Configuration
|_Admin Templates
|_System
|_Logon
•Run startup scripts visible
•Run shutdown scripts visible

or


[GPO]
|_User Configuration
|_Admin Templates
|_System
|_Logon/Logof
•Run logon scripts visible
•Run Logoff scripts visible



it will depend on were you are setting up the policiy






Breakerfall
®º°¨¨°º can you ping me now...GOOD! º°¨¨°º®
 
Breakerfall, Teamaker -

You'll want to use the GPO setting here: (from Breakerfall's post)

[GPO]
|_User Configuration
|_Admin Templates
|_System
|_Logon/Logof
•Run logon scripts visible
•Run Logoff scripts visible

Reason? The user won't see the script that is run under the Computer node (that's during computer startup and the user is not in control), but the user can see the scripts run under the User node - unless you make them invisible. :)



Rick Kingslan MCSE, MCSA, MCT
Microsoft MVP - Active Directory
Associate Expert
Expert Zone -
 
1º MSMVP, if you set the policy to "disabled" instead of
"Not Configured" (which is the default) the script runs hide from users, regardless of which node the policy
is applied to. sometimes is good to read the "explain" tab.

2º - also, if the gpo is set on the machine, every user
logging on that machine will get the gpo applied,
but maybe that's not what teamaker wants..

3º - I guess you meant to "paste" the machine node, right? =0P

cya


Breakerfall
®º°¨¨°º can you ping me now...GOOD! º°¨¨°º®
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top