Let's perform the following steps:
- All of your session configurations should contain at least a valid session type. For JEA, RestrictedRemoteServer is preferred:
SessionType = 'RestrictedRemoteServer'
- To find out what your users are doing and which errors they encounter, you can configure logging. To do so, you can enable transcription on a session configuration:
TranscriptDirectory = 'C:\PSTranscript'
- To allow users to transfer data to and from a session, you can mount a user drive. This is just a plain filesystem directory:
MountUserDrive = $trueUserDriveMaximumSize = 10MB
- Using a virtual account, you can have PowerShell create a local administrative account to manage the local machine:
RunAsVirtualAccount = $true ...