User Profile Path in Windows 7 Registry

User Profile Path in Windows 7 Registry

 Shayadri Sharma |  November 15th, 2014 | Tips

Every Windows version has a specific way of storing its data, program files, and user profiles, some of which are set to default. This has further made most of us depend on the default settings by Windows, either willingly or otherwise. Since, there is always a way out, especially when talking in terms of technical issues. Here are some long followed default settings in Windows that can be changed according to the convenience of each user.

What we are basically discussing in this article is divided into three segments each:

  • Find user profile path in registry in Window 7
  • Change user profile path in registry
  • Change user profile name in registry

A Windows User profile is the main folder in the system storing user account. It contains all the shortcuts, account settings, user folder, and other related information. User profile is created by the system when a user logs into a particular computer for the very first time and more of them can be added later.

To Find A User Profile Path In Registry In Windows 7

The default location for the user profile in Windows 7 is C:\users

Follow the given steps to know how you can locate the path of your machine’s User Account on a Window 7 operated computer.

  • Step 1: – Click on the start button and select Computer.

start-key

  • Step 2: – Select Local Disk(c):

local-disk-c

  • Step 3: – A window will appear, now click Users from the list.

 

  • Step 4: – Click on user you will get the user accounts running on the computer.

user-account

To Change User Profile Path Or User Name In The Registry

  • For Changing User Profile Path in the registry

To change user profile path follow these steps:-

  • Step 1: – Log on to the user account which you want to move. Then perform the steps below

o   Right click on user folder

o    Hold your mouse on share

o    Click on nobody.

default-folder

  • Step 2: – Log off the account.
  • Step 3: – Log on through a different account which is not being moved.

Note: – If you don’t have a different account than you need to create one and log in to it.

  • Step 4: – Navigate to the place where you want to move the folder. For example if you want to move the folder to E drive than open E drive.

local-disk-E

  • Step 5: – Right click on the blank page and click paste.

 

  • Step 6: – A new folder will be visible in E drive with the name default.

default

  • Step 7: – Click on Start menu.

o    Type regedit in the search box

o    Press enter.

regedit

  • Step 8: – In regedit, move to the location given below:

o    HKEY_LOCAL_MACHINE

o    SOFTWARE

o    Microsoft

o    Windows NT

o    CurrentVersion

o    ProfileList

  • Step 9: – In registry editor window search for profileImagePath.

 

  • Step 10: – Right click on profile image path and select Modify

modify

  • Step 11: – Type the full path of the location where you have copied the user profile.

edit-string

  • Step 12: – Click on OK.

The path of the default user profile is changed from C:\users\default to E:\Default

  • For Changing User Profile Name In The Registry

In order to change user profile name in the registry follow these steps:

  • Step 1: – Click on Start menu and open Control Panel.

control-panel

 

  • Step 2: – In Control Panel Window click on User Account.

user-accounts

  • Step 3: – A User Account Window will appear.
  • Step 4: – Click on change your account name.

change-your-account-name

 

 

  • Step 5: – Type new user name and click on change name.

change-name

On following the above steps user profile name in the registry is changed.

Conclusion

It has become a common need today to change user profile path and name in registry. The above mention           steps should be performed with great care as any mistake could lead to major problem.

Windows的批处理脚本(bat文件)中,要实现开机自动启动,通常需要将该脚本放入特定的位置,并设置注册表项使其开机自启动。以下是步骤: 1. **创建批处理脚本**:首先,你需要编写一个.bat文件,包含你想要执行的具体命令。例如,如果你的脚本名为`startup_script.bat`,内容可能是运行某个程序或执行一些任务。 ```batch @echo off REM 这里写你的启动命令 your_command.exe ``` 2. **保存位置**:将这个.bat文件放在Windows的启动目录下。你可以通过以下路径找到它: - 对于Windows XP和更早版本:`%SystemRoot%\Tasks` - 对于Windows Vista、7、8、10:`%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup` 3. **设置注册表**:为了使脚本在每次启动时自动运行,需要编辑注册表。可以使用“记事本”创建一个新的文本文件,然后输入以下内容并另存为`.reg`格式(如`startup_reg.reg`): ```reg Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] "Your Batch Script"="C:\\path\\to\\your\\startup_script.bat" ``` 将`Your Batch Script`替换为你创建的bat文件名,`C:\\path\\to\\your\\startup_script.bat`替换成实际的批处理文件路径。 4. **导入注册表项**:右键点击刚创建的.reg文件,选择“合并”,系统会提示你是否允许修改注册表,确认即可。 现在,每次启动Windows,你的批处理脚本就会自动运行了。如果你想取消开机自启动,只需删除注册表中的对应条目即可。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值