Hide screen untill script is done?

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 14 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
cancelea
Posts: 7
Last visit: Tue Oct 20, 2009 4:25 am

Hide screen untill script is done?

Post by cancelea »

I have a logon script that sometimes takes a bit to finish due to copying new files etc. my problem is I need to hide the screen or better said, stop the user from opening anything untill the script is finished. Is there any code to accomplish this?

thanks in advance.
User avatar
cancelea
Posts: 7
Last visit: Tue Oct 20, 2009 4:25 am

Hide screen untill script is done?

Post by cancelea »

I have a logon script that sometimes takes a bit to finish due to copying new files etc. my problem is I need to hide the screen or better said, stop the user from opening anything untill the script is finished. Is there any code to accomplish this?

thanks in advance.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Hide screen untill script is done?

Post by jvierra »

Control of logon scripts is entirely under the control of Group Policy. See GP settings for hiding of logon scripts.

This is your only option without creating a compiled program that is assigned to execute under logon control.

User avatar
rasimmer
Posts: 182
Last visit: Fri Apr 25, 2014 7:00 am

Hide screen untill script is done?

Post by rasimmer »

Are your scripts running Sychronous or Asynchronous? There should be a GPO setting for this?
User avatar
Gyorgy Nemesmagasi
Posts: 50
Last visit: Wed Mar 16, 2022 12:58 pm

Hide screen untill script is done?

Post by Gyorgy Nemesmagasi »

Run logon scripts synchronouslyhttp://technet.microsoft.com/en-us/library/cc975925.aspx"If you enable this policy, Windows Explorer does not start until the logon scripts have finished running. "
User avatar
Gyorgy Nemesmagasi
Posts: 50
Last visit: Wed Mar 16, 2022 12:58 pm

Hide screen untill script is done?

Post by Gyorgy Nemesmagasi »

Hi Jim,

Yes, I know if the script hangs up, the logon process freeze.

There is an other GPO setting in the computer part it called
This topic is 14 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked