Changing 'Net User' name


  1. Posts : 3
    Windows 7
       #1

    Changing 'Net User' name


    I'm setting up the first Win7 computer on our XP network. One problem remains. I need to access a printer on the server (Windows Server 2003) with a Net Use batch file to print from a legacy DOS app (I know...). I keep getting 'access denied'. Typing NET USER at a command prompt shows that this ONE guy has a two word user name (Joe Smith). Everyone else is just Mary or Tom. I can't make two names work in the batch file. Does anyone have an idea how to fix this?
      My Computer


  2. Posts : 10
    XP, 7
       #2

    right click on the command prompt in the start menu, and click "run as administrator"
    then type in your net commands.
      My Computer


  3. Posts : 3
    Windows 7
    Thread Starter
       #3

    Thanks. I tried that. No success though. Still not allowed access. There's something sideways in here with the credentials, apparently. I just can't figure out what.
      My Computer


  4. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #4

    calmdog said:
    I'm setting up the first Win7 computer on our XP network. One problem remains. I need to access a printer on the server (Windows Server 2003) with a Net Use batch file to print from a legacy DOS app (I know...). I keep getting 'access denied'. Typing NET USER at a command prompt shows that this ONE guy has a two word user name (Joe Smith). Everyone else is just Mary or Tom. I can't make two names work in the batch file. Does anyone have an idea how to fix this?
    This usually has to do with the NTLMv2 settings On the Windows 7 machine, you can also try the method further down the page if you don't want to use the registry for this.

    There needs to be a DWORD named LmCompatibilityLevel set to value of 1(one) at
    HKLM\SYSTEM\CurrentControlSet\Control\Lsa

    And here's the background on that.

    http://technet.microsoft.com/en-us/library/cc960646.aspx

    http://technet.microsoft.com/en-us/magazine/2006.08.securitywatch.aspx

    Technet thread discussing the issue.
    Windows 7 Unable to Map Windows 2000 drive

    Or try this which might be easier than messing with the registry.

    This works to allow all sorts of servers to work with Windows 7.

    Control Panel - Administrative Tools - Local Security Policy

    Local Policies - Security Options

    Network security: LAN Manager authentication level
    Send LM & NTLM responses

    Minimum session security for NTLM SSP
    Disable Require 128-bit encryption
    Last edited by chev65; 17 Aug 2010 at 11:16.
      My Computer


  5. Posts : 3
    Windows 7
    Thread Starter
       #5

    Fantastic! It worked. The instructions were straightforward and, most of all, correct.
    The LmCompatibilityLevel was already set properly. Apparently it was the "Send LM & NTLM responses" change that did it. Thank you for letting me finally move on to the next fire.
    Best,
    Keith
      My Computer


  6. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #6

    For some reason the NTLM authentication causes all sorts of problems, especially with older Windows servers like 2003 version which was made before the NTLM authentication was established.

    Thanks for reporting back in calmdog.

    Changing 'Net User' name 08-19-2010 09:58 AMcalmdog chev65 solved a 2 month old problem. Can't send enough thanks.
    Last edited by chev65; 19 Aug 2010 at 13:37.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:44.
Find Us