MTS
MTS copied to clipboard
Read registry values from remote PC with credentials (username,password)
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.
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