Windows – Getting Windows 7 to run Scripts from Other Shares then NETLOGON

group-policylogon-scriptsnetwork-shareSecuritywindows

I have several Windows Server 2003 Environments I administer. These are separate disparate domains with their own structures and policies. I generalize as much as possible when I administer these environments, so I have a suite of general scripts I dump into a network share on each server that is in the same location, regardless of domain.

I use Group Policy to assign that script to each workstation, but since it is the same set of directories regardless of server I can just dump a file across the board to get the same changes across multiple domains.

Under Windows XP, this works fine, scripts run with no problems from directories other then the NETLOGON share.

Now we are migrating to Windows 7, and I find that scripts no longer execute from any other share than the NETLOGON share.

Is there something I am missing, or is there a setting I can configure in Group Policy that will allow these Windows 7 workstations to execute their scripts outside the NETLOGON Share?

I am not able to update our servers to Server 2008 at this time, this is strictly a Windows 7 upgrade for the workstations.

Best Answer

If you are using a startup script, you need to give the Domain Computers group permission in the share and NTFS permissions. Startup scripts run in the context of the SYSTEM account. Your tests that you've run manually will run in the context of whatever the logged on user is.

You can test this manually by running psexec -s cmd which will launch an interactive command prompt as the SYSTEM user.

Related Topic