Subversion Repositories se3

Compare Revisions

Ignore whitespace Rev 6608 → Rev 6609

/branches/2.1/se3-logonpy/home/netlogon/EnableGPO.bat
1,3 → 1,4
netsh firewall reset
netsh firewall set portopening protocol=UDP port=137 name=se3_137 mode=ENABLE scope=CUSTOM addresses=%se3ip%/255.255.255.255
netsh firewall set portopening protocol=TCP port=139 name=se3_139 mode=ENABLE scope=CUSTOM addresses=%se3ip%/255.255.255.255
netsh firewall set portopening protocol=UDP port=138 name=se3_138 mode=ENABLE scope=CUSTOM addresses=%se3ip%/255.255.255.255
43,7 → 44,7
:: inutile, on les DL au logon
:: copy %SYSTEMROOT%\System32\GroupPolicy\gpt.ini \\%se3ip%\netlogon\machine\%machine%\gpt.ini
 
cacls %SYSTEMROOT%\System32\GroupPolicy\User\registry.pol /E /G %domain%\%user%:RDX
cacls %SYSTEMROOT%\System32\GroupPolicy\User\registry.pol /E /G %domain%\%user%:R
cacls %SYSTEMROOT%\System32\GroupPolicy\gpt.ini /E /G %domain%\%user%:R
gpupdate /force
echo cpau ok>%SYSTEMROOT%\System32\GroupPolicy\Se3.log