+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
O/S Deployment Thread, HELP!!! Sysprep is driving me mad in Technical; I have set up MDT and have a reference machine ready. I am trying to follow MS instructions on setting ...
  1. #1

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,169
    Thank Post
    430
    Thanked 314 Times in 265 Posts
    Rep Power
    153

    HELP!!! Sysprep is driving me mad

    I have set up MDT and have a reference machine ready.

    I am trying to follow MS instructions on setting up a Default User Profile. The instructions say to remove all accounts except the built in administrator. Login as administrator (we have set an administrator password) and set your profile up as you want it. Log off and then open a session to the MDT server run the litetouch.vbs from within windows. MDT Captures the image and the result i get is it finished with 0 errors and the machine can be rebooted. Once the reference machine reboots and I try to login the administrator account has been disabled and I have no way of logging into my reference machine!!!

    I havent tried deploying the image yet to see if the admin account gets re-enabled by MDT on the deployed machine.

    How are you supposed to login to the reference machine again if you need to make changes?

    where have I gone wrong?

  2. #2
    Valyyn's Avatar
    Join Date
    Jun 2011
    Location
    Portsmouth
    Posts
    203
    Thank Post
    22
    Thanked 62 Times in 44 Posts
    Rep Power
    54
    Ah yeah, I found that quite annoying - Sysprep does disable the local Admin account unless you enable it in your sysprep answer file.

    From what I remember, you have to add it in two places:

    In the oobeSystem pass you set the password and tell it to auto-logon:
    Code:
     <component name="Microsoft-Windows-Shell-Setup" 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">
          <AutoLogon>
             <Password>
                <Value>SecurePasswd123</Value> 
                <PlainText>true</PlainText> 
             </Password>
             <Username>Administrator</Username> 
             <Enabled>true</Enabled> 
             <LogonCount>5</LogonCount> 
          </AutoLogon>
          <UserAccounts>
             <AdministratorPassword>
                <Value> SecurePasswd123</Value> 
                <PlainText>true</PlainText> 
             </AdministratorPassword>
          </UserAccounts>
       </component>
    and then in the specialize pass you have to set it back to active:
    Code:
            <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">
                        <Order>1</Order>
                        <Path>net user administrator /active:yes</Path>
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>

  3. Thanks to Valyyn from:

    fiza (18th July 2013)

  4. #3

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,169
    Thank Post
    430
    Thanked 314 Times in 265 Posts
    Rep Power
    153
    @Valyyn - Im new to MDT and havent used sysprep since XP. Is the answer file you mention the same as the unattend.xml that is found when you go into the task sequence and click on osinfo?

  5. #4
    Valyyn's Avatar
    Join Date
    Jun 2011
    Location
    Portsmouth
    Posts
    203
    Thank Post
    22
    Thanked 62 Times in 44 Posts
    Rep Power
    54
    I'm the other way and I've not really used MDT! It is the unattend.xml though, yes

    It's the one you call with Sysprep
    (e.g. C:\Windows\System32\sysprep\sysprep.exe /oobe /generalize /shutdown /unattend:unattend.xml)

  6. Thanks to Valyyn from:

    fiza (18th July 2013)

  7. #5
    free780's Avatar
    Join Date
    Sep 2012
    Posts
    1,013
    Thank Post
    42
    Thanked 84 Times in 80 Posts
    Rep Power
    22
    As long as you set the admin password in the ts. It should add it to the answer file. I prefer seperate ts for capture and deploy.

  8. Thanks to free780 from:

    fiza (18th July 2013)

  9. #6

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,169
    Thank Post
    430
    Thanked 314 Times in 265 Posts
    Rep Power
    153
    Quote Originally Posted by free780 View Post
    As long as you set the admin password in the ts. It should add it to the answer file. I prefer seperate ts for capture and deploy.
    I do have a separate task sequence for capture & separate one for deploy
    Where do you set it for the capture ts?
    Last edited by fiza; 18th July 2013 at 09:42 AM.

  10. #7

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,169
    Thank Post
    430
    Thanked 314 Times in 265 Posts
    Rep Power
    153
    just checked my answer file.
    For my Capture task I have ;
    amd-64_Microsoft-Windows-Deployment_Neutral
    RunSynchronous
    RunSynchronousCommoand[Order="1"]

    Under this setting I have "Path cmd /c net user Administrator /active:yes"

    Under the Ooobe Autologon
    Enabled true
    Logoncount 999
    Username Administrator

    Under password I have set my own password
    Under UserAccounts I have matched the AdministratorPassword to be the same


    So in theory this should capture my image and then when I reboot my reference machine the answer file should enable the admin account? But it didnt!
    Last edited by fiza; 18th July 2013 at 10:01 AM.

  11. #8
    Vasriel's Avatar
    Join Date
    Oct 2012
    Location
    Scotland
    Posts
    108
    Thank Post
    14
    Thanked 18 Times in 15 Posts
    Rep Power
    7
    I found this webpage useful when setting up a sysprep unattend.xml file

    Sysprep a Windows 7 Machine

  12. Thanks to Vasriel from:

    fiza (18th July 2013)

  13. #9

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,169
    Thank Post
    430
    Thanked 314 Times in 265 Posts
    Rep Power
    153
    @Vasriel

    According to that article I should have

    UserAccounts
    1. Password: Administrator Password

    Action: AddListItem
    Description: Local Administrator
    DisplayName: Administrator
    Group: Administrators
    Name: Administrator

    LocalAccount[Name="Administrator"]

    AdministratorPassword: Administrator Password
    LocalAccounts


    Which I didnt but have now added. Will see how it goes and let you know.

  14. #10

    Join Date
    Sep 2010
    Posts
    566
    Thank Post
    26
    Thanked 63 Times in 59 Posts
    Rep Power
    20
    i had issue with this so didnt set the password for the local admin and do that manually at the moment as i had an attack of "omg the password is in plain text in the answer file"

  15. #11
    steewy's Avatar
    Join Date
    Jan 2013
    Location
    Guildford
    Posts
    47
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    You do not need to edit your sysprep or the unattended file.

    So i had exactly the same error a while ago.
    Did you use an original windows seven DVD to install your reference machine ?
    Did you at some point modify the original windows 7 with RT Lite Touch or something similar ?

    My reference machine was fine and I could run the sysprep and capture with no error but I was block on the admin logon as soon as the computer was restarting.

    My W7 was a W7 that I modified myself using RT7 lite touch.

    To solve the problem I had to star all over with W7 pro original, and install all the updates manually.
    I also had to make sure that the administrator password was the same on my local machine and also my task sequence (even if the sysprep gets ride of it).

    Hope that helps
    Last edited by steewy; 18th July 2013 at 01:16 PM.

  16. #12

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,169
    Thank Post
    430
    Thanked 314 Times in 265 Posts
    Rep Power
    153
    Quote Originally Posted by steewy View Post
    You do not need to edit your sysprep or the unattended file.

    So i had exactly the same error a while ago.
    Did you use an original windows seven DVD to install your reference machine ?
    Did you at some point modify the original windows 7 with RT Lite Touch or something similar ?

    My reference machine was fine and I could run the sysprep and capture with no error but I was block on the admin logon as soon as the computer was restarting.

    My W7 was a W7 that I modified myself using RT7 lite touch.

    To solve the problem I had to star all over with W7 pro original, and install all the updates manually.
    I also had to make sure that the administrator password was the same on my local machine and also my task sequence (even if the sysprep gets ride of it).

    Hope that helps
    I started from scratch with W7 volume Licence (EES) version. I didnt use RT Lite. The password is the same in the ts and the reference machine.

  17. #13
    steewy's Avatar
    Join Date
    Jan 2013
    Location
    Guildford
    Posts
    47
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by fiza View Post
    I started from scratch with W7 volume Licence (EES) version. I didnt use RT Lite. The password is the same in the ts and the reference machine.
    I never activated my refrerence machine. I leave the activation blank.
    You might need to try an other ISO. It's a pain but it fixed the problem for me.
    To do so I had a virtual machine with snapshots. Just install the machine with admin account same password as the TS and Deployment task.
    Capture the image without any software or updates.
    Also to know if your windows is "OK" you can run the sysprep manually without using MDT.
    If it fails you know that your issues comes from your windows and not your server.
    Take a snapshot of your virtual machine and run C:\Windows\System32\sysprep.
    Does it work without getting any errors ?

  18. #14
    steewy's Avatar
    Join Date
    Jan 2013
    Location
    Guildford
    Posts
    47
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    One extra thing not sure it helps but every time I capture an image I change the MDT rules and bootstrap to keep it simple without affecting the image and since I do that no more admin login isues.

    MDT RULES:

    [Settings]
    Priority=Default
    Properties=MyCustomProperty

    [Default]
    OSInstall=Y
    SkipAppsOnUpgrade=YES
    SkipCapture=NO
    SkipAdminPassword=YES
    SkipProductKey=YES

    It might look short but it's all you need.

    BOOTSTRAP:

    [Settings]
    Priority=Default

    [Default]
    DeployRoot=\\mydeploymentshare$
    SkipBDDWelcome=YES


    UserDomain=school
    UserID=MDT
    UserPassword=password

    Could you show me your rules and bootstrap ?

  19. #15

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,169
    Thank Post
    430
    Thanked 314 Times in 265 Posts
    Rep Power
    153
    MDT Rules

    Settings]
    Priority=Default
    Properties=MyCustomProperty

    [Default]
    OSInstall=Y
    SkipCapture=NO
    SkipProductKey=YES
    SkipComputerBackup=YES
    SkipBitLocker=YES
    EvenService=http://MDT@9800


    Bootstrap

    [Settings]
    Priority=Default

    [Default]
    DeployRoot=\\MDT\CaptureShare$
    Last edited by fiza; 18th July 2013 at 01:57 PM.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Help Sibelius driving me mad!
    By gill in forum Educational Software
    Replies: 1
    Last Post: 3rd October 2012, 01:08 PM
  2. Google Apps and Active Directory integration - help before it drives me mad!
    By cheredenine in forum Virtual Learning Platforms
    Replies: 19
    Last Post: 4th May 2012, 01:49 PM
  3. The Noise is driving me MAD!!!!!!!!!!!!
    By witch in forum Windows
    Replies: 29
    Last Post: 15th September 2010, 10:30 PM
  4. The Noise is driving me MAD!!!!!!!!!!!!
    By witch in forum General Chat
    Replies: 3
    Last Post: 15th September 2010, 09:54 AM
  5. WDS is driving me mad! XP client deployment problem
    By cheredenine in forum Windows
    Replies: 9
    Last Post: 30th July 2008, 11:49 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •