Deployment Solution

 View Only
  • 1.  Enable local admin account

    Posted Jan 30, 2015 09:21 AM

    Does anyone know of a way to enable the local admin account after bringing down an image through a system configuration or script?



  • 2.  RE: Enable local admin account

    Posted Jan 30, 2015 09:38 AM

    Have you tried this one?

    net user administrator /active:yes

    That should do the trick...

    -BBC



  • 3.  RE: Enable local admin account

    Posted Jan 30, 2015 09:43 AM

     

    I would follow up that this does work but the password will be blank. If you plan on leaving it enabled, be sure to also run:

    net user administrator new_password

    where new_password is the password you want to set. For security purposes it should also be noted that the password and the command are sent in clear text in case that is a concern.



  • 4.  RE: Enable local admin account

    Posted Jan 30, 2015 05:31 PM
    I just add another local account in the unattend.xml, see here: https://www-secure.symantec.com/connect/forums/unattendxml-custom-named-administrator-account


  • 5.  RE: Enable local admin account

    Posted Feb 27, 2015 10:56 AM

     After capturing your image, you could as above like this:

    1. Create a directory named:

      %WINDIR%\Setup\Scripts\
       
    2. In this directory, create a file named SetupComplete.cmd in a text editor, and enter this line in the file:

      net user administrator /active:yes
       
    3. Save and close the file.

      *Ensure that the file does not have any hidden extensions (for example, SetupComplete.cmd.txt).

     



  • 6.  RE: Enable local admin account

    Posted Feb 28, 2015 05:43 AM
    Don't forget that the Altiris DAgent, used with Deployment Server 6.9, will delete the setupcomplete.cmd file when it starts.