Changes

Jump to: navigation, search

Various settings

296 bytes removed, 11:28, 26 May 2009
Removed Support_388945a0 & Pomocnik as they're specific to an individual; moved firewall settings to firewall page
<package id="disableaccount" name="Disable account" revision="1" priority="999" reboot="false" execute="once">
<install cmd='cmd /c net user Guest /active:no' />
<install cmd='cmd /c net user Support_388945a0 /active:no' />
<install cmd='cmd /c net user Pomocnik /active:no' />
</package>
</package>
<package id="setadminpasswordsetadministratorpassword" name="Set admin administrator password" revision="1" priority="999" reboot="false" execute="once">
<install cmd='cmd /c net user administrator password' />
</package>
orAlternatively WPKG can call these from a batch file:
<package
priority="1"
execute="once">
<install cmd="\\radcaserver\programy\wstepnewpkg_programs\install.bat" /> <upgrade cmd="\\radca\programyserver\wstepnewpkg_programs\install.bat" />
</package>
Where the contents of install.batcould be:
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]]
577
edits

Navigation menu