bizzybody Posted May 10, 2008 Share Posted May 10, 2008 Adding this to vLite would be very nice. I like having shut down as the default shut down option instead of sleep. Have all the options selectable for default, make everyone happy- except whomever at Microsoft decided sleep would be everyone's default. Link to comment Share on other sites More sharing options...
oskingen Posted May 10, 2008 Share Posted May 10, 2008 Adding this to vLite would be very nice. I like having shut down as the default shut down option instead of sleep. Have all the options selectable for default, make everyone happy- except whomever at Microsoft decided sleep would be everyone's default.You can do that in the tweak part Link to comment Share on other sites More sharing options...
vovox1 Posted May 10, 2008 Share Posted May 10, 2008 (edited) Sorry that I am asking in your topic BIZZYBODY,but I have tweaked this and after making an image and installing,on first start of PC, there was default settings on shutdown button.What is wrong? Edited May 10, 2008 by vovox1 Link to comment Share on other sites More sharing options...
oskingen Posted May 10, 2008 Share Posted May 10, 2008 yeah me too, i have the same problem. i did it in the tweak part and once installed it is the default setting Link to comment Share on other sites More sharing options...
blerk Posted May 10, 2008 Share Posted May 10, 2008 What about the start menu shut down option. I alwys have the power button to do nothing (just in case) and set the start menu button to shutdown instead of sleep. Maybe TS meant this? It would be nice to be able to set the start menu power button behaviour too. Link to comment Share on other sites More sharing options...
bizzybody Posted May 10, 2008 Author Share Posted May 10, 2008 That's what I meant, the default option for Shut Down from the Start Menu. It's fairly simple to do from power options, but it's just one more thing to have to change from Microsoft's defaults that would be nice to have pre-set. Link to comment Share on other sites More sharing options...
oskingen Posted May 10, 2008 Share Posted May 10, 2008 Because in vlite i have the same problem, the tweak for power option doesn't seem to work i execute these commands on install.REM Existing Power SchemesREM Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced)REM Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High performance)REM Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver)powercfg -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635cREM close lid action (0=do nothing, 1=sleep, 2=hibernate, 3=shutdown)powercfg -setacvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0powercfg -setdcvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0REM Power buttons action (0=do nothing, 1=sleep, 2=hibernate, 3=shutdown)powercfg -setacvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3powercfg -setdcvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3REM Sleep button actionpowercfg -setacvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1powercfg -setdcvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1REM Start menu power button (0=sleep, 1=hibernate, 2=shutdwon)powercfg -setacvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2powercfg -setdcvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2REM ----------------------------------------------------------------------------------------------------------------------REM Balanced modepowercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0REM Power buttons action (0=do nothing, 1=sleep, 2=hibernate, 3=shutdown)powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3REM Sleep button actionpowercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1REM Start menu power button (0=sleep, 1=hibernate, 2=shutdwon)powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2REM ----------------------------------------------------------------------------------------------------------------------REM Power saver modepowercfg -setacvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0powercfg -setdcvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0REM Power buttons action (0=do nothing, 1=sleep, 2=hibernate, 3=shutdown)powercfg -setacvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3powercfg -setdcvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3REM Sleep button actionpowercfg -setacvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1powercfg -setdcvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1REM Start menu power button (0=sleep, 1=hibernate, 2=shutdwon)powercfg -setacvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2powercfg -setdcvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2 Link to comment Share on other sites More sharing options...
TranceEnergy Posted May 11, 2008 Share Posted May 11, 2008 What about the start menu shut down option. I alwys have the power button to do nothing (just in case) and set the start menu button to shutdown instead of sleep. Maybe TS meant this? It would be nice to be able to set the start menu power button behaviour too.If you are afraid of this accidental , "Oh No I pushed the power button, girlfriend/boyfriend/friend/whatever id*** that pushed it when u was gaming/watching movies/actually getting some work done, " why dont you look inside bios for the wait-4-seconds-before-powering-off- option. ?! Link to comment Share on other sites More sharing options...
Arrow22 Posted March 1, 2009 Share Posted March 1, 2009 (edited) Adding this to vLite would be very nice. I like having shut down as the default shut down option instead of sleep. Have all the options selectable for default, make everyone happy- except whomever at Microsoft decided sleep would be everyone's default.This was actually very easy...in your autoattend, place this entry <settings pass="specialize"> <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"> <RunSynchronousCommand wcm:action="add"> <Description>Set Start Button</Description> <Order>1</Order> <Path>Regedit.exe -s "C:\Addons\RegEdits\StartMenuPower.reg"</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings>Those not familiar with xml and are using the WAIK Image Manager, this is what you do to add a registry file*WARNING* I use Vista Ultimate x64 image only, If your target is different, ask for an example here....- Use image manager to open your Image and your AutoAttend.xml- Add Component "amd64_Microsoft-Windows-Deployment"-->"RunSynchronousCommand" "Add Setting to Pass 4 specialize"It must be run early in the installation to avoid Administrative Priviledge checksI run this just before my disable UAC regedit (included here)- Description: Set Start Button- Order: 1 <-- or whatever you want...- Path: Regedit.exe -s "C:\Addons\RegEdits\StartMenuPower.reg"- Will reboot: <-- whatever, I put my UACdisable next then force a reboothere are the filesWindows Registry Editor Version 5.00;-------------------------------------------------------------; StartMenuPower.reg - Reconfigure Start Menu Power Control Button using Registry[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\4f971e89-eebd-4455-a8de-9e59040e7347\a7066653-8d6c-40a8-910e-a1f54b84c7e5]"ACSettingIndex"=dword:00000002"DCSettingIndex"=dword:00000002[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\4f971e89-eebd-4455-a8de-9e59040e7347\a7066653-8d6c-40a8-910e-a1f54b84c7e5]"ACSettingIndex"=dword:00000002"DCSettingIndex"=dword:00000002andWindows Registry Editor Version 5.00;-------------------------------------------------------------; UACdisable.reg - Disable UAC controls and make things run faster; Disable User Account Control in Windows Vista (Requires Reboot)[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System]"ConsentPromptBehaviorAdmin"=dword:00000002"ConsentPromptBehaviorUser"=dword:00000001"EnableLUA"=dword:00000000; NTFS, Disable 8.3 names and Last Access (speeds up disk access) [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] "NtfsDisable8dot3NameCreation"=dword:00000001 "NtfsDisableLastAccessUpdate"=dword:00000001 /code]If more clarification is needed, ask here.Not many have figured this out (and what a pain for most newbies)I will be monitoring this thread for a bit.... Edited March 1, 2009 by Arrow22 Link to comment Share on other sites More sharing options...
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