Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.