Import Certificate

1. On Windows 10 Since Windows 8 and Windows Server 2012, importing certificates can be done easily using PowerShell, and more precisely with the command Import-Certificate This cmdlet allows to import one or more certificates in to a certificate store. In case of PFX certificate, the command Import-PfxCertificate can be used (Imports certificates and private … Read more

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 more

Check if a user is logged-in with PowerShell

Patching machines is usually a constraint for the end user, mainly because of the reboot required at the end of the update… A good workaround to update machines without disrupting the user is to apply the patch and then reboot when no user is logged on the machine. Many possibilities exist to check whether a … Read more

Disable NetBIOS with PowerShell

1. NetBIOS and Direct Hosting With direct hosting, NetBIOS is not used for name resolution. DNS is used for name resolution and the Microsoft networking communication is sent directly over TCP without a NetBIOS header. Direct hosting over TCP/IP uses TCP port 445 instead of the NetBIOS session TCP port 139. By default, both NetBIOS … Read more

Windows 10 Customization

Here are a few customization that can be done on a Windows 10 image. Enable PowerShell Remoting Configure Remote Desktop Enable App-V Make IE the Default Browser Disable Quick Access: Recent Files Disable Quick Access: Frequent Folders Change Explorer Home Screen back to This PC Set Lock Screen Set Wallpaper Remove Built-in Apps Remove Edge … Read more

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 powercfg.exe /import mypowerscheme.pow dam2e870-e11b-4b99-88d9-9bec021a7dbs . . Activate Power Plan powercfg.exe /s dam2e870-e11b-4b99-88d9-9bec021a7dbs . . Result The following power plan is created … Read more

Disabling UAC for Individual Applications

1. UAC Incompatibility Some applications, even if compatible with the Operating System, are sometimes not compatible with UAC and prompt for administrator credentials when you try to launch them. This is really an issue for standard users who usually don’t have administrator account… For example, after having Lotus Notes 7 installed, when you try to … Read more

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 more

Policies Registry Settings

HKLM\Software\Policies registry entries must be managed by GPO ONLY. “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 more

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:   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 more