Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Modifying DWORD value of registry key in HKEY_CLASSES_ROOTCLSID?

$
0
0

I am trying to modify the DWORD value of a registry key under HKEY_CLASSES_ROOTCLSID. The key is a GUID (ie: HKCR:CLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}) and I can’t seem to get PowerShell to recognize it. Using Set-ItemProperty, I get “Cannot evaluate parameter ‘Path’ because its argument is specified as a script block and there is no input.” Within HKCR:CLSID I can Get-ChildItem and view all keys (there’s about a million), but can’t do anything with them. I thought it might have something to do with the braces, but I can’t even seem to modify keys without braces. Any help is appreciated.

submitted by /u/jerdub1993
[link] [comments]

The post Modifying DWORD value of registry key in HKEY_CLASSES_ROOTCLSID? appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles