• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3537
  • Last Modified:

Logon Script does not run in XenApp 65 (Server 2008 R2)

Do logon scripts still work in Server 2008 R2?

Our users currently run in a XenApp 5 (Server 2003) environment. The scripts all run correctly.
However in the new XenApp 6.5 (Server 2008 R2) farm that I am testing, the scripts do not run.

There are no events produced that refer to the script running or failing.
0
Howzatt
Asked:
Howzatt
5 Solutions
 
Vijaya Reddy Pinnapa ReddyCommented:
Logon scripts still works in Windows Server 2008 R2.

For your try to install this hotfix and check the problem.
http://support.microsoft.com/kb/2550944
0
 
HowzattAuthor Commented:
I think I read that article yesterday and installed the hotfix (not 100% that it is the same one, but will retry anyway).

Just to clarify, in Server 2008 R2, All I should need to do is it make sure the logon script batch file is entered under the logon script field under the user profile Tab in AD? I don't need to publish it via GPO instead?
0
 
HowzattAuthor Commented:
The hotfix didnt change anything unfortunately. Still no script running.
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
Vijaya Reddy Pinnapa ReddyCommented:
where u put the script file?
Put the script in the netlogon share and then it should run on boot and try it.
0
 
HowzattAuthor Commented:
Could it have something to do with users being able to view the scripts/policies folder in the domain root?

If I try browse to the UNC, I don't see any files on the Server 2008 R2 Server. However I can see the files if I browse the UNC on Server 2003
0
 
HowzattAuthor Commented:
The scripts are in both Netlogon and Scripts folders.
0
 
JHallidayChief Technical OfficerCommented:
This might sound like a pedantic question but are you specifying the script in the users set-up in the users Profile tab of Active Directory (see below) ?

 Logon Script Field
This should be just the name of the script i.e. logon.bat OR it can be a full UNC path to a common folder that the user has Read access to i.e. \\myserver\myshare\logon.bat

Regards

Jon
0
 
Casey HermanCitrix EngineerCommented:
Is this a printer related script?
0
 
HowzattAuthor Commented:
That's correct. I enter the script name in the Logon Script Field.
The script is used to map network shares to the users.

I think I know the issue now. Just realised that I cannot browse to any UNC path. It errors saying that "Accessing this resource has been disallowed".

Now I just need to find out if I set it in a local or Group Policy.
0
 
HowzattAuthor Commented:
The issue in the end was that I had enabled the setting in GPO to hide "Run" from the start menu. This for some reason also stops you from browsing UNC paths. I removed the setting and the script ran perfectly.
0
 
HowzattAuthor Commented:
Adding my answer as it shows the steps to resolve.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now