Guest bbjohnson Posted December 30, 2011 Share Posted December 30, 2011 I have 50 Optiplex 780's that I'm about to deploy. I have installed Windows 7 Enterprise on one of the machines to create an image that I would use for the rest of the machines. I customized it with all of our software and settings. I sysprep'd the machine using this answer file and this command c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /shutdown /uattend:unattend.xml <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing></servicing> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>en-us</InputLocale> <UILanguage>en-us</UILanguage> <UILanguageFallback>en-us</UILanguageFallback> <UserLocale>en-us</UserLocale> </component> <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>QgBpAHQAJQBMAG8AYwBhAGwAUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>1</LogonCount> <Username>Administrator</Username> </AutoLogon> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>RABDAE4AUgB1AHMAZQByACMAMQBQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </Password> <DisplayName>Helpdesk</DisplayName> <Name>Helpdesk</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <TimeZone>Eastern Standard Time</TimeZone> <ShowWindowsLive>false</ShowWindowsLive> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> </OOBE> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-IE-InternetExplorer" 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"> <BlockPopups>no</BlockPopups> <Home_Page>http://intradcnr</Home_Page> <DisableFirstRunWizard>true</DisableFirstRunWizard> </component> <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"> <ComputerName> </ComputerName> <TimeZone>Eastern Standard Time</TimeZone> <ShowWindowsLive>false</ShowWindowsLive> <CopyProfile>true</CopyProfile> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-LUA-Settings" 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"> <EnableLUA>false</EnableLUA> </component> </settings> <cpi:offlineImage cpi:source="wim:e:/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> The machine shutdown. I captured the image using Ghost 2003. I know that best practice is using imagex. I just went with what im familiar with due to being short on time. After starting the pc back up everything works perfect. I can logoff and logon pretty quick. Once I join the pc to the domain and reboot I can logon just fine. I can logoff fine. I reboot the pc. It comes back up to logon. I logon, now when i logoff it hangs.. I shut the machine off from the power button and bring it back up.. Still hangs when logging off/shutting down/or restarting. I found that the first time that you logon to a profile (when domain connected) it works fine. After a restart it will hang. After leaving it sit for 8 minutes it will log off.. If I log back on it will log back off quickly but once it is restarted it takes forever again to logoff/shutdown or restart.. I tried disjoining it from the domain. It works as it should. I already have 8 machines I built as fresh installs in the same AD Container and those work fine. So I don't think it has anything to do with group policy. One thing that I ran into when I was sysprep'ing the machine was it would always error out on the copy profile. I would have to start over again from scratch.. Thats when I found out that there was an issue where if there was a registry entry in HKLM\software\Microsoft\current version\windowsnt\profilelist that was not a valid user account it would have issues.. so i removed the entry for the user that was created when I first started to load the machine. It seemed fine. I also tried going into msconfig>services>Hide all MS services> Then disable all of the services except for the AV. Still an issue. We do not use roaming profiles or logoff scripts either Any ideas?? Continue reading... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.