![]() |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
Remote registry key permissions
Hi
I am wondering if there is anything that I can use to get registry permissions using powershell of a remote server. for example, how can I get permission of one of my remote server named server01 registry key HKLM\Software\Microsoft ? Any help or direction will be greatly appreciated. UC |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Re: Remote registry key permissions
UC wrote:
> Hi > > I am wondering if there is anything that I can use to get registry > permissions using powershell of a remote server. for example, how can I get > permission of one of my remote server named server01 registry key > HKLM\Software\Microsoft ? > > Any help or direction will be greatly appreciated. > > UC What OS? Do you have Windows Remote Management (winrm) installed? -- Microsoft MVP - Windows PowerShell PowerGadgets MVP Blog: |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Re: Remote registry key permissions
$MachineName = 'server' $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $MachineName) $regKey= $reg.OpenSubKey("Software\Microsoft" ) $regkey.GetAccessControl().GetAccessRules($true,$t rue, [System.Security.Principal.NTAccount]) Enjoy, Greetings /\/\o\/\/ "Marco Shaw [MVP]" wrote: > UC wrote: > > Hi > > > > I am wondering if there is anything that I can use to get registry > > permissions using powershell of a remote server. for example, how can I get > > permission of one of my remote server named server01 registry key > > HKLM\Software\Microsoft ? > > > > Any help or direction will be greatly appreciated. > > > > UC > > What OS? Do you have Windows Remote Management (winrm) installed? > > -- > Microsoft MVP - Windows PowerShell > > > PowerGadgets MVP > > > Blog: > > |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |