Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-05-12
11
Medium Priority
?
3,384 Views
Last Modified: 2013-05-18
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
Comment
Question by:Howzatt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 9

Assisted Solution

by:Vijaya Reddy Pinnapa Reddy
Vijaya Reddy Pinnapa Reddy earned 1000 total points
ID: 39160218
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
 

Author Comment

by:Howzatt
ID: 39160229
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
 

Author Comment

by:Howzatt
ID: 39160252
The hotfix didnt change anything unfortunately. Still no script running.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 9

Assisted Solution

by:Vijaya Reddy Pinnapa Reddy
Vijaya Reddy Pinnapa Reddy earned 1000 total points
ID: 39160267
where u put the script file?
Put the script in the netlogon share and then it should run on boot and try it.
0
 

Author Comment

by:Howzatt
ID: 39160271
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
 

Author Comment

by:Howzatt
ID: 39160274
The scripts are in both Netlogon and Scripts folders.
0
 
LVL 5

Assisted Solution

by:JHalliday
JHalliday earned 500 total points
ID: 39161127
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
 
LVL 10

Assisted Solution

by:Casey Herman
Casey Herman earned 500 total points
ID: 39161280
Is this a printer related script?
0
 

Author Comment

by:Howzatt
ID: 39161610
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
 

Accepted Solution

by:
Howzatt earned 0 total points
ID: 39161650
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
 

Author Closing Comment

by:Howzatt
ID: 39176884
Adding my answer as it shows the steps to resolve.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several days of searching and hunting for limited documentation, I wanted to share this guide to hopefully save someone the hassle of trying to figure this out on their own. I have tested this on Xendesktop 7.1 and PS 4.5 running simultaneous…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question