Once you have:
you should be ready to deploly that script to computers running the Microsoft Intune Management Agent. The Intune MDM channel does not support EXE, only MSI.
Follow the Wizard.
Microsoft Intune can not push out Group Policies onto computers, but we can target users or devices with scripts that change that setting in the registry.
Here is how you create a simple script that does just that.
@Echo off echo A Script to set a Registry value using Windows Intune REM registry key reg add HKLM\Software\Policies\Microsoft\PassportForWork /f reg add HKLM\Software\Policies\Microsoft\PassportForWork\ /v Enabled /t REG_DWORD /d 0 /f if errorlevel 1 ( echo Error installing reg key exit /b 1 ) else ( echo Installed regkey ) exit /b 0
Simply copy this script into a notepad file and then save it as PassportForWork.CMD right click and Run as Administrator to input the software policy where we set Passport for Work enabled as = 0 “Turn Off”
You can enter some of these register values:
Read more here: Registry Values (Technet)
Thanks to Richard Harrison at http://www.cableplugger.com/2013/03/adding-windows-registry-entry-with.html
Here is how you create a script that adds a registry setting to the computers managed by Microsoft Intune.
Right click it and select “Run as Administrator”