About razormoon

- Birthday 09/17/1974
Contact Methods
-
Website URL
http://
Recent Profile Visitors
2,932 profile views
razormoon's Achievements
0
Reputation
-
Windows 7 DISM & driver packages
razormoon replied to Dechy's topic in Unattended Windows 7/Server 2008R2
Correct. You must uncompress files in order for DISM to behave. -
What defrag program are you running? Think carefully..
-
Add "Run command" to unattend.xml using WSIM
razormoon replied to atolica's topic in Unattended Windows 7/Server 2008R2
@atolica, Try this: <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>100</Order> <Description>Hibernate Off</Description> <CommandLine>cmd /c %systemroot%\system32\powercfg.exe /hibernate off</CommandLine> </SynchronousCommand> </FirstLogonCommands> This should be placed @ oobeSystem in Shell-Setup. POWERCFG.EXE should have already been copied to HDD. I, myself, have not tried this. As far as I can tell, you MAY (or may not) have to put quotes somewhere. ??? dunno, but let us know if it works. -
Windows 7 Autounattend.xml Setup Crash
razormoon replied to efheath's topic in Unattended Windows 7/Server 2008R2
I didn't know that W7 Enterprise was a valid option yet? Anyway...this is wrong: <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</Key> <Value>Windows 7 ENTERPRISE</Value> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> For one thing, NEVER post a key - even if it is a publicly available one. NEVER. Secondly, the <Key>xxxxx</Key> that xml is referring to here is not your license key, it is the string format of your W7 image. Like this: <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows 7 ENTERPRISE</Value> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> It could also look like this: <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/INDEX</Key> <Value>4</Value> <<<< Ultimate version of x64 resides in 4, x86 Ultimate lives in 5 </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> I do not know the index for Enterprise. You may run IMAGEX /INFO and find out. Just use /IMAGE/NAME as this seems to be a preference thing. Remember, exactly how you see it "/IMAGE/NAME" Let us know if this works. EDIT: If you must enter your license key...just add this right under ImageInstall block: <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows 7 Enterprise</Value> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <AcceptEula>true</AcceptEula> <FullName>YOURNAME</FullName> <Organization>YOURORG</Organization> <ProductKey> <Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> </UserData> -
I just replaced one of my SATA drives (currently using RAID 1) due to a faulty one. Lately, I've been having close to the same issue as alrichdesa. If I have my browser open, but only on certain sites it seems, my system freezes also. Seems like it *might* have to do with my new replacement, but another scenario may be that I restored my system from server backup (of which is the copy that suffered crashes from my previous HDD - I'm sure OS files were affected). I'm looking to do a clean install very very soon and see if it behaves the same. This issue is intermittent for me though so I cannot reproduce it exactly.....and now only recently EVERYTHING FREEZES. I am using the RTM, but I'm also curious as to alrichdesa's xml if using one as this is a first for me (been using W7 for many months already, RTM as soon as it was released). My first hunch is a corrupt image as far is alrich is concerned. Second may lie in unattend (if used).
-
Post-install Login problem, plus...
razormoon replied to r0sWell's topic in Unattended Windows 7/Server 2008R2
I shared my xml with you in hopes that you can try something simple first and see if it works more closely to what you need accomplished. That being said, your xml has too many redundancies where it is very obvious how you can change and streamline it a lot further. Your xml is unneccessarily repetitious. Case in point: Although clever, your LocalAccount code blocks @ shell setup (oobeSystem) should take care of your net user commands. It's too much of the same at the risk of fault. Remove those as Shell Setup is already setting this up for you. I highly doubt that these are needed in Specialize path...not even for running your installs - that is of course, unless I am missing something. However, I might add that I do all my installs at first logon under the Admin account (notice first logon commands @ oobeSystem in my xml, same thing). Also, setupcomplete.cmd will run right before first logon. Much faster in my opinion as I stopped using Specialize even before Vista was officially released. MaxXP may disagree. Remove all net user commands everywhere and see where it takes you. Your Administrator account should disappear from the login screen as soon as the first use is over (reboot). Please let me know as I am curious as to what you will find. -
Post-install Login problem, plus...
razormoon replied to r0sWell's topic in Unattended Windows 7/Server 2008R2
For one thing, your unattend is one of the stranger ones that I have seen...why are there so many of these: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> Makes your unattend hard to read and a little confusing. You may want to change this line also: <LogonCount>5</LogonCount> Change this to fewer logon attempts. As a matter of fact, you may want to move that whole block down to the rest of your account commands to look like this: <UserAccounts> - <AdministratorPassword> <Value>test</Value> <PlainText>false</PlainText> </AdministratorPassword> - <LocalAccounts> - <LocalAccount wcm:action="add"> <Name>User</Name> <Description>limited use</Description> <Group>Users</Group> <DisplayName>User</DisplayName> - <Password> <Value>test</Value> <PlainText>false</PlainText> </Password> </LocalAccount> - <LocalAccount wcm:action="add"> - <Password> <Value>test</Value> <PlainText>false</PlainText> </Password> <Description>everyday use</Description> <DisplayName>Test</DisplayName> <Group>Administrators</Group> <Name>Test</Name> </LocalAccount> ADD THIS, entering max logins...it must be named Administrator for it to work. <AutoLogon> <Password> <Value>test</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>3</LogonCount> <Username>Administrator</Username> </AutoLogon> </LocalAccounts> </UserAccounts> ' Take a look at this simple one. Notice I set my network location to "Home" though it has never worked properly. <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" 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"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> <component name="Microsoft-Windows-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"> <Diagnostics> <OptIn>false</OptIn> </Diagnostics> <DiskConfiguration> <WillShowUI>Always</WillShowUI> </DiskConfiguration> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows 7 ULTIMATE</Value> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <AcceptEula>true</AcceptEula> <FullName>OWNER</FullName> <Organization>HOME</Organization> <ProductKey> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> </UserData> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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"> <SkipAutoActivation>true</SkipAutoActivation> </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>my-PC</ComputerName> <RegisteredOrganization>HOME</RegisteredOrganization> <RegisteredOwner>OWNER</RegisteredOwner> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> </component> <component name="Microsoft-Windows-SQMApi" 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"> <CEIPEnabled>0</CEIPEnabled> </component> </settings> <settings pass="oobeSystem"> <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"> <RegisteredOrganization>HOME</RegisteredOrganization> <RegisteredOwner>OWNER</RegisteredOwner> <TimeZone>Mountain Standard Time</TimeZone> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <SkipUserOOBE>true</SkipUserOOBE> <SkipMachineOOBE>true</SkipMachineOOBE> <ProtectYourPC>3</ProtectYourPC> </OOBE> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>500</Order> <Description>God-mode Account Activate</Description> <CommandLine>%systemdrive%\FirstLogon.cmd</CommandLine> </SynchronousCommand> </FirstLogonCommands> <UserAccounts> <AdministratorPassword> <Value>adminpass</Value> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>Password2</Value> <PlainText>true</PlainText> </Password> <Group>Administrators</Group> <Name>User2</Name> </LocalAccount> <LocalAccount wcm:action="add"> <Password> <Value>Password3</Value> <PlainText>true</PlainText> </Password> <Group>Users</Group> <Name>User3</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Password> <Value>adminpass</Value> <PlainText>true</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>3</LogonCount> <Username>Administrator</Username> </AutoLogon> <VisualEffects> <FontSmoothing>ClearType</FontSmoothing> </VisualEffects> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/dvd/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> -
Start Menu >> Run >> cmd >> type secpol and <enter> In Local Security Policy, doubleclick Local Policies on the left then click on Security Options. On the right hand side enable Accounts: Administrator account status. You can also rename it in the Accounts: Rename administrator account, but make sure it is not a username you are using already. Also, you'll have to rebuild the desktop and such. In your case though, instead of doing this, you can scroll all the way down on the right hand column. There you will also see the various controls for User Account Control. Try your luck there.
-
How do I manually start the "New User wizard"
razormoon replied to midiboy's topic in Unattended Windows 7/Server 2008R2
midiboy! I just super wrecked my pc trying to find an answer for you. Let's just thank the stars I have a home server.... x:\Windows\System32\sysprep /oobe will reboot and show wizard. It's slightly different than the one we usually see. It kept everything intact except for everything stored in user folder. Programs intact also. -
Understood. I have not tried driver paths since I have been injecting my drivers into WIM itself. I'm betting that someone will have that answer for you though...
-
My apologies ahay, I don't get what you mean by search? What exactly are you hoping xml to do? Are you hoping to integrate drivers...?
-
Windows 7 DISM & driver packages
razormoon replied to Dechy's topic in Unattended Windows 7/Server 2008R2
Alright, there's obvious limitations to the batch file for this (think directory names with underscores...). I've left the batch and put something together in code for those of you that update drivers frequently, use dism and need to decompress many driver files at once. Put the file anywhere and when prompted, point it to the ROOT directory of your drivers. It will save the driver directory for future runs and safely decompress driver files while keeping names intact. If you want to start over (pick new root) just delete the *.ini file. If there are any bugs to this ultra simple file, please let me know. W7_DRVPREP