Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Change default shutdown option.

- - - - -

  • Please log in to reply
8 replies to this topic

#1
bizzybody

bizzybody

    Advanced Member

  • Member
  • PipPipPip
  • 365 posts
  • Joined 08-May 05
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.


How to remove advertisement from MSFN

#2
oskingen

oskingen

    MSFN Friend

  • Member
  • PipPipPipPip
  • 610 posts
  • Joined 20-January 08
  • OS:none specified
  • Country: Country Flag

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

#3
vovox1

vovox1
  • Member
  • 9 posts
  • Joined 30-April 08
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 by vovox1, 10 May 2008 - 12:55 AM.


#4
oskingen

oskingen

    MSFN Friend

  • Member
  • PipPipPipPip
  • 610 posts
  • Joined 20-January 08
  • OS:none specified
  • Country: Country Flag
yeah me too, i have the same problem. i did it in the tweak part and once installed it is the default setting

#5
blerk

blerk

    Newbie

  • Member
  • 43 posts
  • Joined 02-February 08
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.

#6
bizzybody

bizzybody

    Advanced Member

  • Member
  • PipPipPip
  • 365 posts
  • Joined 08-May 05
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.

#7
oskingen

oskingen

    MSFN Friend

  • Member
  • PipPipPipPip
  • 610 posts
  • Joined 20-January 08
  • OS:none specified
  • Country: Country Flag
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 Schemes
REM 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-a6e23a8c635c
REM 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 0
powercfg -setdcvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0
REM 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 3
powercfg -setdcvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3
REM Sleep button action
powercfg -setacvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1
powercfg -setdcvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1
REM 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 2
powercfg -setdcvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2
REM ----------------------------------------------------------------------------------------------------------------------
REM Balanced mode
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0
REM 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 3
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3
REM Sleep button action
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1
REM 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 2
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2
REM ----------------------------------------------------------------------------------------------------------------------
REM Power saver mode
powercfg -setacvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0
powercfg -setdcvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0
REM 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 3
powercfg -setdcvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3
REM Sleep button action
powercfg -setacvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1
powercfg -setdcvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1
REM 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 2
powercfg -setdcvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2


#8
TranceEnergy

TranceEnergy

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 963 posts
  • Joined 23-March 06

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. ?!

#9
Arrow22

Arrow22

    Newbie

  • Member
  • 34 posts
  • Joined 28-February 09

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 &quot;C:\Addons\RegEdits\StartMenuPower.reg&quot;</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 checks
I 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 reboot

here are the files
Windows 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:00000002
and
[code=auto:0]
Windows 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 by Arrow22, 28 February 2009 - 09:11 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users