We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,756 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Xcopy got access denied error even full control rights

Hi,

I installed Windows 8. I have write a personal script (.bat file) which worked with Windows 7 perfect. The problem on Windows 8 is:

My script executes this command:

xcopy "D:\X" "D:\E" /S /E /I /Q /H /K /O /X

xcopy is Windows's copy command.
"D:\X" is source directory
"D:\E" is destination direcotory
/S /E /I /Q /H /K /O /X are other parameters.

I got "access denied" error.

I check the properties of the directories "D:\X" and "D:\E". On the "security" tab of properties, "Authenticaed Users", "SYSTEM", "Administrators" ve "Users (computerName/Users)" all got "Full control" enabled.

I got "access denied" error even when I log on as admin. The .bat file works just when I run it as administator.

But all other users need to run this .bat file without password. It just executes something simple. Copy a file to another directory.

I will be happy if you can help me.

Thanks in advance..

2
Contributors
1
Reply
1 Day
Discussion Span
3 Months Ago
Last Updated
6
Views
tembel
Newbie Poster
1 post since Feb 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
gerbil
Industrious Poster
4,452 posts since May 2005
Reputation Points: 239
Solved Threads: 322
Skill Endorsements: 5

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0567 seconds using 2.68MB