User Tools

Site Tools


windows:changeofusersfolderinwindowsremotely

This is an old revision of the document!


Change of Users Folder In Windows Remotely

Intro : this is a research, and I don't put it into practice

This is a research work: I plan to put it into practice, but at the present moment, I've didn't to this yet. Take it at your own risk.

My notes

http://www.nextofwindows.com/how-to-change-user-profile-location-in-windows-8-without-registry-hack/

El procedimiento para hacerlo es sencillo:

1. camibar por registry la ubicación de los perfiles:

http://www.nextofwindows.com/how-to-change-user-profile-default-location-in-windows-7/

2. reiniciamos máquina y entro yo solito: me creará un perfil en la nueva ubicación e:\users 3. muevo todos los perfiles a la nueva ubicación y hago lo que dice aquí:

http://www.nextofwindows.com/how-to-change-user-profile-location-in-windows-8-without-registry-hack/

4. el único que no se podrá mover de la antigua ubicación es el mío, adm-rlunaro: reservar 5. finalizo pasos y creo el enlace virtual y toda la pesca 6. reinicio 7. vuelvo a entrar y copio a mano los ficheros que me falten a mi perfil.

Y tan contentos.

Intro

For the purpose of this manual, I will consider that I want to move all the “c:\documents and settings” folder to “e:\documents and settings”. The destination machine is a Windows 7 server, but I think the procedure is at least correct for a Windows 8 server.

Create the e: folder and give it permissions

I've created a folder in e: and I've make sure that the permissions are exactly the same (properties → security → advanced). Restart the machine, to make sure the changes work.

If you are not specially keen on permissions, take this steps:

1. remove the “allow inheritable permissions…”:

Upon the question “copy / remove / cancel”, answer “remove” to get rid of all the previous permissions.

2. insert using the “add” button, the proper permissions. Copy them from the original folder. In my case c:\documents and settings.

Copy the "default user" "all users" folder and make sure the permissions are copied also

Because in a normal session these folders are used and can't be copied, I've created a batch file:

rem 
rem copier.bat
rem 
 
touch "e:\pruebas\copy-operation-started.txt"
 
robocopy "c:\Documents and Settings\temp" "e:\users" /mir
robocopy "c:\Documents and Settings\All Users" "e:\users" /mir
robocopy "c:\Documents and Settings\Default User" "e:\users" /mir
 
touch "e:\pruebas\copy-operation-finished.txt"

And programmed an Scheduled Task.

The e:\pruebas is a shared folder, so I can check when the operation has started and finished without logging into the computer.

windows/changeofusersfolderinwindowsremotely.1377770445.txt.gz · Last modified: 2022/12/02 21:02 (external edit)