Changing 'Net User' name

calmdog

New member
Local time
9:27 AM
Messages
3
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

Computer Manufacturer/Model Number
Dell
OS
Windows 7
CPU
Core 2 Duo E7500 2.93GHz
Memory
3.0Gb
Graphics Card(s)
256 Mb NVIDIA GEForce 9300
Monitor(s) Displays
Dell E Series 23" wide
Hard Drives
320Gb SATA
right click on the command prompt in the start menu, and click "run as administrator"
then type in your net commands.
 

My Computer

OS
XP, 7
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

Computer Manufacturer/Model Number
Dell
OS
Windows 7
CPU
Core 2 Duo E7500 2.93GHz
Memory
3.0Gb
Graphics Card(s)
256 Mb NVIDIA GEForce 9300
Monitor(s) Displays
Dell E Series 23" wide
Hard Drives
320Gb SATA
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:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
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

Computer Manufacturer/Model Number
Dell
OS
Windows 7
CPU
Core 2 Duo E7500 2.93GHz
Memory
3.0Gb
Graphics Card(s)
256 Mb NVIDIA GEForce 9300
Monitor(s) Displays
Dell E Series 23" wide
Hard Drives
320Gb SATA
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:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
Back
Top