# 3.4 – Start a program on connection (as shell)

Set up the following parameters:
```
startProgram=shell
command=encodeURIComponent(‘C:\\apps\\notepad.exe’)
directory= encodeURIComponent(‘C:\\apps\\’)
```
**Checklist:**
- You many need to allow the RDP server to run any application if you are connecting to a Windows server.