#163006 - 2006-06-08 03:04 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
svivian
Fresh Scripter
Registered: 2006-06-07
Posts: 26
|
From what I can tell, it would seem to be tied to the user, not the workstation. I have roaming profiles in my environment, so I can move users at will. I had a couple of them log into different machines this morning, and they still didn't get their drives. Any thoughts on what in a user profile might prevent them from running the executable? I know it isn't running because I am not getting error logs from them, although I am getting logs from others.
|
Top
|
|
|
|
#163009 - 2006-06-08 06:32 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
svivian
Fresh Scripter
Registered: 2006-06-07
Posts: 26
|
How do you change the timeouts? I have one particular drive that I know is timing out for some clients (large drive with poor directory structure). If given enough time, the drive will come up, so I need a way to make the client wait for that drive to map.
|
Top
|
|
|
|
#163010 - 2006-06-08 06:35 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
svivian
Fresh Scripter
Registered: 2006-06-07
Posts: 26
|
Lighten up, Francis... I am seeing both problems. On some clients, the script doesn't appear to be running at all (they may not even be calling the executable, I haven't been able to tell yet). I am also getting reports from a small number of clients where the drives disappear from their "My Computer" after login, although they do map initially.
Edited by svivian (2006-06-08 07:35 PM)
|
Top
|
|
|
|
#163011 - 2006-06-08 06:37 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
svivian
Fresh Scripter
Registered: 2006-06-07
Posts: 26
|
I just recently changed to @error<>0. I found that just @error was sometimes reporting error 0 (though that may have been my scripting). Thank you.
|
Top
|
|
|
|
#163012 - 2006-06-14 08:39 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
svivian
Fresh Scripter
Registered: 2006-06-07
Posts: 26
|
Still having these two problems: Some users are not getting mapped drives when they log in. They don't seem to be running the script automatically. The errorlogging built into the script seems to be catching problems, so I know it works. These users aren't even generating logs, so I am assuming they aren't even getting to the executable for some reason. So that's problem One.
Problem 2 is that some users get their mapped drives ok, but a short time later the drive disappears from the network drives section of their My Computer. They can't access the drive at all, so I know it isn't just that the drive is not visible, it is actually not mapped anymore. Anyone have any idea of what might cause either of these two?
I have seen articles/posts elsewhere on the web similar to my problem One, though never any solutions. I have not seen anything like problem 2.
|
Top
|
|
|
|
#163015 - 2006-06-15 02:05 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
Well the problems you appear to be having will more than likely trace back to some sort of setup, or configuration issue with Active Directory otherwise most of us would be having a similar issue. Please use the information below to help you locate tools and articles to help assist you in tracking down possible network issues.
If there is reliability issues with the network then the diagnostics should hopefully show that too unless it is very sporadic which doesn't seem to be the case since you report that users have the issue often. A possible quick check that might reveal something is to check the Event logs on the client for issues with logon and policies and hopefully that might show something obvious. If not then you need to start doing some basic network and AD diagnostics to see where the issue resides. See the bottom of the post for Tool Downloads that may be required for dianostics work. Domain and Forest Trust Tools and Settings http://technet2.microsoft.com/WindowsSer...3.mspx?mfr=true
Some main Network diagnostic tools
- Dcdiag.exe: Domain Controller Diagnostic Tool
- Netdiag.exe: Network Connectivity Tester
- Dnsdiag.exe: SMTP DNS Diagnostic Tool
Network Services Management Support Tools http://technet2.microsoft.com/WindowsSer...3.mspx?mfr=true Other possible areas to check out Replication Does Not Work After Upgrading to Windows 2000 http://support.microsoft.com/kb/249261/ How To Diagnose and Test TCP/IP or NetBIOS Network Connections in Windows Server 2003 http://support.microsoft.com/kb/323388 Group Policy Home Page http://www.microsoft.com/windowsserver2003/technologies/management/grouppolicy/default.mspx Group Policy Troubleshooting Updated: March 02, 2005 http://technet2.microsoft.com/WindowsSer...3.mspx?mfr=true Troubleshooting Group Policy application problems (2000) http://support.microsoft.com/default.aspx?scid=250842 Troubleshooting Group Policy in Microsoft® Windows® Server (document download) http://www.microsoft.com/downloads/detai...;displaylang=en Active Directory Operations Overview http://www.microsoft.com/technet/prodtec...de/default.mspx Active Directory Operations Overview - Troubleshooting Active Directory—Related DNS Problems http://www.microsoft.com/technet/prodtec...t1/adogd10.mspx Active Directory Operations Guide Appendix A - Tasks Reference This appendix lists all tasks, and pointers to their associated procedures, in alphabetical order. You can build tear sheets for your operations staff by cutting and pasting procedures into a separate document. These procedures can be part of an operations task assigned to an operator, or part of a task to troubleshoot an Active Directory component. http://www.microsoft.com/technet/prodtec...2/adogdapa.mspx Active Directory Operations Guide Appendix B - Procedures Reference This appendix lists all procedures in alphabetical order. You can build tear sheets for your operations staff by cutting and pasting the task and its procedures into a separate document. http://www.microsoft.com/technet/prodtec...2/adogdapb.mspx NBLookup is a command line diagnostic tool that uses the User Datagram Protocol (UDP) to send NetBIOS name queries to Microsoft Windows Internet Naming Service (WINS) servers http://support.microsoft.com/kb/830578/ Windows 2003 Tool DOWNLOADS Windows Server 2003 Resource Kit Tools 12MB (DNSDIAG, REGINI, ROBOCOPY [XP010], SHOWACLS, etc...) http://www.microsoft.com/downloads/detai...;displaylang=en Windows Server 2003 Resource Kit Tool Updates http://www.microsoft.com/windowsserver2003/techinfo/reskit/tools/default.mspx Windows Server 2003 Service Pack 1 32-bit Support Tools 5.3MB (DCDIAG, NETDIAG, NETDOM, NLTEST, XCACLS, etc...) http://www.microsoft.com/downloads/detai...;displaylang=en Windows Server 2003 Service Pack 1 Administration Tools Pack 4/28/2005 http://www.microsoft.com/downloads/detai...;displaylang=en Sonar.exe: File Replication Service (FRS) Status Viewer http://www.microsoft.com/downloads/detai...;DisplayLang=en Microsoft ® Windows Server ™ 2003 Performance Advisor http://www.microsoft.com/downloads/detai...;displaylang=en Group Policy Inventory (GPInventory.exe) http://www.microsoft.com/downloads/detai...;displaylang=en Group Policy Management Console with Service Pack 1 http://www.microsoft.com/downloads/detai...;DisplayLang=en
|
Top
|
|
|
|
#163016 - 2006-06-15 02:32 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
svivian
Fresh Scripter
Registered: 2006-06-07
Posts: 26
|
I turned off Logon Optimization. We have roaming profiles, so it should be off in the domain anyway. I have also explicitly mapped the drives persistent. So far that hasn't solved the problem. I doubt that the NAS is the problem, as it is brand new. It could be network, but we have been revamping the network lately, so we have been paying particular attention to network performance. That's partly why this is so frustrating: the infrastructure is pretty close to optimum. Even AD seems to be working well. To have this kind of random glitch is inexplicable.
|
Top
|
|
|
|
#163018 - 2006-06-15 02:39 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
svivian
Fresh Scripter
Registered: 2006-06-07
Posts: 26
|
So, since I have seen posts concerning users who don't run the script, and you have seen the issue where drives map, but then drop out later, and neither of these problems seems to have a solution, I've got my work cut out for me. I checked those users, and all seem to have the logon script mapped appropriately. I know for a fact that the script and the executable all replicated to all domain controllers. I'm going to go digging through ADSIEDIT to see if I can see anything wonky about the logon script in their actual user objects. There may be a hint there. Unfortunately, I don't have much longer to futz around with KiXtart. The mapped drives these users aren't getting are necessary for an in-house application to function. If I can't get it working within the next day or so, we will have to look at another solution.
|
Top
|
|
|
|
#163020 - 2006-06-15 03:13 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
svivian
Fresh Scripter
Registered: 2006-06-07
Posts: 26
|
I ran DCDIAG and NETDIAG, and all tests were ok. Nothing seems to be broken. I will track down one or two clients and see what if anything their event logs say.
|
Top
|
|
|
|
#163022 - 2006-06-15 05:05 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
svivian
Fresh Scripter
Registered: 2006-06-07
Posts: 26
|
The script is being called by entering the executable name directly in the logon script field in ADUC on the profile tab. Someone will have to educate me on where the timeout settings are. I am looking into the possibility, at least regarding the script never running, that there is a problem with the computer account. I am having the machines removed from the domain, their accounts deleted, and then re-added to the domain as new names. I will see if this resolves the not-mapping issue. Then all I have to do is figure out the "drives get mapped, then disappear" problem.
|
Top
|
|
|
|
#163024 - 2006-06-15 05:16 PM
Re: KiXtart logon script doesn't map all drives/sometimes drives disappear
|
svivian
Fresh Scripter
Registered: 2006-06-07
Posts: 26
|
I know batch files work to map the drives, since that is what we were using prior to KiXtart. We switched so we could have a more unified environment, with a central point from which to manage network resource usage. Therefore the difference has to be KiXtart, as I didn't change anything else at the time I implemented it. The old .bat files were just a bunch of net use statements, without even a /delete to clear out old mappings.
Unfortunately, we have to have the roaming profiles, as a large percentage of our user base changes desks regularly (sales guys, who get moved to keep them from getting in a rut). Especially since we have a couple of buildings, it makes moving far easier when the PCs can stay plugged in and set up. Actually, the only issue we have had with them is that sometimes the users don't listen when we tell them not to keep craploads of files in their My Documents. As long as the profile stays under 20-30MB, it works pretty well. Having an all XP/2003 environment probably helps a lot.
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 466 anonymous users online.
|
|
|