OneDrive

Discuss new features and functions
Posts: 17
Joined: 17 Oct 2018

rianno

Is it possible to sync to Onedrive account?
Posts: 4
Joined: 3 Mar 2020

Kasazn

Hi is there any update to this?
Posts: 17
Joined: 17 Oct 2018

rianno

no.
I've even written a letter to the official email address but no answer at all
Posts: 17
Joined: 30 Mar 2020

RayJohnson

You can synch to OneDrive if you assign a drive letter to OneDrive.
It works but is slow, and has some quirks. For example, files that have a '~' in the filename, are renamed on OneDrive.. the '~' becomes a '^'.
If you upload via the OneDrive browser, it does not show this behaviour.

https://www.partitionwizard.com/partitionmagic/assign-drive-letter-to-onedrive-008.html
There are more links with instructions. Just google.

Kind regards
Posts: 17
Joined: 17 Oct 2018

rianno

thanks
User avatar
Posts: 4866
Joined: 11 Jun 2019

xCSxXenon

You can also use "C:\Users\xxxxxxx\OneDrive\"
Posts: 17
Joined: 30 Mar 2020

RayJohnson

Yes, but then you have every file twice on your harddisk: in its original folder and in the "C:\Users\xxxxxxx\OneDrive\".
Or you must move it entirely to "C:\Users\xxxxxxx\OneDrive\" ....
User avatar
Posts: 4866
Joined: 11 Jun 2019

xCSxXenon

Well, my OneDrive gets stored on my D drive, so I have "D:\OneDrive"
OneDrive files gets stored somewhere on your computer, use that path
Posts: 17
Joined: 30 Mar 2020

RayJohnson

That is an option. But I like to keep my files organised as they are and not 'force' them into the OneDrive folder.
So I set OneDrive to 'not synchronize with my harddisk'. I use OneDrive basically as a cloud backup drive.
That said, I use Dropbox as you describe.
User avatar
Posts: 4866
Joined: 11 Jun 2019

xCSxXenon

Ah, I understand. You aren't storing the files locally, just letting them stay in the cloud. I misunderstood, you are correct
Posts: 9
Joined: 22 Nov 2021

MikeShawn

Use Dropbox. Using OneDrive was a nightmare. My workflow is all master files reside on my X drive. I then use FFS to mirror those files to my Dropbox folder on C: drive. After Dropbox syncs, you can left click on the Dropbox folder and force it to delete all files on your C drive. So, X to C to Cloud then delete the files in C. The Dropbox feature leaves the file directory on C. The only issues I have found is that FFS needs to be run as admin and Dropbox needs to be running when you do the FFS sync. I'm not sure why.

I tried this same exact workflow with OneDrive and it was a pain. Something in my system kept setting a file attribute to P. P is a little used attribute that MS hijacked and uses to set the function for Cloud versus local storage. With the P attribute set, OneDrive thinks you always want to keep a local copy. Thus, their Free Up Space feature does not work. The yahoos at MS had no solution or idea why this was happening. I either had to go in to my C drive OneDrive and free up each file one by one or delete everything on C: and let OneDrive download everything from the Cloud onto C then use the Free Up Space to delete the files. I spent months on this issue with no resolution. Switched to dropbox and have had zero problems (the P attribute is meaningless to dropbox).
Posts: 2
Joined: 12 Dec 2022

manu371

Sync every onedrive with freefilesync,for example local to onedrive, onedrive to another onedrive ...

Press the key combination [Win] + [E] to open Windows Explorer.
Click on "This PC" in the left column and then on "Computer" > "Map network drive" in the menu bar.
In the "Folder:" field, enter the following URL without the quotation marks: "https://d.docs.live.net/". Do not confirm your entry yet.
Sign in to OneDrive in your web browser. In the address line at the end of the URL you will see an identification code that is assigned to your user account. Copy the sequence of letters and numbers after "cid=" to the clipboard.
Then switch back to the "Map network drive" window and paste the code from the clipboard behind the URL in the folder input field. If you want, you can accept the default drive letter or choose a different one. Confirm the process with "Finish".
A new window will open in which you need to enter the credentials of your OneDrive user account.
Use ffs.

