Very cool. It does indeed work on that version (probably what I though was upcomming in the next one). Nice tip monkeyman. This does open up some cool possibilities now...
NP. running normally is fine for most uses.
it's if you for some reason need to give rclone higher permissions you need to either use SYSTEM instead, or else use the workaround fix asdffdsa linked.
But if you have no need for that now then don't worry about it
hmm, for a demon in hell, strange that you would write
yeah, it does open possibilities.
as per my vss wiki, i create a very small b: and do all mounting on it.
you can shrink your c: by just 1GB, create a b: and mount to that b: drive.
Then where am I supposed to put my floppy-drive?? ... Silly monkey-man shake head
yes, nobody uses the b: anymore, that is why i use it for mounting my vss backups and rclone.
there was a time, when i was a teenager working for tandy/radio.shack, 12" floppy drives were so expensive and finicky, that read/write heads would go out of alignment.
i would connect the drive to an oscilloscope and realign the head
and there is this
Since we're on the topic of Windows mounts...
Does everyone's mount show 1.00 PB as the total available size? In the early days of Rclone, it used to show 1.00 EB, but that changed at one point (about a year and a half ago, if I had to guess). It could, of course, very well have something to do with a change in WinFSP rather than Rclone. Just wondering.
yes, free space is 1.00PB
Then I have to wonder, what happens when we go over...
Your Gdrive storage becomes sentient... probably...
i remember that episode well.
I am experiencing the same difficulty as the original poster.
If I use an elevated command prompt to start the service, it will be successful and I can see the service running, but the Drive will not show up in File explorer.
If I use a regular command prompt to start the service, I get the following error :
Can't open service! Openservice(): Access is denied.
So it would seem I need higher privileges, but I have no idea how to run a command prompt using the SYSTEM account and when I googled it, I am not able to find any working solution.
Has anyone else had the same problem and solved it?
hello and welcome to the forum,
i think that i gave you the solutions up above in this very post,
- run the rclone mount command as system user.
you can create a task in task scheduler and run it as system user.
Thanks for getting back to me!
I had seen your proposed solution #1, but to be honest, I am not very tech savvy and I do my best not to try solutions when I don't understand what I am doing, like modifying registry entries.
Your solution #2 seems much more straight forward to me in the sense that I at least understand some of it. I tried creating a task with SYSTEM user.
I selected computer startup as the trigger.
For actions, I selected a batch file with a simple command : C:\rclone\nssm start rclonemount
(rclonemount being the name of the service I created previously using nssm. I also made sure that service is on manual startup).
Now when I restart my computer, nothing happens. The service is still on manual startup and there is no status.
Thank you for your help and I am sorry if this all seems very simple for you. I'm doing my best to work it out with what little I know.
- i do not use nssm. but for sure, you can run a service as system user.
- no point to create a task in task scheduler to run nssm.
think about that. use one or the other.
- instead, create a .cmd batch file that runs the
rclone.exe mountcommand and create a task for that.
- for testing, it is not reasonable to keep restarting the computer to test the task in task scheduler.
just create the task and run it manually via the GUI or you can create another .cmd batch file to start the task manually like this.
schtasks /run /tn "rclone\veeam_runbackup_en07.veaamfull"
Thanks for the quick answer.
I just tried what you proposed (rclone.exe mount) and it works almost perfectly!
The only problem I see is that since my config is password protected, I need to include it in the batch file, which means leaving my config password in plain text. How do you deal with this, or do you feel it is no problem?
glad you got it working.
well, i am very paranoid and i do have a solution for that, but it is most complicated.
why not post this as a new question and see how people respond
Here it is : Rclone mount via batch file - hiding config password
Just in case you want to follow it too
Well wow. This was a valuable gem for me to randomly come across! I had no idea this was possible, so thank you for the information.
You mention 1MB in your wiki. Do you use 1GB or 1MB? Out of curiosity, why use a dedicated partition? I assume I could just use an existing drive letter and a subfolder?
yeah, mounting to subfolders is very useful.
i have my own backup script, 300+ lines of python code:
it can backup a folder to a local server using fastcopy
it can backup a folder to cloud using rclone
it can compress a folder to a 7zip and copy that to a local server and/or cloud.
about the dedicated partition.
- if your computer has only a c: drive, and you want to create the VSS snapshot, you would have to mount it to a subfolder on the same c: drive, such as c:\snapshot, and i find that confusing and can lead to bugs so i mount it as a subfolder of the b: drive.
- i run my python script on a lot of desktops and servers and i cannot know ahead of time which drives letters are in use and do not want to tweak my script per computer.
so i create the b: drive, which is never in use anymore.
as a side note, you can also mount a external usb drive as a subfolder, instead of assigning it a dedicated drive letter.
as for the size of the dedicated partition, i do not store any data in it, just mount points, which take up no space, perhaps 1MB would work but my b: is 1GB