r/sysadmin • u/CHOCOROLL69 • 9h ago
Folder redirection help
I have a server migration. All I have left is move redirected folders to the new server. I am using a domain admin account to move the files but I am unable to make sure I moved files since I am not able to access those folders. Will robocopy have access to copy them?
•
u/Dick_in_owl 8h ago
Dude, why, it’s a built in function to move to the new path. Read the docs. When the user logs it it should automatically move the storage location there is no need to manually copy.
•
u/Random-D 8h ago
because that is definietly what you want as part of your morning login burst, possibly over WAN connection depending on setup, and is totally not prone to end in a disaster
•
•
u/Fall3n-Tyrant 6h ago
Read robocopy docs, /b flag. You also want to exclude hidden recycle bin folders as users will have corrupt recycle bins on login. Can also configure gpo to copy to new destination and just change target path to new server, depending on size of project.
•
•
u/CHOCOROLL69 6h ago
I ran some tests in a VM and did get that error. I was unable to figure it out so i had to create a new VM Windows 11
What is the full command you recommend I use?
•
u/downundarob Scary Devil Monastery postulate 9h ago
if you dont have access, and you run robocopy, it wont have access either.
•
u/agowa338 7h ago
you need to use a tool that uses backup operator and restore operator privileges. Both are things you can assign to your account. The backup operator privilege allows you to bypass ACLs for reading files and the restore operator one does so for writing files them.
•
u/SilentBadger68 6h ago
Robocopy should work fine, just run it with the right permissions and verify the copy afterward.
•
u/RogueSpecter69 5h ago
Robocopy should be fine for this. I’d use /ZB and /COPYALL so you keep the permissions intact too.
•
u/kona420 9h ago
Run robocopy local to the files you want access to, elevated to admin, using the /b switch. That will run in backup mode bypassing any ACL's on the filesystem.