There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
DOS/PDA/Other
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
login script getting stuck


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
alexenjen's Avatar
Senior Member with 442 posts.
 
Join Date: Aug 2000
Location: Concord, CA
15-Jun-2006, 12:49 PM #1
login script getting stuck
the following login script sometimes takes a while to load or go away:
1. I would like for it to load minimized
2. faster loading

*****************************************************************

net use n: /delete
net use n: \\pdc\users

net use o: /delete
net use o: \\pdc\home\%username%

net use p: /delete
net use p: \\pdc\sys

net use r: /delete
net use r: \\pdc\netprograms

net time \\pdc /domain:wcs /set /yes


regedit /s \\pdc\netlogon\MasterCat.reg

if "%computername%" == "CITRIX" goto CITRIX
regedit /s \\pdc\netlogon\regchanges.reg
regedit /s \\pdc\netlogon\templates.reg
rem The 'Immune Group' will not run these due to security controls
regedit /s \\pdc\netlogon\Disabledownload.reg

rem Only the 'Immune Group' has access to run these
regedit /s \\pdc\netlogon\Enabledownload.reg


regedit /s \\pdc\netlogon\trusted.reg

goto END
:CITRIX

regedit /s \\pdc\netlogon\proxy.reg

:END


call \\pdc\netlogon\log.bat LOGON
StumpedTechy's Avatar
Distinguished Member with 6,142 posts.
 
Join Date: Jul 2004
Location: Central Florida
Experience: Advanced
15-Jun-2006, 02:21 PM #2
Each drive letter will take a few seconds to a minute or 2 to connect depending on link speed. Other than that the only thing I can think of to save a few seconds is why not have it where the batch file looks for these files on the local drive and if they don't exist have it copy them down loacally and run it than trying to connect to network resources each time.

something like

copy \\PDC\Netlogon\*.reg C:\tempreg

If you want to find out the culprit that is causing the biggest slow down rem out a bunch of then run it and see where it lags or put in some pause settings so you can then check each line.

Look here for a way to minimie the screen of the batch file -

http://support.microsoft.com/?kbid=176197
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:55 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.