that's it.
Posts: 2
Joined: 17 Mar 2023

eSilverStrike

This was my first way to try backup up my one drive since I have the files mirrored on my own computer at:

"C:\Users\xxxxxxx\OneDrive\".

For some reason though the files are not found when I compare. Any idea why?


@manu371 - When the above didn't work I also tried created a mapped drive. I followed your instructions and it did not work. It thinks for a bit and then I get the message "The network path https://...." not found (I just added the dots but it has the url you give along with my cid
User avatar
Posts: 4866
Joined: 11 Jun 2019

xCSxXenon

This was my first way to try backup up my one drive since I have the files mirrored on my own computer at:

"C:\Users\xxxxxxx\OneDrive\".

For some reason though the files are not found when I compare. Any idea why?


@manu371 - When the above didn't work I also tried created a mapped drive. I followed your instructions and it did not work. It thinks for a bit and then I get the message "The network path https://...." not found (I just added the dots but it has the url you give along with my cid eSilverStrike, 17 Mar 2023, 16:41
Open OneDrive settings and disable "Files on Demand"
Posts: 2
Joined: 17 Mar 2023

eSilverStrike

Thanks that looks to be the problem.

LeoW

Here is a solution that someone told me about that might work for you. A product called Mountainduck. It's designed specifically to "map" a drive letter to your Onedrive account. Then, you can use freefilesync with that newly assigned drive letter.
Posts: 17
Joined: 30 Mar 2020

RayJohnson

Here is a solution that someone told me about that might work for you. A product called Mountainduck. ... LeoW, 22 Mar 2023, 02:40
You can also do that by using NET USE . I put it in a .bat file:
net use x: https://d.docs.live.net/AAAAAAAAA /savecred /persistent:no
AAAAAAAAA is your OneDrive id.
OneDrive ID can be found in the web address: https://onedrive.live.com/?id=root&cid=AAAAAAAAA

When using two-factor authentication, you must NOT use your normal OneDrive account password but you must generate an app-specific password, using this link:
https://account.live.com/proofs/Manage --> "Create a new app password"

Note that this drive letter maps directly to your online OneDrive account. Not your local OneDrive on disk.

I don't know Mountainduck. Perhaps that is slightly more comfortable to set up.

LeoW

Thanks for the instructions. Looks complicated. MD is for novices like me. Also, I have two onedrive accounts, and MD lets me map 2 personal drives. Can't do that otherwise. You also can disable the built-in onedrive software.
I have a Backblaze B2 account and I can map a drive there too.

I'll give it a try on an extra PC.

Thanks.
Posts: 29
Joined: 11 Dec 2022

franksisco

Hi, with FreeFileSync I would like to synchronize a folder on my Onedrive cloud with one in my pc, without using the windows built-in sync service at all.
The thing is I want to be able to sync only and when I want to and not automatically like windows does.
I want to totally disable Onedrive as a service from my pc.
I don't use Onedrive as a backup system, that's precisely why I use FreeFileSync.
I just want to have a "non-onedrive" folder on pc synchronized by FFS (and not Windows built-in sync service) with its corresponding one on the cloud
.. but following this thread I didn't quite understand what I need to do.
What I did is that:

I got "https://d.docs.live.net/"
I got my OneDrive id
I have created the app password
In FreeFileSync I did "browse" in the first FFS panel, when it came up with the windows folder search I entered "https://d.docs.live.net/myonedriveid" in thr address bar and chose that path as the folder.
After several seconds this window appeared for me.
Image

I entered my username and app password as suggested by you.... But the message reappears empty asking for the same thing... and if I recompile it reappears again... so I undertstand FFS can't get access to Onedrive

What am I doing wrong?
Posts: 17
Joined: 30 Mar 2020

RayJohnson

