Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have had to alter one of our login script to check to see if windows is 64 or 32 bit, then shell out to another command based on this.

Does shelling out from the login script affect the run scripts synchronously policy option, i still dont want the user to get to their desktop until the commands have finished running

Cheers Luke

share|improve this question
up vote 0 down vote accepted

If your login script is a cmd script and that also what you're using to shell then things should run synchronously, as long as nothing in the script is manually spawning a background process. That should be the case for most scripting tools, actually. The login script will wait until the shelled commands return. Do note, though, that you'll have to handle any errors that might get raised by the shelled out commands before your users get their desktops.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.