Tomorrow Posted August 14, 2012 Posted August 14, 2012 Why doesent the powercfg setting work?http://technet.microsoft.com/en-us/library/cc749019(v=ws.10)I pre set to high performance but after install it's still Balanced. I checked the GUID's on a fresh install via powercfg -list and these were correct. 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c was the high performance scheme and i have this in my .xml under Microsoft-Windows-Shell-Setup:<component name="Microsoft-Windows-powercpl" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PreferredPlan>8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</PreferredPlan> </component>
maxXPsoft Posted August 15, 2012 Author Posted August 15, 2012 (edited) Why doesent the powercfg setting work?Never has worked not even in VistaI just use a Powerplan.cmd I run at FirstlogoncommandsREM Adding PowerplanPOWERCFG -SETACTIVE 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635cREM ALL TO 120 minutes time and you can change.POWERCFG -X -monitor-timeout-ac 120POWERCFG -X -disk-timeout-ac 120POWERCFG -X -standby-timeout-ac 120REM or hibernate OFFPOWERCFG -H OFF Edited August 15, 2012 by maxXPsoft
Tomorrow Posted August 15, 2012 Posted August 15, 2012 (edited) Ah i see. Also can i request an UEFI version of the previously posted xml that creates the nessesary partitions?Not that im expecting to run UEFI based image in VirtualBox any time soon (atleast not windows), but it would be nice to have the code handy. UEFI setup creates one extra partition so the partition order looks like this:Part1: 128MB (MSR)Part2: 100MB (System)Part3: (Windows)GPT Conf Edited August 15, 2012 by Tomorrow
maxXPsoft Posted August 15, 2012 Author Posted August 15, 2012 (edited) Your link already shows how to do it or unattend.chm covers thisI have a OEM UEFI capable personal home PC. I have formatted it and reinstalled normally1. OEM junkware had C drive over 26gb2. 2 TB C: drive is like the most ridiculous thing to me.When I tried EFI have had problems with it like not able to boot to F8 'Repair your Computer' even with a created EFI boot disk. Added a SSD and I get about BootTime 17945 ms so have wondered if there would be any advantage to switching it over.I may try again today unless something comes up. If it works then I'll have a xml from an actualEDIT: This was the problem I encountered last EFI I triedThis version of System Recovery Options is not compatible with the version of Windows you are trying to repair.I searched high and low for a week and finally came across an answer that said something about extra Drives would cause error'sAll I done was disable USB Floppy and USB Hard Drive in UEFI options in bios.Recovery DVD would then work Edited August 15, 2012 by maxXPsoft
maxXPsoft Posted August 16, 2012 Author Posted August 16, 2012 (edited) Create UEFI partitions. Save as AutoUnattend.xml attached to First postCreated xml same way as your link Sample: Configure UEFI/GPT-Based Hard Drive Partitions by Using Windows Setupas usual MS screws things up.Right off I could see where they were <InstallTo> Partition 3 was wrong. Can't install to a <Size>128</Size> mb diskI booted with xml on usb and it parsed xml and crashed on <ModifyPartitions>I could tell from Panther/setupact.log it was getting first 2 entries but not third.It said <!-- MSR partition does not need to be modified --> so why are they adding it? hmm. I remarked out whole thing and changed 4th partition <Order>4</Order> to a 3Bingo it ran and finished.I wasn't happy cause I wanted a full GPT disk and hide the recovery partition so I booted with a txt file on usb and removed <DiskConfiguration> from my xml and named to .bakI ran the Diskpart commands to create all the partitions I hit Shift and F10 and CD to my USB and ran Notepad opening the file and paste them into the command prompt. Then renamed xml and rebooted. it completed with no errorsSo now I have a GPT UEFI setup but right now it is slower than it was. SSD takes a few days to tweak itself.These are the DISKPART commands.DISKPARTSELECT DISK 0CLEANCONVERT GPTCREATE PARTITION PRIMARY SIZE=250SET ID="de94bba4-06d1-4d40-a16a-bfd50179d6ac"FORMAT QUICK FS=NTFS LABEL="Recovery"ASSIGN LETTER="R"CREATE PARTITION EFI SIZE=100FORMAT QUICK FS=FAT32 LABEL="System"ASSIGN LETTER="S"CREATE PARTITION MSR SIZE=128CREATE PARTITION PRIMARYFORMAT QUICK FS=NTFS LABEL="SE7EN"ASSIGN LETTER="C"EXIT Edited August 16, 2012 by maxXPsoft
Tomorrow Posted August 16, 2012 Posted August 16, 2012 (edited) Thank you for your detailed answer. It helps me alot. Edited August 16, 2012 by Tomorrow
Lucius_Snow Posted August 29, 2012 Posted August 29, 2012 Hello all,Does anybody know how to skip the reboot progress bar with the 10 seconds ? I can't find any entry for this into "autounattend.xml"Thanks !
maxXPsoft Posted August 30, 2012 Author Posted August 30, 2012 Way back with early XP i was sitting there one day and clicked the Restart button and on reboot it BSOD. From that day forward I'll wait it out. Probably have to hack a dll. Don't think it is nowhere in xml settings.
MrJinje Posted September 1, 2012 Posted September 1, 2012 Has anyone seen a barebones template for Windows 8 anywhere. Not looking for fancy, looking for generic so I can refer people here from social.technet.What do you think Max, should we send W8 people to this thread, would you host the XML's in the first post. My guess is 90% of their questions are gonna already be answered in this thread.
maxXPsoft Posted September 2, 2012 Author Posted September 2, 2012 (edited) Has anyone seen a barebones template for Windows 8 anywhere. Not looking for fancy, looking for generic so I can refer people here from social.technet.What do you think Max, should we send W8 people to this thread, would you host the XML's in the first post. My guess is 90% of their questions are gonna already be answered in this thread.I have one picked up from LiveFreeDead. I can add link to first post but I'll show it here cause it does some interesting things toEnable FirstLogon As AdminComp Flags for setupcomplete.cmdWindows 8 xml is almost exactly same as Win 7. Some things changedExample Windows 8 xml. Download Link in first post hereTechnet - You'll notice some new stuff in <OOBE><?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="amd64" 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>en-US</InputLocale> <UserLocale>en-US</UserLocale> <UILanguage>en-US</UILanguage> <SystemLocale>en-US</SystemLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserData> <AcceptEula>true</AcceptEula> <ProductKey> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>Home</Organization> <FullName>Computer</FullName> </UserData> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" 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>PCNAME</ComputerName> </component> <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" 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>3</Order> <Description>Enable FirstLogon As Admin</Description> <Path>reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%WINDIR%\Setup\Scripts\FirstLogon.cmd" /t REG_SZ /d "RUNASADMIN" /f</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>4</Order> <Description>Comp Flags for setupcomplete.cmd</Description> <Path>reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%WINDIR%\Setup\Scripts\setupcomplete.cmd" /t REG_SZ /d RUNASADMIN /f</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Description>Enable Admin Account</Description> <Order>5</Order> <Path>net user administrator /active:yes</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" 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> <Enabled>true</Enabled> <LogonCount>1</LogonCount> <Username>Administrator</Username> </AutoLogon> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Description>Post Setup OEM</Description> <Order>100</Order> <CommandLine>cmd /c %WINDIR%\Setup\Scripts\FirstLogon.cmd</CommandLine> </SynchronousCommand> </FirstLogonCommands> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <HideLocalAccountScreen>true</HideLocalAccountScreen> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> </OOBE> <TimeZone>Tasmania Standard Time</TimeZone> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Description>Default Administrator Account</Description> <DisplayName>Administrator</DisplayName> <Group>Administrators</Group> <Name>Administrator</Name> </LocalAccount> </LocalAccounts> </UserAccounts> </component> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" 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-AU</InputLocale> <SystemLocale>en-AU</SystemLocale> <UILanguage>en-AU</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>en-AU</UserLocale> </component> </settings> <cpi:offlineImage cpi:source="wim:f:/build8/win8x64/sources/install.wim#Windows 8 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Edited September 2, 2012 by maxXPsoft
myselfidem Posted September 2, 2012 Posted September 2, 2012 Way back with early XP i was sitting there one day and clicked the Restart button and on reboot it BSOD. From that day forward I'll wait it out. Probably have to hack a dll. Don't think it is nowhere in xml settings.I agree with you maxXPsoft, and yes it's needed to hack a dll.Regards
MrJinje Posted September 2, 2012 Posted September 2, 2012 (edited) Thanks Max. I ripped out the stuff I didn't like, made it en-US across the board and put it to Chicago time. Readers just need to search for "EDIT" and make minor changes. I've tested the x86 version in a VM and it worked for me. Windows 8 - x86<?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>en-US</InputLocale> <UserLocale>en-US</UserLocale> <UILanguage>en-US</UILanguage> <SystemLocale>en-US</SystemLocale> </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"> <UserData> <AcceptEula>true</AcceptEula> <ProductKey> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>EDIT</Organization> <FullName>EDIT</FullName> </UserData> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Security-SPP-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>EDIT</ComputerName> </component> <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>Enable Admin Account</Description> <Order>1</Order> <Path>net user administrator /active:yes</Path> </RunSynchronousCommand> </RunSynchronous> </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"> <OOBE> <HideEULAPage>true</HideEULAPage> <HideLocalAccountScreen>false</HideLocalAccountScreen> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>false</HideOnlineAccountScreens> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <TimeZone>Central Standard Time</TimeZone> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>EDIT</Value> <PlainText>true</PlainText> </Password> <Description>Default Administrator Account</Description> <DisplayName>Administrator</DisplayName> <Group>Administrators</Group> <Name>Administrator</Name> </LocalAccount> </LocalAccounts> </UserAccounts> </component> <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> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>en-US</UserLocale> </component> </settings> <cpi:offlineImage cpi:source="wim:f:/build8/win8x64/sources/install.wim#Windows 8 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>Windows 8 - amd64<?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="amd64" 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>en-US</InputLocale> <UserLocale>en-US</UserLocale> <UILanguage>en-US</UILanguage> <SystemLocale>en-US</SystemLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserData> <AcceptEula>true</AcceptEula> <ProductKey> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>EDIT</Organization> <FullName>EDIT</FullName> </UserData> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" 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="amd64" 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>EDIT</ComputerName> </component> <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" 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>Enable Admin Account</Description> <Order>1</Order> <Path>net user administrator /active:yes</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OOBE> <HideEULAPage>true</HideEULAPage> <HideLocalAccountScreen>false</HideLocalAccountScreen> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>false</HideOnlineAccountScreens> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <TimeZone>Central Standard Time</TimeZone> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>EDIT</Value> <PlainText>true</PlainText> </Password> <Description>Default Administrator Account</Description> <DisplayName>Administrator</DisplayName> <Group>Administrators</Group> <Name>Administrator</Name> </LocalAccount> </LocalAccounts> </UserAccounts> </component> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" 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> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>en-US</UserLocale> </component> </settings> <cpi:offlineImage cpi:source="wim:f:/build8/win8x64/sources/install.wim#Windows 8 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>EDIT: Added skip auto activation to specialize pass for preserving readers MAK keys. I'll need to double check the oobe, there might be a few useless settings in this, work in progress Edited September 2, 2012 by MrJinje
Octopuss Posted September 26, 2012 Posted September 26, 2012 Question:<ProtectYourPC>, what exactly do the settings do?I know which popup it is and what the values are, but it's not exactly clear what they do.1 Specifies the recommended level of protection for your computer.2 Specifies that only updates are installed3 Specifies that automatic protection is disabled.blabla... What in the hell is recommended level of protection? What's automatic protection?
Tripredacus Posted September 27, 2012 Posted September 27, 2012 blabla... What in the hell is recommended level of protection? What's automatic protection?It picks from the 3 Update options in OOBE. I can't find a good picture of it, but it is equivalent to "Install Updates Automatically (Recommended)" option in the "Choose how Windows can install updates" page in Control Panel.
Octopuss Posted September 27, 2012 Posted September 27, 2012 Do you mean it is ONLY related to Windows Update? The description is bloody confusing!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now