We use Azure Storage Emulator on the development machines and the CI server to be able to use storage queues locally. Now every time I sign out of Windows or reboot, I need to start the storage emulator manually.
Is there a way to start the Azure storage emulator as service, so that it automatically starts when Windows does?
Running the batch file as described by Gaurav Mantri keeps the command window open. Here is a way to avoid that:
AzureStorageEmulator.exe
start
C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator
(or wherever the storage emulator resides on your disk)Storage Emulator files can be found in C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator
. I noticed a batch file in there called StartStorageEmulator.cmd
.
What you could is create a shortcut of this file in your Startup
folder (e.g. C:\Users\<your user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
). Then when you login back again, the storage emulator will start automatically. [Please see instructions here: http://www.tech-recipes.com/rx/28206/windows-8-how-to-add-applications-startup-folder/].
Other alternative is to create a new task that runs this batch file and schedule that task to run when computer starts. Please see this thread for more details: Run Batch File On Start-up.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With