Solved

Logon script works very slow

Posted on 2001-06-20
16
167 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
  • 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

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…
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

821 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