OneDrive flash drive - portable version for OneDrive


    OneDrive flash drive is not a metaphor; the article will discuss how to create a flash drive synchronized with OneDrive using the portable syncDriver version for OneDrive. The weight of the portable OneDrive is a little more than 3 MB, and the entire configuration and synchronization database are stored in the same place on a flash drive. Everything works on different versions of Windows from XP to Windows 8.1, and even Windows 10. It doesn’t matter what Windows calls your device when you use the USB flash drive on another computer.

    Interesting, so let's get started ...


    1. The first thing we need to do is download the installation file from our website . Installation is common for standalone and portable versions, but portable can be transferred to another computer after installation, and it will work. During installation, select “Only for me” and install it directly in a folder on a USB flash drive, for example G: \ SyncDriver.



    2. Launch the SyncDriver.TrayIcon.exe application and configure the connection to OneDrive.



    3. As the synchronization folder, we set the relative path relative to the installation folder, in my case just '..' or '.. \ OneDrive'.




    Now we need to wait until the synchronization process is completed, and we have at our disposal a OneDrive flash drive.
    To complete syncDriver, it’s enough to get a flash drive - the process will end automatically, but it’s better to do it “safely” by selecting the appropriate menu item.
    The autorun.inf file is no longer supported by operating systems, so for ease of launch, you can create a simple .bat file in the root of the flash drive, with one command:

    SyncDriver\SyncDriver.TrayIcon.exe
    

    Every time we want to update content on OneDrive, just run this .bat.

    Instead of concluding, I’ll cite a number of questions that excited our mind during the development of the portable version:
    1. Two flash drives simultaneously in the same machine?
      - simultaneously two versions of syncDriver cannot work.
    2. What if I put syncDriver in the root of the flash drive?
      - in this case, nothing will be synchronized, because syncDriver automatically excludes itself from synchronization in order to prevent an eternal cycle: the local database has changed, synchronized in OneDrive, saved to the database, etc.
    3. What about autostart when the system starts, can it break or can it be configured incorrectly?
      - Autostart after installation on a USB flash drive should not be included, since the USB flash drive may not be inserted when the system boots.
    4. What happens if I remove the USB flash drive while the file is downloading?
      - nothing bad will happen, the file will be downloaded next time.
    5. What about the program auto-update on a flash drive?
      - auto-update will correctly install all the necessary changes to the local folder.

    In the comments, I would like to hear your vision of the advantages and disadvantages of the portable approach compared to the stationary one.
    What use case do you have for portable version?

    Also popular now: