Skip to main content

Changing the Default Drive to Store User Profiles and Data from C to D in Windows 10


In this post we will look at how to change the default drive to store user data from C to another drive like D.
Login to the machine and copy the following code into a file called "relocate.xml" - preferably in D Drive.
[pre class="brush:bash"]
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FolderLocations>
<ProfilesDirectory>D:\Users</ProfilesDirectory>
</FolderLocations>
</component>
</settings>
</unattend>
[/pre]
  • Open admin cmd
    [pre class="brush:bash"]net user Administrator /active:yes[/pre]
  • Create a password for the Administrator account if you are going to remote login
  • Sign out 
  • Sign into your admin account
  • Open admin cmd
    [pre class="brush:bash"]cd C:\Windows\System32\sysprep
    sysprep.exe /oobe /reboot /unattend:D:\relocate.xml[/pre]
  • This will reboot the machine and then you will have to setup an account
  • Open cmd as admin
    [pre class="brush:bash"]net user Administrator /active:no[/pre]
  • Sign out from the temporary account
Source:  https://www.tenforums.com/tutorials/1964-move-users-folder-location-windows-10-a.html

Comments

Popular posts from this blog

Advantages and Disadvantages of Electro-oculography (EOG)

In the previous post we looked at what is EOG? In this post we will look at the advantages and disadvantages of EOG.

How to Convert Excel Charts into High Resolution Images

Microsoft Excel is widely used to generate graphs and to analyse data due to its simple graphical user interface. Have you ever tried to convert the charts into images? If yes, you might have used "Print Screen" feature to easily convert the charts into images. However most of the scientific journals require the images in high resolution TIFF format. So in this post we will look at how to convert Microsoft Excel Charts/Graphs easily into high resolution images.

Online Radio Stations

Some of the popular Tamil radio stations are listed here. You can listen to those radios here.