Forum Discussion
Christiaan_Brinkhoff
Microsoft
Jul 31, 2020(Azure) Virtual Desktop Optimization Tool now available
Optimizing images has always been an important component of preparing images as part of a traditional Remote Desktop Services (RDS) infrastructure or virtual desktop infrastructure (VDI)....
Pashar
Feb 03, 2021Copper Contributor
Hi there, thank you guys for developing this tool. I am testing it and having it execute as a start up script after provisioning the Windows 10 2004 multi-session hosts. What I have noticed is that the optimization script appears to break the Citrix Workspace App/Receiver. When the Citrix Receiver is invoked or executed to start a published citrix app, it tries to repair itself. If I dont run the optimization script, the Citrix Workspace App/Receiver launches correctly. Has anyone else seen this?
Thanks
Nagorg-Terralogic
Feb 03, 2021Brass Contributor
Personally I have seen this break a lot of stuff. I've had better luck applying most of the optimizations via GPO. This doesn't remove the MISX Apps but I honestly think this tool takes a "bull in a china closet" approach on that.
My .02...
- PasharFeb 04, 2021Copper Contributor
Nagorg-Terralogic - Great idea but does need more testing!
- skp574Feb 18, 2021Copper Contributor
I have an issue when running the tool - it breaks Snip & Sketch. I have excluded the app from being removed. But there seems to be other optimisations happening that breaks it and causes it to crash when pressing Win + Shift + S.
Faulting application name: ScreenClippingHost.exe, version: 2001.22012.0.551, time stamp: 0x5f7e6f9b
Faulting module name: ScreenClipping.dll, version: 2001.22012.0.551, time stamp: 0x5f7e6b8c
Exception code: 0x80000003
Fault offset: 0x000000000001b92d
Faulting process id: 0x200
Faulting application start time: 0x01d7061f864d4936
Faulting application path: C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\ScreenClipping\ScreenClippingHost.exe
Faulting module path: C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\ScreenClipping\ScreenClipping.dll
Report Id: 03cc773f-c630-4c66-aea4-49df01a43ccc
Faulting package full name: MicrosoftWindows.Client.CBS_120.2212.551.0_x64__cw5n1h2txyewy
Faulting package-relative application ID: ScreenClipping
The app works find before optimisation script is run. Now trying to see what optimisations are causing it to break and exclude those as well.
Running on a Windows 10 20H2 image in Azure trying to set up a gold image to update a session pool.
- GarthlogicFeb 18, 2021Brass Contributor
Howdy.
I believe if you edit the services.json file, find the CapureService and change the VDIState value to "Unchanged", the will allow the CaptureService to start and Snip will work.
Note: I was unable to make it work AFTER it broke, but setting that value kept it from breaking after I rebuilt the session host and re-ran the optimize.
example:
{
"Name": "CaptureService",
"VDIState": "Unchanged",
"URL": "https://docs.microsoft.com/en-us/uwp/api/windows.graphics.capture?view=winrt-19041",
"Description": "OneCore capture service: enables optional screen capture functionality for applications that call the Windows.Graphics.Capture API."
}Good luck