Author |
Message |
MarkST
Joined: 24 Jun 2015 Posts: 19
|
Posted: Mon Jun 29, 2015 2:21 pm Post subject: |
|
|
Here's the ouput
2015-06-29 16:20:11 : START ID: 201562914208-409500-3412
2015-06-29 16:20:11 : ************************************************************
2015-06-29 16:20:11 : Profile Started.
2015-06-29 16:20:11 : ************************************************************
2015-06-29 16:20:11 : Version: ViceVersa PRO 2.5 Build 2511 (SN367) [Registered][...]
2015-06-29 16:20:11 : Command Line: "c:\program files (x86)\viceversa pro\viceversa.exe" "P:\Documents\ViceVersa PRO\Music Resources to Ravenshome.fsf" /hiddenautosync /vveng "/vvps:C:\Users\mark\AppData\Roaming\VVEngine\2F6F60A1-14E0CB02-E3B7A4FE-D19342ED-95CD86FC.vv.txt "
2015-06-29 16:20:11 : System: Windows 8, (x86-64 Processor) v6.2 Build:9200 - Emulated OS: Windows 8, (x86-32 Processor) v6.2 Build:9200
2015-06-29 16:20:11 : User: mark
2015-06-29 16:20:11 : Computer: Beasthome
2015-06-29 16:20:11 : **** Profile: P:\Documents\ViceVersa PRO\Music Resources to Ravenshome.fsf
2015-06-29 16:20:11 : **** - Folders -
2015-06-29 16:20:11 : **** Source: "O:\"
2015-06-29 16:20:11 : **** Target: "Y:\"
2015-06-29 16:20:11 : **** Include Subfolders: Yes
2015-06-29 16:20:11 : **** Network: connect using default user's credentials
2015-06-29 16:20:11 : **** - Comparison Settings -
2015-06-29 16:20:11 : **** Comparison Type: Size and Timestamp
2015-06-29 16:20:11 : **** - Execution Settings -
2015-06-29 16:20:11 : **** Method: Backup (Mirror Source to Target)
2015-06-29 16:20:11 : **** Log File: "C:\ProgramData\ViceVersa PRO\log6.log" (max 10000 KB)
2015-06-29 16:20:11 : **** No archive for deleted/replaced source files
2015-06-29 16:20:11 : **** No archive for deleted/replaced target files
2015-06-29 16:20:11 : **** Run custom scripts before comparison (script: C:\Users\mark\Desktop\netuse.bat)
2015-06-29 16:20:11 : [Incremental (=partial) recomparison of source and target, based on VVEngine detected changes, activated]
2015-06-29 16:20:11 : [VVEngine incremental recomparison filters : 0 files, 2 subfolders]
2015-06-29 16:20:11 : [VVEngine detected changes: detailed list follows (files)]
2015-06-29 16:20:11 : Include: O:\System Volume Information\*
2015-06-29 16:20:11 : Include: O:\*
2015-06-29 16:20:11 : [Total: 2 (0)]
2015-06-29 16:20:11 : [VVEngine detected changes: detailed list follows (subfolders)]
2015-06-29 16:20:11 : Include: O:\System Volume Information\^
2015-06-29 16:20:11 : Include: O:\^
2015-06-29 16:20:11 : [Total: 2 (2)]
2015-06-29 16:20:11 : Running script C:\Users\mark\Desktop\netuse.bat
2015-06-29 16:20:11 : Script Output:
2015-06-29 16:20:11 : C:\Users\mark\Desktop>net use
2015-06-29 16:20:11 : New connections will be remembered.
2015-06-29 16:20:11 : Status Local Remote Network
2015-06-29 16:20:11 : -------------------------------------------------------------------------------
2015-06-29 16:20:11 : Unavailable U: \\Ravenshome\Photography Microsoft Windows Network
2015-06-29 16:20:11 : Unavailable V: \\Ravenshome\Virtual Machines
2015-06-29 16:20:11 : Microsoft Windows Network
2015-06-29 16:20:11 : Unavailable W: \\Ravenshome\Keep2 Microsoft Windows Network
2015-06-29 16:20:11 : Unavailable X: \\Ravenshome\Movies Microsoft Windows Network
2015-06-29 16:20:11 : Unavailable Y: \\Ravenshome\Music Resources
2015-06-29 16:20:11 : Microsoft Windows Network
2015-06-29 16:20:11 : The command completed successfully.
2015-06-29 16:20:11 : End Script Output
2015-06-29 16:20:11 : Script return code: 0
2015-06-29 16:20:12 : [ERROR] Target: folder "Y:\" not found. The system cannot find the path specified.
2015-06-29 16:20:12 : Exit Code: 14. Target folder not found. [ERROR]
2015-06-29 16:20:12 : ************************************************************
2015-06-29 16:20:12 : END ID: 201562914208-409500-3412 |
|
Back to top |
|
|
MarkST
Joined: 24 Jun 2015 Posts: 19
|
Posted: Mon Jun 29, 2015 2:23 pm Post subject: |
|
|
This is the batch job tha runs at startup - I can access all these drives with no problem, so ca VVPro
echo Y|net use * /DELETE /Y
net use x: \\Ravenshome\Movies ******** /user:mark /persistent:yes
net use w: \\Ravenshome\Keep2 ******** /user:mark /persistent:yes
net use v: "\\Ravenshome\Virtual Machines" ******** /user:mark /persistent:yes
net use U: \\Ravenshome\Photography ******** /user:mark /persistent:yes
net use Y: "\\Ravenshome\Music Resources" ******** /user:mark /persistent:yes
net use T: "\\Ravenshome\Studio ******** /user:mark /persistent:yes |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Tue Jun 30, 2015 12:19 am Post subject: |
|
|
OK, thanks.
The problem occurs because of the way administrator accounts work since Windows Vista / Windows 7 or newer. When you logon with an administrator account the account gets two tokens, a standard user token and an administrator token. When you originally mapped the drive the standard user token was used. When VVEngine runs it runs as "elevated" with full admin rights.
Try this:
a) use UNC paths instead of mapped drives in the ViceVersa profile.
b) remap the drives you need in a script that runs before execution
Please post the output.
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
MarkST
Joined: 24 Jun 2015 Posts: 19
|
Posted: Tue Jun 30, 2015 12:09 pm Post subject: |
|
|
Sure I wil try ths again - though I have used UNC paths before, with no different result. But waht do you mean about remapping them before running? |
|
Back to top |
|
|
MarkST
Joined: 24 Jun 2015 Posts: 19
|
Posted: Tue Jun 30, 2015 12:17 pm Post subject: |
|
|
I just re-ran the script I use at boot and it seems to work! I will try a few more before I am convinced though. Why do I need to remap the disks each time? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Tue Jun 30, 2015 3:22 pm Post subject: |
|
|
Are you re-running the boot mapping script before execution in ViceVersa? It should also work if you use UNC paths in the profile. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
MarkST
Joined: 24 Jun 2015 Posts: 19
|
Posted: Tue Jun 30, 2015 4:35 pm Post subject: |
|
|
I used UNC paths on some of the profles from the start but they didn't work. The thing that seems to have made a difference is remapping the drives, I just don't know why it works! |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Tue Jun 30, 2015 11:00 pm Post subject: |
|
|
Hi, the reason it needs re-mapping of the drives is because you are using mapped drives in the ViceVersa profile and those mapped drives are not accessible under the VVEngine service , even if the service runs under the same admin account. Reason is that you logon with an administrator account the account gets two tokens, a standard user token (default) and an administrator token. When you originally mapped the drive with your boot script the standard user token was used. When VVEngine runs it runs as "elevated" with full admin rights.
Another test you can try to verify this. After you rebooted the PC and your boot script runs, open a command prompt by right clicking on the command prompt icon and from the menu select "run as administrator".... once the command prompt has opened, type "net use" ... you will see that all the mapped drives are not available. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|