Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Resolving Citrix gateway error: Not a privileged user

by | Sep 23, 2021

Looking for a solution to Citrix gateway error not a privileged user? Read to find out what the experts at Bobcares have to say.

Do you find yourself getting stuck with “not a privileged user? Error when attempting to access the internal web link via XenMobile? Our Support Team at Bobcares has a solution for you!

Dealing with Citrix gateway error: not a privileged user

Did you know that internal websites are published as web links on XenMobile 10? Furthermore, the traffic policies are added on NetScaler Gateway and the proxy is configured in the environment.

This error often shows up when users try to access the web link.

Resolved: Citrix gateway error: not a privileged user

According to our Support Engineers, you can resolve this issue by ensuring the secure browse option is enabled in the Netscaler Gateways session profile. Remember to select Tunneled to internal network on the Secure Web MDX policy. You also need to ensure that the DNS suffixes are added under NSG.

After that, restrict external traffic by navigating to NetScaler Gateway, and then to Virtual Servers. Then, choose the Virtual Server on the  and click Edit.

NetScaler Gateway Virtual Server

Then, select “+” to access Policies.


Next, choose Traffic from the dropdown list.

Policies: Traffic

Next, click continue.

Policy Type

Again click the “+” sign as seen below:

Click +

After that, navigate to Request Profile and enter the Name of the Traffic Policy. Enter the following expression for the policy:

(REQ.HTTP.HEADER User-Agent CONTAINS Mozilla || REQ.HTTP.HEADER User-Agent CONTAINS com.citrix.browser || REQ.HTTP.HEADER User-Agent CONTAINS Secure Web) && REQ.TCP.DESTPORT == 80

Then click Create as seen below:

NetScaler Gateway Traffic Policy

Remember to click “+” to create a profile for this policy.

After this, enter the Traffic Profile’s name and choose the protocol as HTTP. This profile is for SSL and HTTP. Did you know that CVPN traffic is actually HTTP traffic in design, regardless of service type or destination port? Our Support Engineers would like to remind you to enter the Port number and IP address in the format of the Proxy Server. Then click create.

After that bind policy with a higher priority.

Policy Binding

Next, create a traffic policy that skips proxy:

Create Traffic Policy

The priority for no proxy has to be lower.
Policy Binding

In case you are still getting the same error, ensure the policy hits on NetScaler when website is accessed. Run these commands on NetScaler putty:

> shell
# cd /var/nslog
# nsconmsg -g pol_hits -d current

This confirms that the policy is hit. You can use trace to check the header value requested.

[Need help with Server Management?We are just a click away.]


In conclusion, we saw how “not a privileged user”, a Citrix gateway error was resolved under the guidance of the skilled Support Engineers at Bobcares.


Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.



Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center


Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]


Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid


Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie


These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.