I'm been having some fun with PHW the last few days and wanted to see if it's possible to run the server without needing user input.
Why? I'm working on an MSP application that will use remote support. My plan is that if I need remote access to the client, I can send a command to my MSP program that will execute the PHW server and automatically start the remote session.
So...do-able?
And if it's any help at all, I'm using a repeater and the ID will be entered through a command (using the shell command from my application).
After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130
2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130
2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
PHW server able to run without user input?
Re: PHW server able to run without user input?
Sure it can be done by using the "-direct" option in the helpdesk.txt, so the content of the may be something like:
-connect xx.xx.xx.xx:5500 -passwd encrypted_pwd -direct
See [topic=8919]this thread[/topic] for a reference of the PHW helpdesk.txt syntax.
-connect xx.xx.xx.xx:5500 -passwd encrypted_pwd -direct
See [topic=8919]this thread[/topic] for a reference of the PHW helpdesk.txt syntax.
Re: PHW server able to run without user input?
Thanks for the reply. I actually did just find that by reading far enough.
This works great and my program can execute the remote session. Is it also possible to remove the login screen on disconnect? Whenever I close the viewer, the server again pops up the login screen, asking for a username and password (except that they are locked so no data can be entered) and you have to click 'Quit' to actually close it.
This works great and my program can execute the remote session. Is it also possible to remove the login screen on disconnect? Whenever I close the viewer, the server again pops up the login screen, asking for a username and password (except that they are locked so no data can be entered) and you have to click 'Quit' to actually close it.
Last edited by nobody3 on 2008-11-22 04:38, edited 1 time in total.
Re: PHW server able to run without user input?
Unfortunately PcHelpWare doesn't terminate itself after connection ended (while SC does), it always popup the GUI again.
But there is a workaround, rather than end the connection with normal procedure, you can terminate the connection by killing the PHW process by using the taskkill command, like this:You can do this either:
1. Have a link of the above script on the PHW server desktop, so double click it will end the connection, and PHW will not popup as well, as the pchelpware.exe is killed already.
2. The same approach, but send the command via your MSP program.
But there is a workaround, rather than end the connection with normal procedure, you can terminate the connection by killing the PHW process by using the taskkill command, like this:
Code: Select all
taskkill.exe /IM pchelpware.exe1. Have a link of the above script on the PHW server desktop, so double click it will end the connection, and PHW will not popup as well, as the pchelpware.exe is killed already.
2. The same approach, but send the command via your MSP program.
Re: PHW server able to run without user input?
Thanks, I think I'll go with option number two.

