The SSH and RDP scripts are simple and should work out of the box on most systems. They are built for resilience, i.e. when this site is slow or even offline, the regular login procedure is not affected.
The RDP script might need some tweaking based on your Windows group policies. The script creates a new scheduled task, which should run automatically after an RDP event. If the script does not seem to work try one of these:
- Recommended way: Open the start menu -> Type cmd, right click on Command Prompt -> Run as administrator. In the command prompt run:
powershell C:\Temp\txtlog.ps1
Replace the path C:\Temp\txtlog.ps1 with the correct location of the script. Importing the task this way also prevent a Powershell window from flashing after you login.
- Open the created "txtlog" task in the Windows Task Scheduler. Change the Security options to Run whether user is logged in or not and change the User to a local account (such as your own account) instead of the Network Service. Save the task with OK, provide your username and password and try opening/closing an RDP session.
The SSH and RDP scripts are provided without any warranty. The scripts cannot access passwords.