Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

How to allow a computer time to get a network connection before running a startup script without affecting the user too much??

$
0
0

I have a startup script that will need access to network paths to run so I need the computer (Windows 7 and 10) to have a network connection before it runs or it will fail.

I have fiddled around with setting 1 of these group policies at a time with various results as well as setting both of them like below. I have set  “Startup policy processing wait time” to 10 seconds, 60 seconds, 1 second, and still it says "Please Wait" (as shown in screenshot below) for varying amounts of time, mostly much longer than the time I have set. If I set it for 10 seconds it will take anywhere from 20-30 seconds before it actually displays the login screen. 

Keep in mind, I have not even placed my startup script in the GPO yet because I am strictly testing these 2 settings to make sure the user isn't sitting there seeing "Please Wait" for over 10-15 seconds each time they start their computer up.

At first when I tested this it seemed to work correctly and if the computer (wired or wireless connection) got a network connection before 10 seconds the "Please Wait" screen would go away and a login screen would be presented to the user as normal. Now it does not matter what I set the time to, where it is 10 seconds or 40 seconds it takes up to 52 seconds sometimes to present the login screen.

Anyone have experience with these settings? I am pretty upset that it is not working as advertised and have spent several days fiddling around with these trying to get it to work right. I want the computer to wait up to 10 seconds for a network connection and if it doesn't have one by then it should run the startup script and present the login screen. The startup script will fail since it didn't have a network connection when it ran and I'm okay with that as long as the user is not staring at a "Please Wait" screen forever.

If you need any further information please let me know and I will provide whatever I can, I need to get this working.

FYI, the goal is to run Jason Sandys' SCCM Startup Script so every time a computer starts up it will check to see if the SCCM client is on the computer and, if not, it will install it.


d

This is what the user sees while the computer waits for a network connection to run the startup script:


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>