SOLVED

High CPU because of storage service StorSvc in Win 10 multi-session in Azure virtual desktop

%3CLINGO-SUB%20id%3D%22lingo-sub-2881948%22%20slang%3D%22en-US%22%3EHigh%20CPU%20because%20of%20storage%20service%20StorSvc%20in%20Win%2010%20multi-session%20in%20Azure%20virtual%20desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2881948%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20have%20Azure%20Virtual%20Desktop%20multi-session%20Windows%2010%20VMs%20(release%202009%20with%20latest%20updates).%20pooled%20host%20pool.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20noticed%20that%20StorSvc%20(storage%20service)%20runs%20system%20process%20svchosts.exe%20reach%20up%20to%2099%25%20of%20CPU%20(starting%20from%2050%25%20and%20increasing).%20I%20already%20ran%26nbsp%3BThe%20Virtual%20Desktop%20Optimization%20Tool%20recommended%20by%20Microsoft%20that%20%3CSTRONG%3Edisable%3C%2FSTRONG%3E%20Storage%20Sense%20using%20this%20registry%20setting%20of%20default%20user%20profile%3A%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22HivePath%22%3A%20%22HKLM%3A%5C%5CVDOT_TEMP%5C%5CSoftware%5C%5CMicrosoft%5C%5CWindows%5C%5CCurrentVersion%5C%5CStorageSense%5C%5CParameters%5C%5CStoragePolicy%22%2C%3CBR%20%2F%3E%22KeyName%22%3A%20%2201%22%2C%3CBR%20%2F%3E%22PropertyType%22%3A%20%22DWORD%22%2C%3CBR%20%2F%3E%22PropertyValue%22%3A%200%2C%3CBR%20%2F%3E%22SetProperty%22%3A%20%22True%22%3CBR%20%2F%3E%7D%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20issue%20become%20a%20real%20problem%20when%20multiple%20users%20using%20the%20same%20host%20(4%20or%20more).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20noticed%20that%20after%20around%204%20hours%20this%20process%20stop%20by%20itself.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20advise%20how%20can%20I%20prevent%20this%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EBachar%20Bader%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2891293%22%20slang%3D%22en-US%22%3ERe%3A%20High%20CPU%20because%20of%20storage%20service%20StorSvc%20in%20Win%2010%20multi-session%20in%20Azure%20virtual%20desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2891293%22%20slang%3D%22en-US%22%3EI've%20found%20that%20this%20issue%20is%20related%20to%20FSLogix%20in%20Windows%2010%20multi-session%20VM%20that%20is%20a%20host%20in%20AVD.%20so%20I%20will%20write%20this%20again%20in%20that%20channel.%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Ffslogix%2Fstorage-service-storsvc-in-win-10-multi-session-causing-high-cpu%2Fm-p%2F2891266%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Ffslogix%2Fstorage-service-storsvc-in-win-10-multi-session-causing-high-cpu%2Fm-p%2F2891266%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3Ethanks%3CBR%20%2F%3EBachar%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

I have Azure Virtual Desktop multi-session Windows 10 VMs (release 2009 with latest updates). pooled host pool. 

I noticed that StorSvc (storage service) runs system process svchosts.exe reach up to 99% of CPU (starting from 50% and increasing). I already ran The Virtual Desktop Optimization Tool recommended by Microsoft that disable Storage Sense using this registry setting of default user profile:
{
"HivePath": "HKLM:\\VDOT_TEMP\\Software\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy",
"KeyName": "01",
"PropertyType": "DWORD",
"PropertyValue": 0,
"SetProperty": "True"
},

 

This issue become a real problem when multiple users using the same host (4 or more).

 

I also noticed that after around 4 hours this process stop by itself. 

 

Any advise how can I prevent this ?

 

Thanks

Bachar Bader

 

1 Reply
best response confirmed by bacharbader (Occasional Contributor)
Solution
I've found that this issue is related to FSLogix in Windows 10 multi-session VM that is a host in AVD. so I will write this again in that channel. here: https://techcommunity.microsoft.com/t5/fslogix/storage-service-storsvc-in-win-10-multi-session-causi...

thanks
Bachar