Yes, you would want to add it right after the OS setup. I created a script awhile back, just need to find it; however, you can just put the line below in a batch file and call from the TS. (careful with copy and paste extra characters, just write it out)
I think the password would be blank unless you provide one on the TS. reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f On Thu, Oct 17, 2013 at 2:00 PM, Mark Mears <[email protected]> wrote: > Not so good with XML but I see in there where there is a CMD command > that I could add to the task sequence and run. I’m assuming that I would > want to run this immediately following laying down the OS correct?**** > > ** ** > > Thanks,**** > ------------------------------ > > * * > > *Mark Mears* > > [email protected] <[email protected]%0d>** > > Phone: (757) 945-2651**** > > ** ** > > [image: cid:[email protected]] <http://www.cireson.com/>**** > > ** ** > > [image: cid:[email protected]]<http://twitter.com/teamcireson> > Check out our System Center App Store: www.cireson.com/app-store**** > > ** ** > ------------------------------ > > ** ** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *CESAR.ABREG0 . > *Sent:* Thursday, October 17, 2013 3:58 PM > > *To:* [email protected] > *Subject:* Re: [MDT-OSD] Local Admin account disabled after OSD build**** > > ** ** > > Got it. This is another method.**** > > ** ** > > <component name="Microsoft-Windows-Deployment" > processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" > language="neutral" versionScope="nonSxS" xmlns:wcm=" > http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance">**** > > <RunSynchronous>**** > > <RunSynchronousCommand wcm:action="add">**** > > <Description>EnableAdmin</Description>**** > > <Order>1</Order>**** > > <Path>cmd /c net user Administrator /active:yes</Path> > **** > > </RunSynchronousCommand>**** > > <RunSynchronousCommand wcm:action="add">**** > > <Description>UnfilterAdministratorToken</Description>* > *** > > <Order>2</Order>**** > > <Path>cmd /c reg add > HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v > FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>**** > > </RunSynchronousCommand>**** > > </RunSynchronous>**** > > </component>**** > > ** ** > > ** ** > > On Thu, Oct 17, 2013 at 1:47 PM, Mark Mears <[email protected]> > wrote:**** > > No MDT, this is pure OSD.**** > > **** > > Thanks,**** > ------------------------------ > > * ***** > > *Mark Mears***** > > [email protected] <[email protected]%0d>**** > > Phone: (757) 945-2651**** > > **** > > [image: cid:[email protected]] <http://www.cireson.com/>**** > > **** > > [image: cid:[email protected]]<http://twitter.com/teamcireson> > Check out our System Center App Store: www.cireson.com/app-store**** > > **** > ------------------------------ > > **** > > **** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *CESAR.ABREG0 . > *Sent:* Thursday, October 17, 2013 3:46 PM**** > > > *To:* [email protected] > *Subject:* Re: [MDT-OSD] Local Admin account disabled after OSD build**** > > **** > > Sorry for the late response: This is what I usually do. If you have MDT > integrated, you can specify a password in CS.ini and that should take care > of it as well.**** > > **** > > http://technet.microsoft.com/en-us/library/dd744293(v=ws.10).aspx **** > > **** > > On Thu, Oct 17, 2013 at 12:27 PM, Mark Mears <[email protected]> > wrote:**** > > Plain vanilla everything! **** > > **** > > @Cesar: Can you provide more details on the unattend method? I may need > to go that route as well.**** > > **** > > Thanks in advance!**** > > **** > > Thanks,**** > ------------------------------ > > * ***** > > *Mark Mears***** > > [email protected] <[email protected]%0d>**** > > Phone: (757) 945-2651**** > > **** > > [image: cid:[email protected]] <http://www.cireson.com/>**** > > **** > > [image: cid:[email protected]]<http://twitter.com/teamcireson> > Check out our System Center App Store: www.cireson.com/app-store**** > > **** > ------------------------------ > > **** > > **** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Isaac Holmes > *Sent:* Thursday, October 17, 2013 12:30 PM > *To:* [email protected] > *Subject:* RE: [MDT-OSD] Local Admin account disabled after OSD build**** > > **** > > Have you modified your unattend.xml file? I had issues with that step > working when I had used a modified unattend.xml.**** > > **** > > Isaac Holmes**** > > University of Notre Dame**** > > **** > > **** > > *From:* [email protected] [ > mailto:[email protected] <[email protected]>] *On > Behalf Of *CESAR.ABREG0 . > *Sent:* Thursday, October 17, 2013 1:23 PM > *To:* [email protected] > *Subject:* Re: [MDT-OSD] Local Admin account disabled after OSD build**** > > **** > > That option in the TS never worked for me. I always had to add some > command to the unattend ir script step to enable the admin account. **** > > On Oct 17, 2013 8:03 AM, "Mark Mears" <[email protected]> wrote:**** > > I have built a task sequence to take the Install.wim file from the > Windows 7 medai and created a task sequence to build a reference image with > no apps, just a bare image for now. Since we do not have PXE enabled right > now we are building a task sequence media set to run the task sequence. > Everything runs looks fine but when we come back from the reboot and try to > log on, the local admin account has been disabled, even though we have > selected that it be enabled with a specific password.**** > > **** > > When the machine boots up into the OS, the administrator account is > disabled allowing nobody in. What am I doing wrong?**** > > **** > > Thanks,**** > ------------------------------ > > * ***** > > *Mark Mears***** > > [email protected] <[email protected]%0d>**** > > Phone: (757) 945-2651**** > > **** > > [image: cid:[email protected]] <http://www.cireson.com/>**** > > **** > > [image: cid:[email protected]]<http://twitter.com/teamcireson> > Check out our System Center App Store: www.cireson.com/app-store**** > > **** > ------------------------------ > > **** > > **** > > **** > > ** ** >
<<image001.png>>
<<image002.jpg>>
