Can I turn Hibernation Off offline with dism?

Discussion in 'Windows 8' started by Flipp3r, Oct 23, 2012.

  1. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    #1 Flipp3r, Oct 23, 2012
    Last edited by a moderator: Apr 20, 2017
    Is it possible to force hibernation off offline with dism?
    I've tried this:
    Code:
    Dism /Mount-Wim /WimFile:install.wim /index:7 /MountDir:Mount
    reg load HKLM\WIM_System Mount\Windows\System32\config\SYSTEM
    reg import Disable_Hibernate.reg
    reg unload HKLM\WIM_System
    Dism /Unmount-Wim /MountDir:Mount /Commit
    Where Disable_Hibernate.reg contains:
    Code:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\WIM_System\ControlSet001\Control\Power]
    "HibernateEnabled"=dword:00000000
    When I perform the install & check, hibernation is ON...
    Any ideas??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Luckie

    Luckie MDL Junior Member

    Jan 14, 2008
    83
    17
    0
    use setupcomplete.cmd instead. It is easier.
     
  3. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,895
    340
    #4 abbodi1406, Oct 24, 2012
    Last edited by a moderator: Apr 20, 2017
  5. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    #5 Flipp3r, Oct 25, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    If you run Sysprep it is back on the next time the user boots back in...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,895
    340
    It was working in Win7
    in win8 i tried it today an did not work indeed

    sorry for that :)
     
  8. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    895
    482
    30
    what if you use audit mode, than capture?
     
  9. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    #10 Flipp3r, Oct 12, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. RickSteele

    RickSteele MDL Addicted

    Nov 12, 2009
    833
    483
    30
    sweet!, very nice :)
     
  11. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    How rude of me not to Thank you! ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. RickSteele

    RickSteele MDL Addicted

    Nov 12, 2009
    833
    483
    30
    Absolutley no worries; just glad you worked it out. I run a couple of FirstLogon cmd's myself from autounattend and they are a peach. :biggrin: I've never used AutoIt, but, have read of it's excellent prowess.
    One thing though, this method does not prevent Hyberfil from loading during setup-n'est pa'? So, the file gets written to the SSD and deleted immediately before desktop which we are trying to prevent completely-write cycles to cells. It is another one of M$'s great genius moves in an OS that is supposed to be SSD friendly! :chair:
     
  13. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    526
    371
    30
    #14 HALIKUS, Oct 14, 2014
    Last edited by a moderator: Apr 20, 2017