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 a windows 7 system that is part of a domain. When it is unable to access the domain controller, will it still run logon scripts? Right now, we have a local script that is launched from the run section of the registry that checks for connectivity. If it can't talk to the server, it modifies some settings that prevent major bugs while using the machine.

This is probably the worst way to do this, but it's what a previous tech setup. What are some best practices for setting up logon scripts with GPO's and active directory? Whatever I set still needs to be able to run when the system is off the network.

Thanks

share|improve this question
    
Try it and see! –  Harry Johnston Jun 8 '12 at 23:52

2 Answers 2

Logon scripts are generally located on the DC, so if you loose connectivity to DC you loose the logon scripts.

share|improve this answer
    
Do you know of any mechanisms to cache the scripts on the local machine? –  Doltknuckle Jun 8 '12 at 17:02
    
@Doltknuckle I don't think you can, since they are being pushed down from the server. –  George Jun 8 '12 at 17:03
    
Logon scripts don't have to be on the DC, they can be on another server or on the local disk. Just specify the full path. However, I don't know whether or not they will run if no DC can be contacted. –  Harry Johnston Jun 8 '12 at 23:53

I think it depends on how you have deployed the logon script. if you have the user account in AD defined to run script, it shouldn't run if the machine is off the network. if however, the script is specified in group policy, it may very well run.

you could mark the syvol directory as "always available off-line" if that's where you have your scripts stored.

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.