Windows 7 GPO Script - Enable file and printer sharing
hello,
i'm trying activate advanced file , network sharing bia script (as there no gpo option this)
the script simple :
netsh advfirewall firewall set rule group="file , printer sharing" new enable=yes
netsh advfirewall firewall set rule group="network discovery" new enable=yes
netsh advfirewall set currentprofile state on
in .bat , .ps1 works fine when logged in computer admin rights. want run script on computer level via gpo. gpo applies properly, settings aren't changed. ideas on getting work?
environment following :
dc winserv 2008 r2, test machines : win 7 pro x64
test ou inheritance disabled, gpo testing enforced no other parameters apart computer startup script. user , computer account in test ou.
gpresult shows gpo applied, no data available under computer or user configuration. script stored in correct sysvol location.
hi,
checkout below thread on similar discussion,
http://social.technet.microsoft.com/forums/en-us/b193e8a9-9b2a-4993-bd74-836c65c51dc3/gpo-with-a-startup-script-is-not-working
regards,
gopi
Windows Server > Group Policy
Comments
Post a Comment