Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


  • Content Count

  • Donations

  • Joined

  • Last visited

Everything posted by razormoon

  1. Glad to see you're back to work Max. Looking forward to stretching out the app. I trust the driver portion will be funtional? You know what I'm talking about.......
  2. Correct. You must uncompress files in order for DISM to behave.
  3. What defrag program are you running? Think carefully..
  4. @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.
  5. 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>
  6. 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).
  7. 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.
  8. 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>
  9. 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.
  10. 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.
  11. 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...
  12. rjasonr, Have you tried an unattend as a "one off"? i.e.; not deployment just personal dvd for personal pc I'm just curious if you're seeing a bug - be it software or ebkac - as your autounattend goals are very different than us users that are replying...?
  13. But notice that mirecek1965 is not pointing to SHARED GADGETS. EDIT: I see what you're saying. Let me give it some thought...
  14. 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...?
  15. 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
  16. That's quite the reg file...! You can just add "Open with Notepad..." to your right-click - period. ; add 'open with notepad' to right context [HKEY_CLASSES_ROOT\*\shell\Open with Notepad] @="" [HKEY_CLASSES_ROOT\*\shell\Open with Notepad\command] @="notepad.exe %1" I too have the same issues with .cmd and .bat <shrug>
  17. Well, of course you need to install Icacls.exe first, else it won't work. Edit: Oops, this is the Windows 7 section. I overlooked, so my comment doesn't apply in this case. LMAO..! I thought the same about DISM. Of course, UAC and such exists to protect your pc against - you and calling MS Support. Nothing to do with outside shenanigans...given a good AV program.
  18. Car? If you're refering to responsible computing your statement is quite the approach and unwarranted. Don't drink and type..I guess.
  19. If it's your computer, you should be able to do anything you want with. That being said, the folder permissions are barbaric and good luck to the common user who doesn't have an inkling of what to do ... or seek help here for pete's sake. @iceangel89 Windows Registry Editor Version 5.00 ;Add Take Ownership... to right-click [HKEY_CLASSES_ROOT\*\shell\runas] @="Take Ownership" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\*\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" [HKEY_CLASSES_ROOT\Directory\shell\runas] @="Take Ownership" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Directory\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t" Copy and paste to notepad. Save as <whatever>.reg, doubleclick and hit ok to merge. Whenever you have this issue, right click on the file/folder and click "Take ownership". At the very worst, you will need to log on with PE or dual boot and that should help also. I've had this issue before...worse is trying to watch previous recorded tv with mediacenter after clean installing!!! Thank goodness for DRM, eh? (No, I'm kidding)
  20. Did you remove the AdministratorPassword section completely? Even though you are in Group Administrators...that doesn't mean that it is the built in administrator account. According to your xml above: Remove everything in AdministratorPassword including the section itself. For Autologon, DO NOT USE THE USERNAME "ADMINISTRATOR" if you want to use autologon (you don't need to as the login counts down to zero and you have to login anyway after that, with or without password). Use the one you are using...Jorge Rhor for autologon. "ADMINISTRATOR" account requires password...no way around that one (that I'm aware of). However, password not required for all other accounts. As a matter of fact, I would probably remove autologon section also since this is useful only when installing 3rd party programs in unattended mode that need reboot. As soon as you enter Username Administrator in Autologon, that tells Windows to activate the built-in administrator account.
  21. I beg to differ as I use both with no issues - kinda like MS stated that $OEM$ will no longer work under Vista, where obviously it did and still does in W7. I would probably ask the question as to why one shouldn't "EVER EVER EVER use SkipMachineOOBE outside of testing". I don't understand how something so useful would be added as a WSIM item as a testing tool only? With SkipUser and SkipMachine, I still get the network setup dialog - and that's fine. As for the Administrator account, I enable it while renaming it as I see fit. It is quite the process and you can look that up here (the instructions work the same for W7, I currently use it myself - in W7): Renaming the Administrator account Of course, replace all ImageX instruction with DSIM commands. As for Default User, I remember something about logging on to either safe mode or winpe and copying ntuser.dat files from the user directory you want to copy settings from. Take these, log on to your normal desktop and copy them to the default user directory (must Show Hidden files) of mounted WIM. This is not as easy as it sounds. Hope this helps a little...
  22. Ok, here is what I have: In the Serial-ATA section of my bios, I have my RAID enabled (naturally). In my main page of the bios, I have my RAID and my IDE disabled (or not setup, whichever makes sense...they don't appear on the drive list) and my SATA DVD enabled (appears on the list). Setting it this way allows W7 to see your disks. Go figure.
  23. A few things... Try: - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> <Description>Rhor's Account</Description> <DisplayName>Jorge Rhor</DisplayName> <Group>Administrators</Group> <Name>Jorge Rhor</Name> </LocalAccount> </LocalAccounts> - <AdministratorPassword> <Value></Value> <PlainText>true</PlainText> </AdministratorPassword> </UserAccounts> Or try removing the AdministratorPassword section altogether. Even though I believe the following are deprecated in W7, they currently work for me in shell setup (paste it under your own hideeulapage): <OOBE> <SkipUserOOBE>true</SkipUserOOBE> <SkipMachineOOBE>true</SkipMachineOOBE> </OOBE> There is also this: - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> <Description>Rhor's Account</Description> <DisplayName>Jorge Rhor</DisplayName> <Group>Administrators</Group> <Name>Jorge Rhor</Name> </LocalAccount> </LocalAccounts> - <AdministratorPassword> <Value>password?</Value> <PlainText>true</PlainText> </AdministratorPassword> </UserAccounts> <AutoLogon> <Password> <Value>password?</Value> <PlainText>true</PlainText> </Password> <Enabled>true</Enabled> <Username>Administrator</Username> </AutoLogon> AND FINALLY: To configure a blank administrator password for Windows® 7, write an empty string in Windows® System Image Manager (Windows SIM), by right-clicking the Value setting, and then selecting Write Empty String. The built-in administrator account will be enabled with a blank password. You may need to set the Autologon for this last part to work though.
  24. I've had that same issue using raid in Asus Striker II extreme. I have RAID configured for striping, a SATA DVD and a plain ole IDE. I believe I disabled all in BIOS (except for the RAID) and everything shows up peachy. Pretty strange but it works. Can't shut off my PC as I am doing some work on it, but I will update with a little more detail when I can. I'm pretty sure it was this that was causing my issue as it chooses the IDE as boot. Try experimenting if you have more than RAID disks.
  25. Please post your autounattend.xml as well. Don't forget to XXXXX out your key.
  • Create New...