PowerShell GUI

PowerShell scriptign can be used to create graphical user interfaces quite easily. No need to import specific modules or to purchase any external software, PowerShell works with WinForms out of the box. . 1. GUI Step By Step 1.1 Interface Definition To create a GUI using PowerShell, the first thing to do is to define properly the … 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

Include AD Group Content in SCCM Collection

This article details the process to include the content of an AD Group in a SCCM collection using a query. When a machine is added in the AD group, the SCCM collection is automatically populated after its next refresh.   When the membership rules of a collection are defined (when the collection is created or later … Read more

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

SCCM Collection Query

1. All Desktops The following query allows to include all desktops in a collection using the detection of the ChassisTypes (being a part of Win32_SystemEnclosure) select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name, SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup, SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM_ENCLOSURE.ChassisTypes in ( “3”, “4”, “5”, “6”, “7”, “15”,”16″) ChassisTypes 3 : Desktop (including virtual machines) … Read more

Reset IE Settings

There is an easy way to reset Internet Explorer settings. In Internet Explorer, launch the “Internet Options” utility, then go to the “Advanced” tab. Then click “Reset…” . . . Usually, in enterprise context, the “Advanced” tab is deactivated to avoid end users to modify these settings. It is possible for administrators to reset Internet … Read more

Managing UAC with PowerShell

User Account Control (UAC) is a security component that enables users to perform common tasks as non-administrators, and as administrators without having to switch users, log off, or use Run As. By separating user and administrator functions, UAC helps users move toward using standard user rights by default. UAC can be managed using the registry. … Read more

Win10 – Lock & Logon Screens Image

Before the anniversary update of Windows 10, the lock screen and the logon screen could have their own wallpaper, and if it was easy to manage the lock screen, defining the logon screen was more difficult and 3rd party tools must been used… Since Windows 10 Redstone, the lock screen and the logon screen share … Read more