inspect_get_windows_group_policy


Description:

[ Version ( since = "1.57.6" ) ]
public int8 inspect_get_windows_group_policy (string root) throws Error

return if Windows guest has group policy

This returns true if the Windows guest has group policy. Group policy can interfere with device driver installation, preventing libguestfs features like driver injection from working.

Note that the presence of group policy is only an indication that there may be a problem with driver installation. As group policy is extremely complex and covers many different aspects of Windows configuration, and we make no attempt to parse it, presence of group policy should only raise a warning.

This call assumes that the guest is Windows and that the Registry could be examined by inspection. If this is not the case then an error is returned.

Please read "INSPECTION" in guestfs(3) for more details.

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error