MTS icon indicating copy to clipboard operation
MTS copied to clipboard

Read registry values from remote PC with credentials (username,password)

Open mut9bu opened this issue 2 years ago • 1 comments

Hello I have tried your solution with reading registry data from localhost. (Installed software). It worked fine. But how can i read registry values from a remote pc? I have to pass also admin credentials (username,password). Can you support? I run the php script in Windows Server 2019.

mut9bu avatar Jun 08 '22 12:06 mut9bu

Hi,

It comes down to the credentials you are executing powershell with. Privilege escalation is not possible in MTS. But if you can execute the remote call inside the local powershell then not a problem, just craft the appropriate command including credentials. someting along the lines of:

https://docs.microsoft.com/en-us/answers/questions/229641/reading-registry-values-on-remote-servers-using-a.html

merlinthemagic avatar Jun 08 '22 19:06 merlinthemagic