Dropbox autostart fails (probably because TEMP dir is not yet available)
Posted 12 September 2012 - 06:21 PM
I posted this question as a reply to another thread, but I figured it was probably better suited in its own thread.
When using the Task Scheduler method of creating an ImDisk RAMDisk I got the following problem:
* No RAMDisk was created at reboot
* When checking in Task Scheduler, my ImDisk task reports some error code e.g. Last Run Result = 0x8007051F
* When right clicking and manually selecting "Run" it worked...
So I found another method while googling for help
* Start gpedit.msc
* Edit the windows startup script to call a .bat with imdisk & TEMP directory creation.
I also set both the windows temp dirs to K:\TEMP (on the RAMDisk)
Now, I just have one problem:
Dropbox needs to access the windows TEMP dir quite early (I put it to the RAMDisk at K:\TEMP) - but when it tries to access it at startup (autostart) it says that it's not available!
If I try to restart dropbox manually a few seconds later, it works!
How can I make ImDisk start as EARLY as possible to avoid failing early access to TEMP directory?
And why is the Task Scheduler method failing me?
Information about my computer:
Core i7 gen3
16GB DDR3 1600MHz RAM
SSD system disk + HDD extra disk, both connected to intel 6Gbps SATA interface.
(my system boots VERY fast ~20s after POST, could that be related to the Task Scheduler method not working?)
Posted 18 September 2012 - 08:52 PM
The .bat-script I use to start ImDisk and create the TEMP directory, now also starts dropbox.
I just turned off autostart in dropbox, and as I said the script I use to start ImDisk now also starts dropbox.
I wish there was a more elegant solution, though. If anyone finds a better one, please share!
For reference my script looks like this
imdisk -a -s 2000M -m K: -p "/fs:NTFS /q /y" K: mkdir TEMP label K: RAMDISK C:Users<username>AppDataRoamingDropboxbinDropbox.exe /home
Posted 20 September 2012 - 02:58 PM
Posted 20 September 2012 - 08:04 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users