3,217
edits
Changes
m
no edit summary
Various settings, like disabling guest account etc.
<package
id="preface"
name="Various settings"
revision="1"
priority="1"
execute="once">
<install cmd="\\radca\programy\wstepne\install.bat" />
<upgrade cmd="\\radca\programy\wstepne\install.bat" />
</package>
install.bat:
net user Guest /active:no
net user Support_388945a0 /active:no
net user Pomocnik /active:no
netsh firewall set service fileandprint enable
netsh firewall set service remoteadmin disable
netsh firewall set allowedprogram program =
c:\windows\system32\sessmgr.exe mode = disable
[[Category: Changing Windows settings]]
<package
id="preface"
name="Various settings"
revision="1"
priority="1"
execute="once">
<install cmd="\\radca\programy\wstepne\install.bat" />
<upgrade cmd="\\radca\programy\wstepne\install.bat" />
</package>
install.bat:
net user Guest /active:no
net user Support_388945a0 /active:no
net user Pomocnik /active:no
netsh firewall set service fileandprint enable
netsh firewall set service remoteadmin disable
netsh firewall set allowedprogram program =
c:\windows\system32\sessmgr.exe mode = disable
[[Category: Changing Windows settings]]