username is set up incorrectly

Bob Campbell

New Member
Messages
3
I have a new Windows 8 computer. I set it up with my Bob Campbell account. It works fine, except for one thing.

The environment variable username=Bob

That's a problem. It seems to be a glitch in Windows 8.

On Windows 7, when I set up a new computer my username environment variable would be Bob Campbell.

Now I can't connect to a SQL Server 2008 database that requires a Windows Profile login.

How can I change the username variable as well as my C:\Users\Bob folder name?
 

My Computer

System One

  • OS
    Windows 8 Pro
    System Manufacturer/Model
    HP Pavilion h8xt
    CPU
    Intel i7
    Memory
    10 GB
    Graphics Card(s)
    AMD Radeon HD 6670
Can you change it via the SET command in a Command Prompt window?

i.e. Open a Command Prompt (probably with Administrative privileges?) and type SET to display all the variables to verify what is set for "username." Then type in SET USERNAME="Bob Campbell"
(I think quotation marks will be needed because of the space.)

Not sure that will work, but what happens when you try?
 

My Computer

System One

  • OS
    Windows 8.1.1 Pro
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home built
    CPU
    i3-3225
    Motherboard
    H77M-D3H (micro-ATX)
    Memory
    12GB
    Graphics Card(s)
    none (Intel HD4000 IGP)
    Sound Card
    mobo integrated
    Monitor(s) Displays
    Dell U2312HM & Samsung 171N
    Screen Resolution
    1080x1920 (portrait) & 1280x1024
    Hard Drives
    Intel 520, 120GB SSD
    Kingston SNV425S2 64GB SSD
    WD WD10EARS 1GB HDD
    PSU
    Cooler Master eXtreme Power Plus 460W
    Case
    Silverstone TJ-08E
    Cooling
    Intel stock HSF
    Keyboard
    Logitech K260
    Mouse
    Logitech M210
    Internet Speed
    10Mbps/1Mbps DOCSIS
Personally, I would only change user name by creating a new user at the appropriate level and deleting the older one--after copying everything needed to the new user Account. I'd rather not invite potential problems. The realized ones can be so recalcitrant.
 

My Computer

System One

  • OS
    Win7 Ult on DIY; Win8 Pro on MBP/Parallels; Win7 Ult on MBP/Boot Camp; Win7 Ult/Win8 Pro on HP
    Computer type
    PC/Desktop
    System Manufacturer/Model
    DIY Rig; MacBook Pro (MBP)/Parallels/Boot Camp; HP Pavilion dv6500t Laptop
    CPU
    Intel i7-2600K (sometimes OC'd to 4.8 GHz)
    Motherboard
    ASUS P8P67 Deluxe Rev B3
    Memory
    16 GB Corsair Vengeance
    Graphics Card(s)
    EVGA 570 SC
    Monitor(s) Displays
    Gateway
    Hard Drives
    Dual Boot:
    Win7 Ult RAID 0 on OCZ Revo x2 and
    Win7 Ult RAID 0 on Caviar Black SATA 3's
    PSU
    Cooler Master Silent Pro 1000W
    Case
    Cooler Master 932 HAF
    Cooling
    Zalman CNPS9900MAX-B CPU Fan
    Keyboard
    Logitech Cordless Desktop MX 5500
    Mouse
    Logitech Cordless Desktop MX 5500
    Internet Speed
    20 Mbps Download/2+ Mbps Upload
    Other Info
    Pioneer Blu-ray Burner/DVD Burner
I believe on the initial set up you would need to remove the gap in the name, BobCampbell or BobCampbellPC.

With Windows 8 you can't leave a gap or use a hyphen - anymore.

It's best to set up a new account for this new User name as znod mentioned.
 

My Computer

System One

  • OS
    Windows 8.1 Pro WMC
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home built
    CPU
    Q9650 @ 4.05 GHz
    Motherboard
    Gforce 780i SLI FTW
    Memory
    8GB Gskill DDR2 1200Mhz
    Graphics Card(s)
    GTX-480
    Sound Card
    Asus D2 Xonar
    Monitor(s) Displays
    HannsG
    Screen Resolution
    1680x1050
    Hard Drives
    Gskill 120GB SSD
    PSU
    Thermal Take 1000watts
    Case
    Thermal Take Xtreme
    Cooling
    9 fans air cooled
    Keyboard
    G15 logitech
    Mouse
    G9 logitech
    Internet Speed
    50mbps
I believe on the initial set up you would need to remove the gap in the name, BobCampbell or BobCampbellPC.

You also can't use a hyphen anymore.

It's best to set up a new account for this new User name as znod mentioned.
 

My Computer

System One

  • OS
    Windows 8.1 Pro WMC
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home built
    CPU
    Q9650 @ 4.05 GHz
    Motherboard
    Gforce 780i SLI FTW
    Memory
    8GB Gskill DDR2 1200Mhz
    Graphics Card(s)
    GTX-480
    Sound Card
    Asus D2 Xonar
    Monitor(s) Displays
    HannsG
    Screen Resolution
    1680x1050
    Hard Drives
    Gskill 120GB SSD
    PSU
    Thermal Take 1000watts
    Case
    Thermal Take Xtreme
    Cooling
    9 fans air cooled
    Keyboard
    G15 logitech
    Mouse
    G9 logitech
    Internet Speed
    50mbps
In response to wpcoe, "Can you change it via the SET command in a Command Prompt window?":

Yes. I can open a command prompt window and change the username variable to whatever, but that doesn't get saved after I exit the window.

I can also change it using the Advanced system properties of the Control Panel, System and Security. But it won't affect anything.

Bob
 

My Computer

System One

  • OS
    Windows 8 Pro
    System Manufacturer/Model
    HP Pavilion h8xt
    CPU
    Intel i7
    Memory
    10 GB
    Graphics Card(s)
    AMD Radeon HD 6670
theog posted a link to what I think may be a relatively new update of an older tutorial even though dated Aug. 2012. Check it out. I would use it in preference to the SET command. I don't know what all "stands behind" the procedures in the tutorial. Earlier procedures that "just changed" the user name without adding a new user, etc., seemed to generate problems. So, that's why I, as least previously, would opt for creating a new user, etc. At least there now is a new-to-me changing user name procedure for me to think about. Until I learn more, I'm sticking with the create a new user, etc., procedure.
 

My Computer

System One

  • OS
    Win7 Ult on DIY; Win8 Pro on MBP/Parallels; Win7 Ult on MBP/Boot Camp; Win7 Ult/Win8 Pro on HP
    Computer type
    PC/Desktop
    System Manufacturer/Model
    DIY Rig; MacBook Pro (MBP)/Parallels/Boot Camp; HP Pavilion dv6500t Laptop
    CPU
    Intel i7-2600K (sometimes OC'd to 4.8 GHz)
    Motherboard
    ASUS P8P67 Deluxe Rev B3
    Memory
    16 GB Corsair Vengeance
    Graphics Card(s)
    EVGA 570 SC
    Monitor(s) Displays
    Gateway
    Hard Drives
    Dual Boot:
    Win7 Ult RAID 0 on OCZ Revo x2 and
    Win7 Ult RAID 0 on Caviar Black SATA 3's
    PSU
    Cooler Master Silent Pro 1000W
    Case
    Cooler Master 932 HAF
    Cooling
    Zalman CNPS9900MAX-B CPU Fan
    Keyboard
    Logitech Cordless Desktop MX 5500
    Mouse
    Logitech Cordless Desktop MX 5500
    Internet Speed
    20 Mbps Download/2+ Mbps Upload
    Other Info
    Pioneer Blu-ray Burner/DVD Burner
Back
Top