C
clivebuckwheat
Guest
Hi
I'm doing a build and capture in MDT I'd like to slip in a custom start menu for the Administrator account.
In order to do this i am trying to run the following powershell to delete a certain regkey that is preceeded by a unique sid.
Remove-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\*$start.tilegrid$windows.data.curatedtilecollection.tilecollection' -Force -Recurse Get-Process Explorer | Stop-Process
But it doesn't remove the key, if I delete it manually and copy a new LayoutModification.xml file to
c:\Users\Administrator\Appdata\Local\Microsoft\Windows\Shell
and logoff and log back in as Administrator I have a new start menu.
So my question is how do I automate the deletion of this regkey?
More...
I'm doing a build and capture in MDT I'd like to slip in a custom start menu for the Administrator account.
In order to do this i am trying to run the following powershell to delete a certain regkey that is preceeded by a unique sid.
Remove-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\*$start.tilegrid$windows.data.curatedtilecollection.tilecollection' -Force -Recurse Get-Process Explorer | Stop-Process
But it doesn't remove the key, if I delete it manually and copy a new LayoutModification.xml file to
c:\Users\Administrator\Appdata\Local\Microsoft\Windows\Shell
and logoff and log back in as Administrator I have a new start menu.
So my question is how do I automate the deletion of this regkey?
More...