Solved

Logon script mapping important drive fails in a 2003-terminal-server farm

Posted on 2011-09-05
6
500 Views
Last Modified: 2012-05-12
On our Windows Server 2003 farm logon scripts that are processed via Logon Scripts map drives succsesfully in almost any situation.

Periodically though it doesn't work, and now I discovered that for one particular group of users this is almost allways the case, and those are users that have a startup-link placed in their profile (<userprofile>\Start Menu\Programs\Startup).

Whats happening in the state of Denmark?
0
Comment
Question by:jmateknik
[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
  • 3
  • 3
6 Comments
 
LVL 4

Expert Comment

by:Daelt
ID: 36483127
i dont get it very clearly.

Did you copy a script on their (<userprofile>\Start Menu\Programs\Startup)?
What is the purpose of this special setting in this group only?

0
 
LVL 1

Author Comment

by:jmateknik
ID: 36483317
The terminal-server farm is a hosting-solution for our customers, that use the same specialized Navision product from their terminal sessions.

The script fails in rare cases/periodically for users, but for one particular group of users it fails often. This group of users have this URL in their profile\Start Menu\Programs\Startup folder.

The script has nothing to do with the URL being initiated from the startup folder, but the URL points to an intranet site outside the network.

Hope this clarifies...

0
 
LVL 4

Expert Comment

by:Daelt
ID: 36483398
do you see the login script window when it fails?

On good test to do is also to try to launch the script manually from one of this user session.
Try to launch it from the netlogon folder and try to launch it locally (paste the script file in their session)

You should be able to see if there is any problem executing the script into the cmd window.
0
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 
LVL 1

Author Comment

by:jmateknik
ID: 36483779
do you see the login script window when it fails?
Nope, but I have tried enabling the policy 'Run logon scripts visible", and then it shows a commandprompt (the script is loaded)"
On good test to do is also to try to launch the script manually from one of this user session.
Try to launch it from the netlogon folder and try to launch it locally (paste the script file in their session)
Both scenarios maps the drive (runs the script correctly).

AND if I remove all user-data on a test-user with similar gropu policy settings, the drive is mapped.

I tried enabling the group policy "Run Logon Scripts synchronously" to .. [citat:] "..direct the system to wait for the logon scripts to finish running before it starts the Windows Explorer interface program and creates the desktop". This causes the script to not being run even without the URL in the startup-folder.

So - I'm still in trouble...
0
 
LVL 4

Accepted Solution

by:
Daelt earned 500 total points
ID: 36484076
Let the Run Logon Scripts synchronously to off

Stay in the same "System" tree of group policies :
- Check that Netlogon>Netlogon share compatibility is off or not configured
- Try enabling scripts>Run logon scripts Asynchronously, see the results

AND if I remove all user-data on a test-user with similar gropu policy settings, the drive is mapped.
Can you be more specific and give details please?
0
 
LVL 1

Author Closing Comment

by:jmateknik
ID: 36486939
I found the culprit which hadn't anything to do with Group Policy, but simply our script calling a different script to set global uservariables, but since this script then runs synchronously with the "motherscript", unfortunately in some situations the variables are set, and some they're not.

I give you a good and partyially for your effort - thanks for trying to help.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

617 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