My version of Jason Sandys Per User Login Message solution
You can read Jason Sandys original post about configuring Per User Login Message –https://home.configmgrftw.com/per-user-login-message/
In this blog post, we are going to take a different approach to configure it. Jason Sandys configured the notifications through the registry and I didn’t like that approach. It works perfectly without any issues, but I wanted to have everything in PowerShell 😊
Secondly what if, the user logged on and saw the message and went away again. When the user comes back and unlocks the workstation again, then, of course, the user doesn’t get that message anymore (in this case I assume that no reboot yet).
So, in this solution user gets notifications in two different cases:
- At log on
- On Workstation unlock
This solution is using built-in Scheduled Tasks
Steps to configure it
- Create a folder in your source repository, for example, KJ Windows 10 Upgrade Notification v02.
- Create a subfolder in KJ Windows 10 Upgrade Notification v02 called Content.
- Download Configure-KJW10UserNotification.ps1 and W10Notification.xml from my GitHub repository and place both file under KJ Windows 10 Upgrade Notification v02 folder.
- Download UpgradeInProgress.xml from my GitHub repository and place it inside the Content folder.
- Download Invoke-KJUserNotifcation.ps1 from my GitHub repository and place it inside the Content folder.
- Download Jason Sandys UI++ and make sure that UI++64.exe is inside the Content folder.
- Download Windows 10 and STOP images from Google and place them inside the Content folder.
After these steps you should have:
- KJ Windows 10 Upgrade Notification v02 (root folder)
- W10Notification.xml
- Configure-KJW10UserNotification.ps1
- Content (subfolder)
- Invoke-KJUserNotifcation.ps1
- STOP.png
- UI++64.exe
- UpgradeInProgress.xml
- Windows10.png
- Content (subfolder)
Root folder
Content folder
Currently in this solution, I do except that all files will be placed under C:\Program Files\KJ Windows 10 Upgrade Notification folder. If you want to copy the files to another folder, then make sure that you change the addresses in W10Notification.xml and UpgradeInProgress.xml.
If your files are OK, then run the following command to create the Package in Configuration Manager
- New-CMPackage -Name “KJ Windows 10 Upgrade Notification” -Path “\\cm01\sources\OSD\Packages\KJ Windows 10 Upgrade Notification v02”
Task Sequence configuration
Now create a new test Task Sequence and add the following steps
- Add
- Remove
Now deploy the Task Sequence to your test machine. After the successful test deployment, you should have one Scheduled Task, called KJ – Windows 10 In-Place Upgrade Notification
Content folder files under Program Files
Now lock and unlock your test workstation and you should see Jason Sandys UI++ message.
Have fun 😊