@franksisco
Save this code as a .bat file and run that. Make sure you enter your OneDrive ID.
It will map your OneDrive to drive letter X:
(There is actually more comment than code in the file. If everything is clear and works, feel free to clean it up).
REM Map OneDrive to a drive letter
REM My OneDrive id: ABCDEFGHIJKLM
REM OneDrive ID can be found in the web address: https://onedrive.live.com/?id=root&cid=ABCDEFGHIJKLM

REM ------------------------
REM net use k: https://d.docs.live.net/ABCDEFGHIJKLM /savecred /persistent:yes

REM net use options:
REM   /savecred            : if this option is used, credentials (login and pw) are stored on the pc
REM   /persistent:yes|no   : yes: mapping is preserved after a reboot; no: mapping is forgotten after reboot
REM It will then prompt for a username and password, which will be saved and will not prompt even after a reboot.
REM You can also add the credentials by opening Start → Run → control userpasswords2 → Advanced → Manage Passwords.
REM This feature exists on Windows XP and later.
REM -------------------------

net use x: /delete
REM Enter login and password one time. PW is saved and mapping is preserved after a reboot:
REM net use x: https://d.docs.live.net/ABCDEFGHIJKLM /savecred /persistent:yes

REM Enter login and password one time. PW is saved and mapping is NOT preserved after a reboot:
net use x: https://d.docs.live.net/ABCDEFGHIJKLM /savecred /persistent:no

REM Important! When using two-factor authentication, you must NOT use the account password but you must
REM generate an app-specific password, using this link:
REM https://account.live.com/proofs/Manage  --> "Create a new app password"

LeoW

Hi, with FreeFileSync I would like to synchronize a folder on my Onedrive cloud with one in my pc, without using the windows built-in sync service at all.
The thing is I want to be able to sync only and when I want to and not automatically like windows does.
I want to totally disable Onedrive as a service from my pc.
I don't use Onedrive as a backup system, that's precisely why I use FreeFileSync.
I just want to have a "non-onedrive" folder on pc synchronized by FFS (and not Windows built-in sync service) with its corresponding one on the cloud
.. but following this thread I didn't quite understand what I need to do.
What I did is that:

I got "https://d.docs.live.net/"
I got my OneDrive id
I have created the app password
In FreeFileSync I did "browse" in the first FFS panel, when it came up with the windows folder search I entered "https://d.docs.live.net/myonedriveid" in thr address bar and chose that path as the folder.
After several seconds this window appeared for me.
Image

I entered my username and app password as suggested by you.... But the message reappears empty asking for the same thing... and if I recompile it reappears again... so I undertstand FFS can't get access to Onedrive

What am I doing wrong? franksisco, 31 Aug 2023, 19:18

Here are two free soutions. They both allow you to mount/map a drive letter in windows to Microsoft Onedrive so that you could then use free file sync to do any synchronization that you wish and there's no need to create complicated scripts or anything like I'm reading above it's just a simple free installation of a Windows gui software program and you put in your credentials and it gives you a local drive letter on your Microsoft account it's that simple.

Then, you can use FFS to sync from local to F: which is mapped to your Onedrive account.

The easy gui solution is https://www.raidrive.com/

The command line open source solution is rclone
You run "rclone.exe config" and the program will walk you through the setup process.

I use both of these programs on different computers with free file sync and they're both work.

Rclone lets you connect to over 40 different cloud providers for free so that's what I use in a variety of situations in conjunction with free file sync.
Posts: 29
Joined: 11 Dec 2022

franksisco

Thank you all very much for the solutions. I'm going to experiment this afternoon.
Just the last stupid question: so is it really impossible to connect to the onedrive cloud directly in FreeFileSync without first creating that virtual local drive/folder?

LeoW

The app natively supports Google and SFTP that's all!

OneDrive Must be done using other means as discussed above.

Raidrive will be the easiest I think.

It's sole purpose in life is to mount a drive to Microsoft OneDrive and other cloud services. OneDrive is included for free.
Posts: 17
Joined: 30 Mar 2020

