Cloning the C:\Users structure

balubeto

New member
Member
VIP
Local time
1:27 AM
Messages
106
Cloning the C:\Users structure in the another partition

HI

Using the Command Prompt in Windows 7, how do I clone the exact structure (including all system permissions) of the directory C:\Users and its substructure C:\Users\Public in the root directory of the another partition?

THANKS

BYE
 
Last edited:

My Computer My Computer

At a glance

Windows 7
OS
Windows 7

My Computer My Computer

At a glance

Windows 7 Professional 64-bitIntel E8400 3GHzKingston PC3-10700H 4GbXFX Radeon HD 5850 BlackEd.
Computer Manufacturer/Model Number
self built
OS
Windows 7 Professional 64-bit
CPU
Intel E8400 3GHz
Motherboard
Intel DX48BT2
Memory
Kingston PC3-10700H 4Gb
Graphics Card(s)
XFX Radeon HD 5850 BlackEd.
Sound Card
Asus Xonar DG
Monitor(s) Displays
2x Samsung SM-T220HD 22"
Screen Resolution
1680x1050 on two monitors
Hard Drives
OCZ Vertex 2 120gb 3.5" (OS)
Seagate Momentus XT 500gb
Samsung F3 1Tb (games)
2x Samsung F1 1Tb
PSU
Thermaltake ToughPower 850w
Case
Thermaltake Armor
Cooling
Scythe Mugen II
Keyboard
Microsoft Comfort Curve USB
Mouse
Razer Diamondback 3G
Internet Speed
8128/443
I assume you want to move the common folders like documents, pictures, music etc.

Follow this guide.

Really, I only wanted to clone these two objects in another partition maintaining, but, also all the permission system. So how do I do this using the robocopy and icacls command?

THANKS

BYE
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
If you would like to use the command prompt, an easy way is to run

copy C:\users\public E:

Replace E with the drive letter of the directory you want to save to.

Hope this helps,
~JK
 

My Computer My Computer

At a glance

Windows 7 Professional x64Intel i7 2600K OC'd @ 4620 MHz16GB GSkill Sniper 2133 Mhz (4x4GB)EVGA GeForce GTX 480 SuperClocked+
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
Not clear on what you want to do.

If you copy C users it will automatically copy C users public and all other folders under C users.

Do you want to copy ONLY C users public?

What is the other partition? D:?

I never heard of icacls.

robocopy or xcopy could probably do what you want, but it's unclear to me exactly what you want.
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1, 64-bitIntel Skylake i5-6600K, not overclocked8 GB HyperX DDR4-2666 (2 x 4 GB)none; graphics are integrated on CPU
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Ignatz Special; 4 speed manual gearbox; factory air conditioning; one of one
OS
Windows 7 Home Premium SP1, 64-bit
CPU
Intel Skylake i5-6600K, not overclocked
Motherboard
AsRock Z170M Extreme 4, micro ATX
Memory
8 GB HyperX DDR4-2666 (2 x 4 GB)
Graphics Card(s)
none; graphics are integrated on CPU
Sound Card
onboard: Realtek ALC1150; external: USB Behringer UF0-202
Monitor(s) Displays
Dell S2340M 23 inch IPS
Screen Resolution
1600 x 900
Hard Drives
System: Crucial MX100 series SSD, 128 GB;
Data: Samsung Spinpoint 103SJ, 1 TB;
Backup: WD Caviar Green WD30EZRX-00D8PB0, 3 TB
PSU
Rosewill SilentNight 500 watt fanless, semi-modular
Case
Antec Solo II
Cooling
Noctua NH-U12S; Noctua F12 intake, Noctua S12A exhaust
Keyboard
Microsoft 200 6JH-00001 USB
Mouse
Dell or Microsoft optical wired; USB
Antivirus
Microsoft Security Essentials and Malwarebytes Premium
Browser
Pale Moon
Other Info
All fans PWM; speeds at idle: CPU circa 500 rpm; intake circa 600 rpm; exhaust circa 600 rpm; CPU temps 27 idle and 47 C load in a warm room (27 C/81 F) when running Intel Extreme Tuning Utility stress test.
If you open a command prompt and type robocopy /? it will list all the available switches. It looks like the /SEC switch will copy permissions.
 

