Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Changing 'Net User' name

12 Jul 2010   #1
calmdog

Windows 7
 
 
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 System SpecsSystem Spec
15 Aug 2010   #2
ericpeacock79

XP, 7
 
 

right click on the command prompt in the start menu, and click "run as administrator"
then type in your net commands.
My System SpecsSystem Spec
17 Aug 2010   #3
calmdog

Windows 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 System SpecsSystem Spec
17 Aug 2010   #4
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by calmdog View Post
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
My System SpecsSystem Spec
19 Aug 2010   #5
calmdog

Windows 7
 
 

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 System SpecsSystem Spec
19 Aug 2010   #6
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

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.
My System SpecsSystem Spec
Reply

 Changing 'Net User' name




Thread Tools





Similar help and support threads
Thread Forum
Changing user type to Standard User invalide size
Hi all, I installed Windows 7 and ended up with a default user (AxeL) with Administrative privileges. Now I enabled the default Administrator account and lowered the privileges of my user AxeL (see Accounts.png). If I open the User Profiles Pane in Control Panel -> System -> Advanced System...
Installation & Setup
Changing User Permissions
(Sorry if this is in the wrong area I cant find any area of this forums relating to user accounts). So I changed my user account to the Windows 7 Super Admin account because I am easily annoyed when a computer tries to lock me out of areas :P I am completely okay with this and have no issues....
General Discussion
Changing the icons in my user folder?
Hey guys, is there anyway to change the icons in my user folder? For example the "My Music" and "My Videos" folders? When I go to the properties and go to the Customization tab, there is no option to change the icon like other folders have. Any ideas?
Customization
Truely changing the user name
I created my username as Wenda, but it was acting like a partial administrator so someone told me to create a new User Account. So I renamed the old one to (which was Wenda) WendaOld.. And created a new one called Wenda. But all the my documents said Wenda_2. I changed the name of some of the...
General Discussion
Changing The User Name
Hello, how would I go about changing the user name under the task manager? I have accidentally entered an undesired user name while installing Windows 7 and I managed to change the user name on the welcome screen to a desired name. To be in short, the name on the welcome screen is different from...
General Discussion
7 Not Changing User Permissions
I've been trying to allow various programs access to my other HDDs/Partitions and every time I change the settings and click OK windows immediately forgets the changes. I've tried r-clicking a HDD -> Properties -> Security and changing from "Everyone" to "Administrators(**-PC\Administrators)"....
System Security

Our Sites

Site Links

About Us

Find 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 18:05.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App