Link to home
Start Free TrialLog in
Avatar of Murty M
Murty MFlag for India

asked on

One Citrix application to be available for user only from 9 to 6 PM and after 6 PM the application should not be available for the user.

CITTIX VERSION 1912 LTSR
VDA 1912 LTSR
No NetScaler
I want one application to be available for user only from 9 to 6 PM and after 6 the application should not be available for the user. How can we achieve this?
This is only for specific users and for other user are should be available 24*7
Avatar of James Rankin
James Rankin
Flag of United Kingdom of Great Britain and Northern Ireland image

Restrict their logon hours in AD
Avatar of Murty M

ASKER

Yes, we can do it an alternative way from Active Directory.
If we put Restrictions in Logon time from AD user property, it will help to prevent the user from login.
But user will not be able to use any Domain functions, Outside defined hours.
But our requirement is user need to access other applications as well (Other than Citrix).

As per my Idea: To disable the application and enable the application. We will create a duplicate application and will give access to other users.
Can you give me the PowerShell script or any command to disable a specific application in delivery group?
Create 2 scripts with task scheduler.
1 - script to disable application
2 - script to enable application
Add both scripts to task scheduler
It will be helpful without admin overhead
ASKER CERTIFIED SOLUTION
Avatar of James Rankin
James Rankin
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murty M

ASKER

Do we have any other way directly through Citrix policy or any GPO ADMX template?
Other than this PowerShell one...I mean enabling and disable it through task scheduler
As our management don’t want to depend on the task scheduler as the password will gets changed..
Pretty sure you can't disable or enable Citrix apps through policy.

I reckon you could host the app on a single server though and shut it down after a certain time.