Changes

Changing the local administrator account password

950 bytes added, 13:37, 3 May 2012
Created page with "== Package Definition == Use this package to change the local administrator password for a client PC. <source lang="xml"> <!-- To set the password, edit setadminpassword.bat --..."
== Package Definition ==

Use this package to change the local administrator password for a client PC.

<source lang="xml">
<!-- To set the password, edit setadminpassword.bat -->
<package id="setadminpassword"
name="Set admin password"
revision="2012050302"
priority="999"
reboot="false"
execute="once">
<install cmd='%SOFTWARE%\setadminpassword\setadminpassword.bat' />
<upgrade cmd='%SOFTWARE%\setadminpassword\setadminpassword.bat' />
</package>
</source>

== Dos Batch File ==

Here is a sample batch file that sets the local administrator password. Upload this file to the software section of your windows share.

<pre>
REM Edit this file to change the administrator password
REM This file runs directly from the server and so does not get
REM downloaded to the local PC's hard disk.

%COMSPEC% /c net user administrator secretpassword
</pre>

[[Category:Silent Installers]]
8
edits