Re: [Libguestfs] Windows v2v

2018-04-16 Thread Piotr Kliczewski
On Mon, Apr 16, 2018 at 2:57 PM, Richard W.M. Jones 
wrote:

> So assuming the answer to the previous question was _yes_ ...
>
> Then there are various ways to force a full shutdown either one-off or
> permanently.  Can you work out what works and submit a documentation
> patch to improve things for Windows >= 8?
>
> (1) Try this command: shutdown /s /t 0
>
> Because the /hybrid option is not present it should force a full shutdown.
>
> (2) From the GUI use [Shift] + shutdown option:
>
> (https://blogs.technet.microsoft.com/askperf/2012/10/
> 25/windows-8-windows-server-2012-faster-boot-process/)
>
> For permanently disabling hibernation:
>
> (3) Use: powercfg /hibernate off
>
> (4) Use: reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session
> Manager\Power" /v HiberbootEnabled /t REG_DWORD /d "0" /f
>
> (3) & (4) might be equivalent, I'm not very clear and don't have a
> convenient way to test right now.
>

Verified with (3) and it seems to work. Still the message is not indicating
what is the issue when hibernate is enabled so thank you for opening BZ.


>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~
> rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://people.redhat.com/~rjones/virt-df/
>
___
Libguestfs mailing list
Libguestfs@redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs

Re: [Libguestfs] Windows v2v

2018-04-16 Thread Richard W.M. Jones
So assuming the answer to the previous question was _yes_ ...

Then there are various ways to force a full shutdown either one-off or
permanently.  Can you work out what works and submit a documentation
patch to improve things for Windows >= 8?

(1) Try this command: shutdown /s /t 0

Because the /hybrid option is not present it should force a full shutdown.

(2) From the GUI use [Shift] + shutdown option:

(https://blogs.technet.microsoft.com/askperf/2012/10/25/windows-8-windows-server-2012-faster-boot-process/)

For permanently disabling hibernation:

(3) Use: powercfg /hibernate off

(4) Use: reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" 
/v HiberbootEnabled /t REG_DWORD /d "0" /f

(3) & (4) might be equivalent, I'm not very clear and don't have a
convenient way to test right now.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/

___
Libguestfs mailing list
Libguestfs@redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs