Generate Event Log for No-Runs on Login
PlannedSporadically I see reports of ProfileUnity not running or bringing down settings. When troubleshooting, I usually see this accompanied by appdata\local\temp\profileunity only having the shimiinit log and none of the other normal logs. Generally this issue is resolved on a reboot. I assume this occurs when a service/process failed to start or something.
But this is not really a great way to track this across the fleet. If you can generate an event log when ProfileUnity fails to start or process a login, I can setup a SCOM monitor to generate an alert. I am open to other ideas as well of tracking the general health of the ProfileUnity agent, maybe something else already exists that I can work with.
-
Official comment
Hi Josh, thanks for the suggestion, we'll see how we can work this in.
This might most commonly happen when the INIPath HKCU reg value isn't created in time, or the path it contains isn't accessible.
By default, this is applied by a GPO policy that is assigned to the Computers' OU, and contains the Loopback=Merge GPO setting to cause the user-specific policies to be applied to all domain users logging into those machines. If the Computer policies are delayed, its possible this could happen, or for other reasons.
Workarounds might include "moving" the user-side Enabled, INIPath and Logoff script policies into a new GPO that is assigned to the user's OU instead of the computer's OR set these user-side settings within the base image as a local GPO policy. (and unconfigure the loopback=merge setting in either case in the computer GPO)
Hope this helps!
-
you could try this option as well.
LogoffIfTemp.ps1is a PowerShell script that detects whether the currently logged-in user is running under a temporary Windows profile and, if so, safely logs them off. It also performs cleanup of Group Policy logoff scripts — specifically those associated with Liquidware ProfileUnity — to prevent those scripts from firing during the logoff of a temporary session.https://github.com/liquidwarelabs/ProfileUnity/tree/master/Scripts/AutoLogoutOnTempProfile
0
Please sign in to leave a comment.
Comments
2 comments