Solved

netlogon

Posted on 2006-10-26
6
1,407 Views
Last Modified: 2008-01-09
I have a small office network with xp computers and 2000 computers. One server running Windows 2003 Server.

On one of my computers when I log on I get a command window that says

cmd.exe was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows Directory.

Then it asks me to enter the username and password.

I am thinking I could just map this drive, but frankly I don't know what Netlogon is.

In my startup folder there is a shortcut to logon also.
0
Comment
Question by:mrmyth
  • 2
  • 2
  • 2
6 Comments
 
LVL 30

Expert Comment

by:Gareth Gudger
Comment Utility
What exactly is the problem? Netlogon is a system file Windows 2000 and Windows XP that allows you to log on to a domain. Is that what you have set up here? I assume so with the Windows 2003 Server. It sounds like logon in your startup menu is a logon.bat. A batch file to map logins. You can probably delete logon and it shouldn't prompt you with the cmd.exe o rthe login password error. But then was that your question?
0
 
LVL 30

Expert Comment

by:Gareth Gudger
Comment Utility
"A batch file to map logins."

Supposed to read "A batch file to maps network drives."
0
 
LVL 1

Author Comment

by:mrmyth
Comment Utility
Yes, I am on a domain with computers logging into the domain.

So cmd.exe is a file that maps network drives? Is it supposed to be in the folder of programs that startup when windows starts up?

Is that what it does is map network drives. Somehow I didn't think it worked that way.

So let's say that I map some network drives and I check the box that says to reconnect at login. Does it then put a cmd.exe shortcut in my startup folder?

I don't think it does. I think someother program must have put that there. Am I right?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 21

Expert Comment

by:mcsween
Comment Utility
In your AD profile a logon script has been specified.  This is what you are seeing in the command window (cmd.exe opens a command prompt)

This logon script is located at
\\domainname\netlogon\scriptname.bat

When it kicks off cmd does not allow you to access UNC paths (\\server\share) so it defaults to the windows directory or  your home directory which has a drive letter (hard map)

The username/password prompt you are getting is because this logon script is trying to map a drive to a network share you do not have access to.  It sees that you are not allowed to access this so it's asking for credentials to an account that does have access.
0
 
LVL 21

Accepted Solution

by:
mcsween earned 500 total points
Comment Utility
FYI - there is probably nothing in your startup folder that has to do with this.  The netlogon service running on your PC gets a command from the netlogon service that is running on the domain controller telling your comptuer to run the script that's located in the \\domainname\netlogon\ folder.

If you click start, run and type \\%userdomain%\netlogon then press enter the folder will open that has the logon scripts in them.

If you open AD Users and Computers and look under your user object on the profile tab you will see the name of the logon script.

You can RC, edit the script and see what shares it's mapping you to and check the security on those shares to ensure you really do have access.  If you do have access there may be an AD issue or DNS issue causing the authentication to fail.
0
 
LVL 1

Author Comment

by:mrmyth
Comment Utility
Thank you for that thorough answer.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now