Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gci 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags' -recurse |
- ?{$_.GetValueNames() -contains 'GroupView'} |
- ?{$_.GetValue('GroupView') -ne 0} | %{
- $splat = @{
- 'Path' = $_.PSPath
- 'Name' = 'GroupView'
- 'Value' = 0
- }
- Set-ItemProperty @splat
- $splat.Name = 'GroupByKey:PID'
- $splat.Value = 0
- Set-ItemProperty @splat
- $splat.Name = 'GroupByKey:FMTID'
- $splat.Value = '{00000000-0000-0000-0000-000000000000}'
- Set-ItemProperty @splat
- }
- gps explorer | spps
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement