Discussion Locked

How to kick off a login script in Citrix

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have been tasked with automating a script for when a user logs in to a Citrix Session. The script basically modifies an .ini file in the user's Windows profile that is created the first time they log in to Citrix. Trouble is, I do not know of a way to have Citrix kick off a login script when the user logs in. Maybe I'm just missing something. Any ideas?

1 reply

by aleyj

edit %SystemRoot%\System\usrlogn2.cmd and call your script from there. If it does not exist, simply create it.
The format would simply be:
@echo off
call %SystemDrive%\path\to\my\script.bat

HTH - Good luck!

This discussion is closed to new replies.