diff options
Diffstat (limited to 'Software/Visual_Studio/Notes/Tango.Notes/PanelPC/Remote Debugging.txt')
| -rw-r--r-- | Software/Visual_Studio/Notes/Tango.Notes/PanelPC/Remote Debugging.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Notes/Tango.Notes/PanelPC/Remote Debugging.txt b/Software/Visual_Studio/Notes/Tango.Notes/PanelPC/Remote Debugging.txt new file mode 100644 index 000000000..a7d1ef40a --- /dev/null +++ b/Software/Visual_Studio/Notes/Tango.Notes/PanelPC/Remote Debugging.txt @@ -0,0 +1,17 @@ +To use PsExec on a Windows 10 remote machine we need to apply a registry patch: + +1. Open RegEdit on your remote server +2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System +3. Add a new DWORD value called LocalAccountTokenFilterPolicy +4. Set its value to 1 + +Example Usage: + +-> User Name +-> Password +-> HostName +-> Absolute/relative file path. +-> '-d' means don't wait for the process to exit. (Not sure it is working) +-> '-accepteula' means suppress the license dialog. + +psexec -u panel-pc -p Aa123456 -i \\panel-pc "\\Twine01\data\Roy BACKUP\Debug\PanelTest.exe" -d -accepteula
\ No newline at end of file |
