F5F Stay Refreshed Software Operating Systems Scripts for Copying Folder Issues

Scripts for Copying Folder Issues

Scripts for Copying Folder Issues

B
BOOGHEMAN
Junior Member
16
06-16-2023, 04:57 PM
#1
I employ scripts occasionally to duplicate, backup, or save game files and hard drives. These scripts combine xcopy and robocopy. The issue is that Windows blocks copying certain directories. This problem occurs on my son's PC, which is his only user account with admin privileges. He backs up his Minecraft worlds to another drive using the command provided. However, it fails because I lack the necessary permissions for that folder. The script functions well for other files, but this restriction prevents it. What could be missing?
B
BOOGHEMAN
06-16-2023, 04:57 PM #1

I employ scripts occasionally to duplicate, backup, or save game files and hard drives. These scripts combine xcopy and robocopy. The issue is that Windows blocks copying certain directories. This problem occurs on my son's PC, which is his only user account with admin privileges. He backs up his Minecraft worlds to another drive using the command provided. However, it fails because I lack the necessary permissions for that folder. The script functions well for other files, but this restriction prevents it. What could be missing?

L
lila_lau
Junior Member
42
06-21-2023, 03:46 PM
#2
You're likely encountering a problem where manual admin login is needed before copying works. An automated script may fail. Consider disabling UAC temporarily to test.
L
lila_lau
06-21-2023, 03:46 PM #2

You're likely encountering a problem where manual admin login is needed before copying works. An automated script may fail. Consider disabling UAC temporarily to test.