RayJohnson

The solution I am using now, is to backup my 'normal' folders to the standard OneDrive folder on my hard drive. But what I do is to set the OneDrive folder so that all files are stored in the cloud, and not physically on the hard drive. So the file/folder structure uses almost no disk space.
The advantage is that I do not seem to have problems anymore with special characters in file names.
Posts: 29
Joined: 11 Dec 2022

franksisco

The app natively supports Google and SFTP that's all!

OneDrive Must be done using other means as discussed above.

Raidrive will be the easiest I think.

It's sole purpose in life is to mount a drive to Microsoft OneDrive and other cloud services. OneDrive is included for free. LeoW, 01 Sep 2023, 06:26
Thank you very much, but I don't understand one thing: is the Raidrive folder/drive just a virtual folder (that FFS can link to) or does it actually contain a synchronized local copy of what it's linked to? Because in the latter case it would be a little weird for me. First because to have on Windows a local synchronized Onedrive folder I would just use the built-in Onedrive service without the need for Raidrive, second because to synchronize with FFS the Raidrive folder (I repeat, only if it's not virtual) with a second folder I would be forced to have a local duplicate of everything, wasting a lot of space.
The solution I am using now, is to backup my 'normal' folders to the standard OneDrive folder on my hard drive. But what I do is to set the OneDrive folder so that all files are stored in the cloud, and not physically on the hard drive. So the file/folder structure uses almost no disk space.
The advantage is that I do not seem to have problems anymore with special characters in file names. RayJohnson, 01 Sep 2023, 07:43
I'm not sure I understand, but I feel that perhaps it's just the solution to the problem I mention above to LeoW. Does your script .bat create a virtual Onedrive drive without any files actually downloaded locally? Because that would be exactly what I need. Like a path to Onedrive that FreeFileSync can connect to but without it actually containing anything locally..

LeoW

Raidrive will map say H: to your OneDrive account. Everything will remain remote it won't download anything and won't have anything to do with your Windows Microsoft OneDrive configuration.

If you were in free file sync and looked at H: it would bring up a list of all of your remote OneDrive files that are out on the OneDrive server not on your PC.

The Microsoft OneDrive software is linked to a folder in your home folder called OneDrive this is pointing in your case to files in the cloud.

They should match.

I don't think that you need to use both the Microsoft OneDrive software and raidrive unless you wish to.

I normally recommend a product like raidrive to people who are not using the included with Microsoft OneDrive software because they don't like it for one reason or another.
Posts: 29
Joined: 11 Dec 2022

franksisco

Thank you very much! In this case I have no problem and Raidrive seems to be a very good solution. Maybe the only downside is that, if I understand, it's not free. In case I can try with Rclone.

Some time ago I had also found solutions like this to manually map a network drive to Onedrive directly in windows explore without the need to installing anything. All very simple but unfortunately I can't get it to work. I think there is some problem with the microsoft 2FA which I have active.

In this case when you are manually creating a network drive you have to enter https://d.docs.live.net/myonedriveCID and when the login pops up to enter the microsoft account email and the app password especially created on microsoft site.
But as I said it doesn't work, windows keeps asking for the login without creating the drive. I am currently trying to get this system to work, if I fail I will go with Raidrive or Rclone

LeoW

Actually if you read their website carefully the base product supports Google Drive and OneDrive from Microsoft for free and it even lets you map a drive to your Google photos specifically independently from your Google drive files so if you want to back up all of your Google photos this product and the other are the only two I know of that can directly access your photos only on your Google Drive.

Anyway there's no charge to use the software if you're using Microsoft OneDrive. I use it all the time and I've never paid them a dime.

LeoW

Raidrive is Windows only but it's a very easy to use app. It literally takes no brains to set up a connection to Microsoft OneDrive and as I said there's no charge so there's no point in pulling your hair out trying to get your solution to work properly.

Rclone is a command line utility that is open source and works on Windows Linux and Mac. It takes a little learning it has a steep learning curve in comparison to the other.

LeoW

I have used the solution that you are trying to get working and I have made it work once and then I decided I wasn't going to bother anymore because there's no need to if there is free software that does the job easier.
Posts: 29
Joined: 11 Dec 2022

franksisco

Yes I think you are right... Also because unlike you I can't get the tutorial method to work.
Now forgive this last and even more stupid question:
Does the drive that will be created by Raidrive or Rclone need these applications to remain installed? Or do they simply take care of writing a drive link in the windows language that works anyway?
Posts: 29
Joined: 11 Dec 2022

franksisco

Update: I just created a network drive to Onedrive with Rclone. I don't know why I wanted to go the hard way. The drive works perfectly but I just ran into two insignificant little tiny laughable problems:
- first: FreeFileSync doesn't see the drive created by rclone.
-second: The drive automatically unmount after a while or when I restart the pc...

In both cases it was a given to me that the drive had to stay mounted forever and that FFS had to access it.
So now I will try Raidrive

LeoW

Yes I think you are right... Also because unlike you I can't get the tutorial method to work.
Now forgive this last and even more stupid question:
Does the drive that will be created by Raidrive or Rclone need these applications to remain installed? Or do they simply take care of writing a drive link in the windows language that works anyway? franksisco, 03 Sep 2023, 09:58
YES, they not only must remain installed, they must be running as well.

Rcone is a command line utility, so after Windows boots you need to open a command prompt and run a batch file that executes the command that you need.

rclone --vfs-cache-mode full mount MyOnedrive: i:

DON'T forget the "--vfs-cache-mode full" option on the command line. It is REQUIRED!

Raidrive being a Windows app is able to run automatically when Windows boots and runs in the Windows system tray so it's probably more to your liking because it's always there and available without having to do anything.

LeoW

Update: I just created a network drive to Onedrive with Rclone. I don't know why I wanted to go the hard way. The drive works perfectly but I just ran into two insignificant little tiny laughable problems:
- first: FreeFileSync doesn't see the drive created by rclone.
-second: The drive automatically unmount after a while or when I restart the pc...

In both cases it was a given to me that the drive had to stay mounted forever and that FFS had to access it.
So now I will try Raidrive franksisco, 03 Sep 2023, 16:27
1. Rclone is a command line utility program that requires you open a command prompt, and run the command. I do it via batch file. Use this syntax:
rclone --vfs-cache-mode full mount MyOnedrive: i:
DON'T forget the "--vfs-cache-mode full" option on the command line. It is REQUIRED!

I'm using Rclone with Onedrive and FFS right now, and FFS definitely sees the drive and works. I would not have recommended it otherwise.

2. Of course it is going to dismount when you reboot the PC. You will probably prefer and like Raidrive. because it's a Windows Gui app you can have it auto start when Windows boots and it runs in the system tray so you can have a drive letter available for FFS at anytime that you need it.
Posts: 29
Joined: 11 Dec 2022

franksisco

Ok thank you very much I didn't know I had to add "full" before "mount". The first difference I noticed is that the mounted rclone drive no longer appears as network drive but as standard system drive like "C"

In the meantime I solved the mystery, or rather, I figured out why my FreeFileSync still not recognize the rclone drive: because I set FFS to run as administrator.
The reason is what I was talking about here again in this thread: even though I am the only administrator user of my pc, FFS refused to work on some folders in "C:\Program Files\...." even though I had life and death power over them. The only solution was to create a shortcut to always run FFS as administrator. Synchronization problems solved.
Now, however, I am paying the price: I can see the Rclone drive in FFS only if I - do not - start FFS as administrator....

Out of curiosity I'm thinking of seeing what would happen if I recreate the drive by setting up "rclone config" with command prompt run as administrator.............

And then I have yet to fully understand how to install this auto mount command as a service.
But I'm seeing progress.

LeoW

Here is what I think you need to try.

If you want to run free file sync as administrator and you want to run RCLONE as administrator I don't think you need to recreate the remote configurations while being administrator what you need to do is open an elevated command prompt as administrator so that when you run RCLONE. EXE it will run with elevated permissions as administrator as well. That is what I would try.
Posts: 29
Joined: 11 Dec 2022

franksisco

At the moment it doesn't seem to work, I launched windows powershell as administrator and ran
rclone mount Onedrive: O: --vfs-cache-mode full --no-console
(same command I'm having windows run via .bat file at system startup) but nothing happens.
If I start powershell in normal mode and run the same command the drive is mounted perfectly.
So I guess I really have to recreate the rclone drive by running it as administrator from the beginning.
Posts: 29
Joined: 11 Dec 2022

franksisco

Okay now I know. To allow FreeFileSync runned as administrator to see a rclone drive you must have created its "config" by a terminal runned as administrator too. After it can be mounted by terminal or a .bat file without running them as administrator. Actually I see that starting an rclone mount from a terminal with admin permissions does absolutely nothing.

LeoW

OK,

I just completed some testing based on your feedback. My results differ from yours regardless of whether I use a command prompt terminal or a powershell terminal.

I did not need to recreate any of my configuration files while running Rclone as administrator. in order for FFS to see the Rclone drives, they must both be running under the same privileges either as a regular user or as administrator.

I'm not going to do the same experiment creating my configurations all over again while running the software as administrator when I know that all I need to do is run the software as administrator.

FFS is a Very useful and straightforward easy to use tool if all you're trying to do is back up your user data. You are trying to do a lot more than most people do with the software.

Good luck.
Posts: 29
Joined: 11 Dec 2022

franksisco

No problem, I am satisfied. All I need now is to be able to install rclone as a service and I'm good to go. Thank you very much for your precious help.

LeoW

Yes, rclone can be run as a service on both Windows and Linux. There are different ways to achieve this depending on the operating system and the desired behavior.

On Windows, you can use nssm (the Non-Sucking Service Manager) to create a service that runs rclone. You can find detailed instructions on how to do this on the rclone forum. Alternatively, you can use Task Scheduler to run rclone at specific times or events.

On Linux, you can use systemd to create a service that runs rclone. You can find an example of a systemd service file on the rclone website. Alternatively, you can use [cron] to run rclone periodically or [screen] or [tmux] to run rclone in the background.

I hope this helps you with your rclone setup. If you have any more questions, feel free to ask me

LeoW

Read carefully and you will get to the part of the installation help that talks about how to set up Rclone to run as a service.
Posts: 29
Joined: 11 Dec 2022

franksisco

Yes thank you I was just studying the information on that page and was undecided whether to follow the first method with WinFsp or the second method with NSSM. But since you suggest the second one I will try that

LeoW

Cool.

Just as an FYI.

I also have winsfp installed.

Started using that program before I knew about rclone.

LeoW

HEY!!

I tried but could not get NSSM to work. It did create a service only it wouldn't start.

I FIGURED OUT HOW TO SUCCESSFULLY INSTALL RCLONE AS A SERVICE!!

In Powershell there is a cmdlet called "New-Service"

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-service?view=powershell-7.3

You'll want to upgrade your Windows Powershell to the latest version, which is 7.3 Search Google and you'll learn how. Here it is:

winget install Microsoft.PowerShell

The newer version of Powershell is started using a different command line command:

pwsh.exe is the NEW 7.3 version of Powershell.


This is the command syntax. I installed this using an example in the rclone install guide.

New-Service -Name Rclone -BinaryPathName 'c:\rclone\rclone.exe mount remote:/files X: --config c:\rclone\config\rclone.conf --log-file c:\rclone\logs\mount.txt'

I now have a persistent drive X: that is always there. It's even listed in services.msc

LeoW

Here is a very nice tool that can install rclone as a service. Very easy.

https://github.com/TWC-Software/DaemonMaster/releases/tag/0.2.12.0

--vfs-cache-mode full mount leo-google: h: --config C:\Users\leo\AppData\Roaming\rclone\rclone.conf --log-file c:\users\leo\rclonegooglelog.txt

It is advertised as alpha version code and development no longer exists but it works.

LeoW

NSSM software is working now!

DEFINING THE PATH TO THE RCLONE CONFIG FILE IS REQUIRED!!!

--config C:\Users\leo\AppData\Roaming\rclone\rclone.conf

This flag MUST be part of the mount command when configuring the service in NSSM!
FFS help service delete.png
FFS help service delete.png (15.05 KiB) Viewed 14749 times
Posts: 29
Joined: 11 Dec 2022

franksisco

Thank you very much indeed, you are helping me more than I hoped!
I just need to solve one thing before I go ahead and install the service because I keep seeing strange things...
I told you a few days ago that the only way I could see a rclone drive in FreeFileSync was to have it previously created with admin permissions... Today that no longer works... I swear I can't give myself an explanation.

Now the situation is this:
If I mount a standard rclone drive by normaly running a .bat, I can see it in "This PC" devices and drives, but I cannot see it in FFS
If I mount an rclone drive created with admin permissions, started from .bat without admin permissions, I can see it in "This PC" devices and drives, but I cannot see it in FFS
If I mount a normal rclone drive, started from .bat with administrator permissions, I no longer see it in "This PC" devices and drives, but I can see it in FFS and among the active processes
If I mount an rclone drive created with administrator permissions, started from .bat with administrator permissions, I no longer see it in "This PC" devices and drives, but I can see it in FFS and among active processes

Summarizing the situation, there is no difference in behavior between a drive created with or without administrator permissions, the big problem, however, is that the way in which my FFS (always started as administrator for the reasons mentioned above) sees the rclone drive, namely by starting the .bat with admin permissions, results in not being able to see the drive in
Posts: 29
Joined: 11 Dec 2022

franksisco

Thank you very much indeed, you are helping me more than I hoped!
I just need to solve one thing before I go ahead and install the service because I keep seeing strange things...
I told you a few days ago that the only way I could see a rclone drive in FreeFileSync was to have it previously created with admin permissions... Today that no longer works... I swear I can't give myself an explanation.

Now the situation is this:
1) If I mount a standard rclone drive by normaly running its .bat, I can see it in "This PC" devices and drives, but I cannot see it in FFS
") If I mount an rclone drive created with admin permissions by normaly running its .bat, I can see it in "This PC" devices and drives, but I cannot see it in FFS
3) If I mount a standard rclone drive running its .bat as administrator, I no longer see it in "This PC" devices and drives, but I can see it in FFS and among the active processes!!
4) If I mount an rclone drive created with admin permissions running its .bat as administrator, same result as 3)

