Hi I have a windows 10 client in a 2003 AD domain. I have configured a gpo to run a script at startup. gpresult and rsop see the gpo and script location. It is a computer gpo.

The script make the following:

1) echo %hostname% >> \\myshare\share\mygpo.txt

2) change the netmask configuration.

The script works well if I run it manually as local admin. But the gpo was not been applied then the script does not run at boot. I say it does not start because I don't find any \myshare\share\mygpo.txt file. Any hints ?

  • What are the share and folder permissions? – Greg Askew May 3 '17 at 14:07
  • it's outside AD and it's share with anonymous permission. I mean WORKGROUP and so on.. – user17545 May 3 '17 at 14:08
  • Your comment contradicts your question. Is the affected machine a member of the domain or not? – joeqwerty May 3 '17 at 14:17
  • maybe my english is very poor. The "myshare" server is outside Active Directory. But the startup script is on \\my-dc\netlogon\blahblah then there is not any contraddiction because as I know the member domain can connect samba share outside the domain. – user17545 May 3 '17 at 14:18
  • My initial guess is that the GPO is being run before the network is fully configured and online. If you have a switch with STP but no portfast (or RSTP) then the network typically doesn't come online until after the machine has finished booting. A potential pitfall of machines booting so fast these days. – Mark Henderson May 3 '17 at 14:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.