Author |
Message |
massimo.petrini
Joined: 19 Jul 2006 Posts: 5
|
Posted: Mon May 26, 2014 2:57 pm Post subject: Copy files from windows 2003 to windows 2012r2 - copy Owner |
|
|
Hello, I have problems copying files WITH the permission copy over windows 2012r2;
the error was
Can not copy Owner information to folder "\\server\DISCO_G\BACKUP\DISCO_p\123V5W\ALPA\". This security ID may not be assigned as the owner of this object.] Error.
If I uncheck the flag "copy file/folder owner" and "copy file/folder auditing" the copy run correctly, Please note that the remote directory doesn't exits and was created from viceversa
Which are my errors ? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
massimo.petrini
Joined: 19 Jul 2006 Posts: 5
|
Posted: Tue May 27, 2014 5:28 am Post subject: |
|
|
TGRMN Software wrote: | Hi, make sure the root source and target folder have exactly the same permissions. thanks |
I am using the same viceversa config on 2 servers; in one of these the os si win2008r2 and the script run correctly, while in the second os wind w2012 r2 the script fails, probably when is create the directory below the root; in the root the permission are the same on the servers .
I found the problem is where the viceversa.exe is running. The test was:
a) viceversa.exe running on windows 2008r2: file config was : source : remote server running windows 2003r2; destination: window 2012r2 : the script run correctly
b)viceversa.exe running on windows 2012r2: file config was : source : remote server running windows 2003r2; destination: window 2012r2 : the script fails |
|
Back to top |
|
|
massimo.petrini
Joined: 19 Jul 2006 Posts: 5
|
Posted: Wed May 28, 2014 10:34 am Post subject: workaround |
|
|
A possible solution is to disable EnableLUA registry
Run Registry Editor (RegEdit).
Navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
Locate the following REG_DWORD value:
EnableLUA
Set the value of EnableLUA to 0.
reboot the server
Now the viceversa.exe running on windows 2012r2 run as on windows 2008r2 creating a new directories with owner and audit permissions as for in the source. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Thu May 29, 2014 7:11 am Post subject: |
|
|
Hi , probably a similar solution was to run ViceVersa elevated (e.g. as administrator") : right click on the ViceVersa icon and select "run as administrator". thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
massimo.petrini
Joined: 19 Jul 2006 Posts: 5
|
Posted: Sat May 31, 2014 6:08 am Post subject: |
|
|
Yes, but how I can run via a bat script viceversa command with "run as admistrator " ?
thanks |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Sat May 31, 2014 9:09 am Post subject: |
|
|
Windows 7 Instructions but very similar on Win 2008
In order to run as an Administrator, create a shortcut for the batch file.
Right click the batch file and click copy
Navigate to where you want the shortcut
Right click the background of the directory
Select Paste Shortcut
Then you can set the shortcut to run as administrator:
Right click the shortcut
Choose Properties
In the Shortcut tab, click Advanced
Select the checkbox "Run as administrator"
Click OK, OK _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Tickbox Guest
|
Posted: Mon Aug 28, 2017 6:56 am Post subject: Vice Versa is not copying the Owner across |
|
|
Hi all,
I am trying to copy some files from user profiles across to another server and it is critical that it keeps all files permissions and ownership .I checked the root folder NTFS permissions and also sharing permissions and they are the same in source and destination. I ticked Copy permissions and ticked sopy file/folder permissions and copy file/folder owner but no luck. it copies the permissions for me but not the owner .
any thoughts ? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Tue Aug 29, 2017 10:22 am Post subject: |
|
|
In the profile -> advanced settings , click on the second "details" button from top, make sure the owner copy option is activated. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|