Solved

netlogon

Posted on 2006-10-26
6
1,410 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 31

Expert Comment

by:Gareth Gudger
ID: 17816152
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 31

Expert Comment

by:Gareth Gudger
ID: 17816157
"A batch file to map logins."

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

Author Comment

by:mrmyth
ID: 17816859
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 21

Expert Comment

by:mcsween
ID: 17821105
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
ID: 17821156
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
ID: 17825947
Thank you for that thorough answer.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

808 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