Difference between revisions of "Various settings"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(No difference)

Revision as of 21:57, 25 February 2006

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