Solved

Logon script works very slow

Posted on 2001-06-20
16
169 Views
Last Modified: 2010-04-13
I wrote a small logon script in VBS. This script just evalutes in what site the user is and maps different network share according to the site information.

When I execute the script locally it works very good. When starting the script from a Domain GPO it works very slow (about 20sec per mapping).

Any ideas?

Thomas
0
Comment
Question by:moellert
[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
  • 8
  • 2
  • 2
  • +3
16 Comments
 
LVL 12

Expert Comment

by:Housenet
ID: 6210131
Have to tried to compare speed when processing gpo's asynchronously ? Or say with just one gpo applying to a user instead of several ?
-See, I think the problem is more related to the processing of gpo's themselves as opposed to the script.
0
 
LVL 2

Author Comment

by:moellert
ID: 6210268
0
 
LVL 2

Author Comment

by:moellert
ID: 6210269
0
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 
LVL 2

Author Comment

by:moellert
ID: 6210271
0
 
LVL 2

Author Comment

by:moellert
ID: 6210286
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6210447
The "no text" error often results when trying to paste code or formatted text directly, especially if it is large and exceeds 127 characters.  Engineering is looking into this problem.  Can you type in text directly, moellert?

Moondancer
Community Support Moderator @ Experts Exchange
0
 
LVL 2

Author Comment

by:moellert
ID: 6210569
Hi Housenet,

I think you are right. The script is not the problem. What is that thing with the "asynchronously processing"?
0
 
LVL 3

Expert Comment

by:hendrik999
ID: 6210661
Have you also considered using Kixtart. This freeware loginscript program is freeware and very fast.
You can get more information on:
http://www.kixtart.org     and
http://www.kixtart.org/helpdesk

I'm using it for more than 3 years in a WAN environment without any speed problems.
0
 
LVL 2

Author Comment

by:moellert
ID: 6210871
Kixtart does not have the ability to query AD.
Am I wrong with that?
0
 
LVL 3

Expert Comment

by:hendrik999
ID: 6211898
You're right, latest release 3.63 of Kixtart can not query AD as you can with VBS.
KixTart 2001 beta 2 however has functions called GetObject and CreateObject.
What exactly do you want to query ?
0
 
LVL 12

Expert Comment

by:Housenet
ID: 6212717
Hey moellert ,
-Open the domain policy..click edit... All the options are applied to machines or users...so open ADU&C ..right click properties of the domain name..Click the group policy tab & ...In administrative templates for computer configuration & user configuration->system->group policy there are several settings you can try out... Under the root of system there are some as well.. They each have explainations & should be pretty obvious in terms of effect. If none of the setting give you any significant performance imporvement you might simple want to hide the script from view... (Look especially for "apply login scripts asyncronously during startup in the computer configuration)...

-Overall I'd say, you want to minimize the amount of Gpo's you apply to a specific computer or user... 2 should be enough to cover almost any scenario... Domain->OU... If you've got 5 GPO's happening that need to be processed for each user or PC..that is a problem in of itself...too much overhead...
0
 
LVL 2

Author Comment

by:moellert
ID: 6213429
Hi Housenet,

I will try.

Thomas
0
 
LVL 5

Expert Comment

by:cempasha
ID: 8205472
moellert,
No comment has been added lately (642 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to Housenet

Please leave any comments here within 7 days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

cempasha
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post a request in Community support (with a link to this page) to refund your points. http://www.experts-exchange.com/Community_Support/
0
 
LVL 2

Author Comment

by:moellert
ID: 8206316
I already found the answer myself ong time ago and forgot this question here. Sorry but none of the comments helped me. I was the Novell network client and the binding order that slowed down everything.
This question could be closed without awarding points to anybody.
0
 
LVL 5

Expert Comment

by:cempasha
ID: 8206357
ok admins will consider this.. thanx for the update
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 8208265
Points refunded and question closed.

Netminder
EE Admin
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

752 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