My Computer My Computer

At a glance

Windows 7P4 3.0 HT4 gigs of Crucial DDR2nVidia GeForce 7800GT 256MB 256-bit w/ ACCELS...
Computer Manufacturer/Model Number
ultraplanet - model 23
OS
Windows 7
CPU
P4 3.0 HT
Motherboard
Intel DQ965GF
Memory
4 gigs of Crucial DDR2
Graphics Card(s)
nVidia GeForce 7800GT 256MB 256-bit w/ ACCELS1 Rev 2
Sound Card
on board
Monitor(s) Displays
HP 2509m
Screen Resolution
1920x1080
Hard Drives
2x 320gb Seagate Barracuda's - SATA 3Gbit/s - RAID-0 array
PSU
650 watt
Case
Antec
Cooling
Cool Master
Keyboard
Logitech diNovo Media Desktop
Mouse
see keyboard
Internet Speed
comcast cable
Other Info
7 Ultimate and 7 Pro twice each at home - Gigabit on the Network - Tomato on the Linksys - I freely share my wireless with my neighbors (8-10 additional devices)
With robocopy the syntax is:
Code:
robocopy C:\Users  X:\Users /E /ZB /COPYALL
Change X:\Users to destination drive and folder you want. Options: /E copies all subdirectories including empty ones, /ZB copies file in backup mode if access is denied because of rights or if file is in use, /COPYALL copies permissions and file info.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Also, I noticed that the system permissions of the X partition are not the same C partition. So, how do I make sure that the system permissions of the X partition are the same as the C partition?

THANKS

BYE
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
What are you trying to do? If we knew exactly what your goal is, perhaps we could help you more.
 

My Computer My Computer

At a glance

Windows 7 Professional x64Intel i7 2600K OC'd @ 4620 MHz16GB GSkill Sniper 2133 Mhz (4x4GB)EVGA GeForce GTX 480 SuperClocked+
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
What are you trying to do? If we knew exactly what your goal is, perhaps we could help you more.

The permissions of the Authenticated Users user of X partition does not coincide with those of the C partition. Therefore, what command should I use?

THANKS

BYE
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Here is another command that might work:

Xcopy c:\users x:\ /k /o

where x is the destination drive.
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1, 64-bitIntel Skylake i5-6600K, not overclocked8 GB HyperX DDR4-2666 (2 x 4 GB)none; graphics are integrated on CPU
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Ignatz Special; 4 speed manual gearbox; factory air conditioning; one of one
OS
Windows 7 Home Premium SP1, 64-bit
CPU
Intel Skylake i5-6600K, not overclocked
Motherboard
AsRock Z170M Extreme 4, micro ATX
Memory
8 GB HyperX DDR4-2666 (2 x 4 GB)
Graphics Card(s)
none; graphics are integrated on CPU
Sound Card
onboard: Realtek ALC1150; external: USB Behringer UF0-202
Monitor(s) Displays
Dell S2340M 23 inch IPS
Screen Resolution
1600 x 900
Hard Drives
System: Crucial MX100 series SSD, 128 GB;
Data: Samsung Spinpoint 103SJ, 1 TB;
Backup: WD Caviar Green WD30EZRX-00D8PB0, 3 TB
PSU
Rosewill SilentNight 500 watt fanless, semi-modular
Case
Antec Solo II
Cooling
Noctua NH-U12S; Noctua F12 intake, Noctua S12A exhaust
Keyboard
Microsoft 200 6JH-00001 USB
Mouse
Dell or Microsoft optical wired; USB
Antivirus
Microsoft Security Essentials and Malwarebytes Premium
Browser
Pale Moon
Other Info
All fans PWM; speeds at idle: CPU circa 500 rpm; intake circa 600 rpm; exhaust circa 600 rpm; CPU temps 27 idle and 47 C load in a warm room (27 C/81 F) when running Intel Extreme Tuning Utility stress test.
HI

In this image, I represented the system permissions of the C and D partitions:



Then, from the Command Prompt Windows 7, how do I change the system permissions so that the D drive has the same system permissions as the C drive?

THANKS

BYE
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Back
Top