<t>Man this is great. Thank you for putting so much effort into this. Coincidentally I've been working on updating all our Intune devices to last logged on user and been having some issues with the script I found. I'll give this a shot and see how it behaves.</t>