Problem:
This is not related to ProfileUnity software but we have seen few customers run in to similar issue after windows 10 update.
Symptoms:
Resolution:
Option 1) Build a new windows 10 gold image
Option 2) Attempt fix with scripts:
Step 1) Create (Removetempstate.ps1) Power Shell script:
#Start of Script
Get-AppxPackage -all *HolographicFirstRun* | Remove-AppPackage -AllUsers
taskkill /f /im explorer.exe
taskkill /f /im shellexperiencehost.exe
cd $Env:localappdata\Packages\Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy
Remove-Item -Recurse -Force .\TempState\
cd $Env:localappdata\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy
Remove-Item -Recurse -Force .\TempState\
Start explorer
# End of script
Step 2) Copy the PS script to network share location and create Application Launcher Rule to execute the PS sript:
- Filespec: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
- Arguments: -File \\server\share\ProfileUnity\Scripts\Removetempstate.ps1
- Timing: After Configuration Execution
Step 3) Create second application rule to complement the previous script:
- Filespec: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
- Arguments: Get-AppXPackage -AllUsers -Name * | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register“$($_.InstallLocation)\AppXManifest.xml” -Verbose}
- Timing: After Configuration Execution
Options:
If the shortcut is located in "ProgramData" than you can add these lines at the end of the "Removetempstate.ps1" script:
Example to remove "WinZip" folder in Start Menu with incorrect link:
# Start of Script
cd $Env:ProgramData'\microsoft\windows\Start Menu\programs'
Remove-Item -Recurse -Force .\Winzip\ -ErrorAction SilentlyContinue
# End of script
References:
Product: ProfileUnity-FlexApp
Product Version: Any