Check OS with PowerShell

All information relative to the Operating System installed can be retrieved from the registry and more especially in the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion . Until Windows 8.1, the entry CurrentVersion could be used to retrieve the Windows OS version: . But, this entry is deprecated since Windows 10, and Microsoft recommends to use the following … Read moreCheck OS with PowerShell

Import and Activate Power Scheme

How to import a power scheme and then activate it? Let’s consider the following power scheme: Name: Corporate-Balanced Power Scheme GUID: dam2e870-e11b-4b99-88d9-9bec021a7dbs This power scheme has been saved as mypowerscheme.pow . Import Power Scheme

. . Activate Power Plan

. . Result The following power plan is created and activated: . . Using … Read moreImport and Activate Power Scheme

Fix App-V Sequencer Generated MSI Packages

In Windows 10 1607, Windows Installer packages (.MSI files) generated by the App-V sequencer (version 5.1 and earlier) fail to install on computers with the in-box App-V client. When you try to install such a MSI, you get the following error message even if in-box App-V client is enabled on the machine. Microsoft Application Virtualization … Read moreFix App-V Sequencer Generated MSI Packages

Policies Registry Settings

HKLM\Software\Policies registry entries must be managed by GPO ONLY. https://technet.microsoft.com/en-us/library/cc939918.aspx “The Policies subkey contains entries that store Group Policy settings. Group Policy adds, deletes, and changes the values of entries in this subkey when you use the Group Policy snap-in to enable or disable a policy. When the policies affecting a particular user or computer change, … Read morePolicies Registry Settings

Win10 – Enabling App-V

Since Windows 10, App-V is a built-in feature of the Operating System. But this feature is not enabled by default. TechNet: https://technet.microsoft.com/en-us/itpro/windows/manage/appv-enable-the-app-v-desktop-client?f=255&MSPPError=-2147217396   1. GPO To enable the App-V client with Group Policy: Open the device’s Group Policy Editor. Navigate to Computer Configuration > Administrative Templates > System > App-V. Run Enables App-V Client and then select … Read moreWin10 – Enabling App-V