This message was deleted.
# _general
s
This message was deleted.
👍 1
Known issue unfortunately, caused by "Connected Devices Platform Service" being disabled. This was reported to Microsoft in May, unfortunately there have been no development as far as I know: https://github.com/MicrosoftDocs/windowsserverdocs/issues/4303
👍 2
a
I see that the Connected Devices Platform Service is set to (automatic, delayed start, trigger start) and currently running and i still have the issue so would that be the same thing ya think?
j
My settings app always crashes until I log off or create a folder on the user's desktop
m
Weird. What you are describing (including it working under admin, but not under regular user) is exactly matching these symptoms. We have started seeing this in build 1909 (and 2004), so Microsoft probably changed something. Anything in Process Monitor (IO failures etc.)?
a
actually i'm a domain user w/ local admin rights and i see the issue too. i can get into settings fine and go into SOME sections but others (like settings, display , etc) will crash every time
i'll see if anything jumps out in process monitor. short term as we are migrating users to new desktops i need to find a way to be able to change display zoom level for some
j
Turn off FSLogix if you're running ProcMon on top of it
a
thanks !
so i run citrix optimizer on my base .......and i just opened it again and ran an anyalyze as myself to see what is already done and i do see the connected devices platform service is showing as "optimized" ......but like i said that serivce is running.
m
One stupid trick that I've been using with Optimizer recently (and works surprisingly well). I now use it more often than spending hours on ProcMon. Take snapshot. Change all services to Automatic (PowerShell). Start all services (PowerShell) Test if you can reproduce issue. If it's gone, you know it's one of the services. Restore from snapshot.
Aaaaaaaaaaah, sorry, not I know what's the problem!
a
i see connected user experiences and telemetry is optimized too
m
Too me a while a remember. That service is PER USER service
You need to modify template service state, not your own (per user) instance
a
sorry to play ignorant but how can i test that on my existing desktop thats showing the issue and then ultimately i'd need to fix it in the base image of course
guessing maybe just the startup state for the service in the registry maybe?
m
Use Citrix Optimizer with this template 🙂 Click on Analyze, if it shows Failed, click on Optimize and restart.
Per-user services requires special handling, I'm too lazy to look it up and it's faster for me to just create new Optimizer template to take care of it 🙂
a
bad ass! if it helps i'm all for anything! thanks man! trying this now
ok analyzed and says not optimized
optimizing and restarting (sorry for the play by play) 🙂
m
"popcorn"
a
dude! didnt even need a reboot! optimized and at least for me so far i'm good! so i know i can deploy this w/ wem but would you know how i can run this fix via powershell maybe? thinking i can fix it in the base of course but have about 30 desktops already deployed i need to fix
m
In your case, it should be rather simple actually:
Set-Service -Name CDPSvc -StartupType Automatic
j
Tends to be handy when the authors of tools are on the slack channels 🙂
👍 3
m
This supports
-ComputerName
, so you can run it remotely
d
Awesome support Martin, it was a pleasure to read the hole thread 😁
a
very nice! i probably could throw this into controlup to to knock them all out at once. i still get a crash/freeze when i go into the default apps - set default for file type settings page it seems w/ a different dll called out. i'm rebooting now just to see if it helps after that fix to be sure
either way thank you guys!
m
<advertisement>If you want to learn how to quickly build/edit Citrix Optimizer templates, make sure to register for Citrix Converge 2020 conference 😉 </advertisement>
👍 2
d
@Martin Zugec: Connected User Experiences and Telemetry is also part of the Windows Server 2019 template, any concern?
a
so would we possibly need to do this same fix for the telemetry service as well?
m
Not as far as I can say, we have seen this only with Windows 10 builds 1909 and 2004. It is still included in Microsoft's recommendations
Ah, sorry - telemetry is different, it is required for Defender ATP, so if you are not using it, you can keep it disabled.
l
That connected devices service needs to run once for a user and then whatever it does it stores it with the users profile. Its a royal pain in the backside. Bascially, dont disable that service and you'll be fine. Just went through this 😉
j
Is it the same on server 2016?
l
Yep, sorry I was referring to server 2016.
j
Wonder if that's why my Settings app crashes at first logon.......
l
This particular issue is only when you select "Display" in the immersive control panel.
j
Crashes when I select Personalize from the desktop right-click Menu, which sounds close....
👍 1
a
yup thats exactly what was happening for me too (right click - personalize). now it works great! thanks for all the help here! not sure whats going on w/ the default app by file type hang but fight for another day!
m
Please, if anyone can confirm this is an issue in 2016 (or 2019) as well, please let me know and I'll make sure we remove it in next release
d
Never had an issue with 2019 so far.
j
Well, I was 100% positive it was happening on our Server 2016 build (I still have a JIRA for it) - but I just tested on the latest build that went out today and it seems fine, so maybe it has resolved itself or one of my ops guys has sorted it
l
@Martin Zugec just worked this through in 2016.
m
@Leee Jeffries Meaning that you can reproduce the same issue on 2016?
l
Had it last week. If the CDPSvc is disabled when a user first logs in with a clean profile the immersive control panel will crash when display is selected. If an existing user logs in with an existing profile its fine.
m
Got it, thanks - makes sense to remove this from Optimizer for other templates as well. It's a shame, since this has bigger impact (running as a per-user service for each session)
l
MS need to fix it for sure or... I need to work out what it does. I cant remember if its runs as service group or not.
j
BLOG
l
Sure, as soon as I get time to play. It's done.
a
thanks again for everyones assist here! solves a really annoying issue! on the optimizer topic, is there an option in the current version to "undo" any settings that were applied? i have a question to make the notification tray icons work again. i'd rather just leave it off but in case i get enough pushback thought i'd see what my options are (i think thats one that we had turned off w/ the optimizer)
a
awesome thanks! do you know off top of your head if optimizer disables the action center/notifications & actions? i see it shows as some of these settings are hidden or managed .....* so trying to find out if thats something in the optimizer or if we turned it off another way*
d
I‘m sure that Citrix Optimizer doesn’t disable the action center.
a
i think we also did a light run of the vmware optimizer on top of this on this image maybe so maybe that is the culprit. now just how to figure out how to undo it if i need