General discussion


How to kick off a login script in Citrix

By C O R ·
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?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by aleyj In reply to How to kick off a login s ...

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!

Related Discussions

Related Forums