Logon scripts in Intune

Quick and simple tip on how to get a Logon script like experience with Intune. On Azure AD joined devices, there’s currently no option to create Logon/Logoff or Startup/Shutdown script like we can with GPOs. I had a customer that needed a solution to start a command file as admin everytime the user signed on to the device.

There’s a workaround – Use Scheduled Tasks to create tasks that runs on Log On, and runs with Administrator rights / Local System if needed. It’s a very simple Powershell script, that created a scheduled task:

  • Create the scheduled task
  • Runs at Logon
  • Runs with Local SYSTEM account
  • Runs a command specified (in this example it runs a .cmd file that requires administrative rights. The .cmd file is already present on the devices – a software vender has placed it here)
Continue reading

How to connect SCCM to Windows Analytics Upgrade Readiness

In order to start using all the data in the Upgrade Readiness solution in Windows Analytics, we need to connect ConfigMgr to Upgrade Readiness. Once that is done, we can create dynamic collection based on what devices are ready to start upgrading to the next Windows 10 Feature Update.

This blog will not go into details on how to monitor and resolve issues in the Upgrade readiness solution. That might come in a later post.

Why?

Why is this cool? Because we can leverage the data available in Windows Analytics, to make sure our devices only gets upgraded once we’ve confirmed they are ready to upgrade in the Upgrade readiness solution.

Prerequisites:

  • Global Admin in Azure AD
  • Owner on the Log Analytics Workspace Resource group
  • Log Analytics Workspace with Upgrade Readiness Solution
  • ConfigMgr Infrastructure
Continue reading

KB2894518 October 2014 new updates that breaks the TS

New updates was releases on yesterdays patch Tuesday, and again one of them breaks the Task Sequence.
Sadly, http://support2.microsoft.com/kb/2894518 Task sequence fails in Configuration Manager if software updates require multiple restarts – has not been updates yet, so i had to troubleshoot a little bit.

Continue reading

If you’re experiencing problems deploying Windows 7 images to newer hardware such as Lenovo T440 or X240, it might be due to the drivers for those models, are requiring a newer version of Kernel Mode Driver-Framework.
The problems i have seen is when Windows setup tries to install component, and error message pops up and saying something like “Windows could not configure one or more system components”

Continue reading

Kernel Mode Driver-Framework 1.11