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.



Windows Server  >  Group Policy



Comments

Popular posts from this blog

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Group policy default policy cannot be edited because network name not found

Problem when changing update source