[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1423
  • Last Modified:

netlogon

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
mrmyth
Asked:
mrmyth
  • 2
  • 2
  • 2
1 Solution
 
Gareth GudgerCommented:
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
 
Gareth GudgerCommented:
"A batch file to map logins."

Supposed to read "A batch file to maps network drives."
0
 
mrmythAuthor Commented:
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
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
mcsweenSr. Network AdministratorCommented:
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
 
mcsweenSr. Network AdministratorCommented:
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
 
mrmythAuthor Commented:
Thank you for that thorough answer.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now