Summarizing the situation, from today there is no difference between a drive created with or without admin permissions. The big problem, however, is that the way in which my FFS (always started as administrator for the reasons mentioned above) sees the rclone drive, that is by running the .bat as administrator, results in no longer being able to see the drive in "This PC"

The .bat is always this
rclone mount Onedrive: O: --vfs-cache-mode full --no-console
Posts: 1202
Joined: 8 May 2006

therube

When you elevate, "run as admin", you <> admin_you.
And things like mappings also do not work (unless mapped separately for both you & admin_you).

And what you are describing, Admin FFS seeing rclone, "O:", but "you" not seeing O: in Windows (Explorer) or otherwise, sounds mighty similar to that.

Likewise if you open a normal CMD prompt & an "Admin" CMD prompt, you should see the same differences.

C:\> DIR O:
The filename, directory name, or volume label syntax is incorrect.

Admin_C:\> DIR O:
Directory of O:\

01/14/2021 03:42 PM <DIR> 123
11/03/2007 02:08 PM 0 AUTOEXEC.BAT
08/17/2023 11:33 AM <DIR> BASIS
01/21/2021 11:53 AM <DIR> BIN
11/03/2007 02:08 PM 0 CONFIG.SYS
06/29/2022 01:39 PM <DIR> DEV
08/17/2023 11:33 AM <DIR> GUI_BBX ...