Displaying 5 results from an estimated 5 matches for "software_hive_filename".
2017 Feb 18
11
[PATCH 0/8] Miscellaneous cleanups to Windows registry code.
A very miscellaneous set of cleanups to how we handle the Windows
registry in virt-v2v, firstboot, and inspection code. This should all
be straightforward non-controversial refactoring. Some highlights:
- Add a new mllib Registry module containing various utility
functions that are currently scattered all around.
- Only compute the software/system hive paths once during inspection,
and
2016 Jan 20
1
[PATCH] convert_windows: uninstall Parallels Tools on first boot
...dows.ml
@@ -163,12 +163,66 @@ let convert ~keep_serial_console (g : G.guestfs) inspect source =
Not_found -> None
) in
+ (* Locate and retrieve all uninstallation commands for Parallels Tools *)
+ let prltools_uninsts =
+ let uninsts = ref [] in
+
+ Windows.with_hive g software_hive_filename ~write:false
+ (fun root ->
+ try
+ let path = ["Microsoft"; "Windows"; "CurrentVersion"; "Uninstall"] in
+ let node =
+ match Windows.get_node g root path with
+ | None -> raise Not_found
+ | Som...
2016 Aug 23
0
Re: [PATCH 2/2] v2v:windows: prevent conflicts with PnP on firstboot
...->
> + let key_path = ["Policies"; "Microsoft"; "Windows"; "DeviceInstall";
> + "Settings"] in
> + let name = "SuppressNewHWUI" in
> + let value = Windows.with_hive_write g software_hive_filename (
> + fun root ->
> + set_reg_val_dword_1 root key_path name
> + ) in
> + reg_restore ("HKLM\\Software" :: key_path) name value
> +
> + (* WinXP 64bit / Win2k3 *)
> + | 5, 2 ->
> + let key_path...
2016 Sep 01
0
Re: [PATCH v2 2/2] v2v:windows: prevent conflicts with PnP on firstboot
...->
> + let key_path = ["Policies"; "Microsoft"; "Windows"; "DeviceInstall";
> + "Settings"] in
> + let name = "SuppressNewHWUI" in
> + let value = Windows.with_hive_write g software_hive_filename (
> + fun root ->
> + set_reg_val_dword_1 root key_path name
> + ) in
> + reg_restore ("HKLM\\Software" :: key_path) name value
> +
> + (* WinXP 64bit / Win2k3 *)
> + | 5, 2 ->
> + let key_path...
2016 Sep 01
3
[PATCH v2 0/2] v2v:windows: prevent conflicts with PnP on firstboot
Wait for driver installations fired by the PnP manager to complete
before running firstboot scripts.
The first patch is a minor refactoring to pave the way for the second
patch. The latter contains the bulk of the changes as well as the
description of the idea.
Roman Kagan (2):
v2v:windows: factor out getting CurrentControlSet
v2v:windows: prevent conflicts with PnP on firstboot
---
v1