I have a C# .exe program that I wish to run every time when USB flash drive is inserted that opens welcome screen.    I know about autorun.inf files and similar stuff that show option in autorun "menu" but I need to start program automatically (plug and play).   How can I achieve this without using any additional programs that user needs to install in it's computer.
121406
Is it possible to automatically launch an application from a USB flash drive (bypassing windows prompt asking user what he wants to do)? on windows XP or vista.  I looked into "autorun.inf" and "open" entry seems to work only for CD drives for Windows XP SP2+ and Vista. Is it possible to launch program automatically on all windows versions?  I don't care if autorun is disabled by user in Windows settings.
26488
I know there are Login Items under Users &amp; Groups and /Library/LaunchAgents and /Library/LaunchDaemons under Library, System/Library and Users/FooUser/Library. And then there's right click on Dock icon -> Options -> Open at Login.  What other methods are there for apps to auto-start? The reason why I'm asking is because the Spotify App (downloaded from ) keeps starting up whenever I restart my Mac, even though I made sure there is no corresponding entry in any of the above mentioned places.
47769
I have Windows 10. If I have highlighted a file and press "Enter", the file will be opened using the default program that I have chosen to open it.  I would like to be able to choose an alternative program to open these files if I press a different set of hotkeys, e.g., "Ctrl-Enter" or something.  For example, with my current setup, .txt files open with Notepad by default (i.e., if I press "Enter"), .html files open with Google Chrome by default, and .png files open with Windows Photo Viewer by default. I would like to be able to open .txt files and .html files with Notepad++, and to open .png files with Paint, if I highlight them and press something like "Ctrl-Enter".  Of course, I can already right-click and scroll to whatever program I want to open the files with, but since I do this very frequently, I want a faster, hot-key based approach.  Does anyone know of a way to set this up, either by something built into Windows or by some hack or other?  Thanks for any help.
101239
We have a preferences option to enable auto-run of python scripts when opening blend files. We can also add paths that are excluded from auto-running scripts. Then we have a cli options to enable or disable auto-running scripts and to bypass the startup.blend with --factory-startup.  In regard to auto-running scripts which of these options overrides all others?  If my startup.blend disables auto-run, can a python script be run from the cli to enable auto-run for the blend being opened?  Does --factory-startup bypass my auto-run settings?
6883
The problem is, when I open applications I need to always right click, select run as admin.     When I don't do it getting unexpected application errors. BTW, I turned off UAC.   It's annoying. Is there any way to change behavior of double left-click to act as "Run as administrator" action? I mean to make "Run as administrator" action by default. Thx in advance
36903
How can I make a Click-once deployed app run a startup?  The best option I found by searching was to set the Publisher on the app to Startup, so the Start menu shortcut would be placed in the Startup folder, but that seems like a huge hack and I would like there to be a Start menu icon people can find.  What options do I have?
123643
I've been running into a problem where some of the applications from the startup menu don't actually start upon login. After looking at the list of the applications I've noticed that actually only the exe files that I've set in properties to "Run as administrator" (in compatibility tab) don't run (and also a .cmd file).  How do I run those apps during startup?
120521
As a developer, I often have the need to open a command prompt for various purposes. For example, I use iisreset to restart my local web server.  I typically open the command window in one of two ways:   Press Win, type "cmd" and press Enter While in Explorer, hold Shift and right click on a folder, and choose "Open command window here"   However, when I open the command window in either of these ways, I do not have the full administrator privileges that I feel I am entitled to.    In order to run administrator-only applications, I have to open the command line in this relatively laborious way:   Press Win, type "cmd" Wait for the menu to populate Lift hand off the keyboard and put it on the mouse Right click the "cmd.exe" menu item Choose "Run as administrator"   This is unacceptable for several reasons:   The window always opens in C:\windows\system32, rather than my Users directory (as in approved technique 1) or the folder I want to be in (as in approved technique 2). So I often have to change directories to get where I want to go. This process is several milliseconds slower than either of my preferred methods. Performed several times a day, every day for the remainder of my career, it adds up to about ten days of lost time spent clicking and waiting and directory changing. As a programmer, performing a pointless robotic task causes me great emotional pain. As a programmer, lifting my hand is a strenuous task that causes me great physical pain.   That is why I am looking for a one-and-done solution that will let approved techniques 1 &amp; 2 open administrator command prompts.  Many programs let you permanently change their default privilege level from the Properties menu. Command Prompt is not one of those programs.    How do I make the command window run as administrator by default (even when using the "Open command window here" context menu option)?
42722
I'm currently running a startup script in form of a bat file successfully in Windows 7 (I've inserted a new registry key entry with the bat file path as value in   Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run).   Now I need to run another bat file at startup, but with elevated rights (as administrator), and without manually confirming a prompt.  How can I achieve this, preferrably without external programs?
69142
I have created a file named autorun.inf to make one of my software setup run when the usb is plugged into Windows 8/8.1 OS .  This is my autorun.inf code:   [AutoRun] shellexecute="Mem.exe //It would be nice if i could add path to this like my Doc//mem.exe UseAutoPlay=1   Is there any software that let's us to create auto-run files for USB Sticks?  Is there any way to add new options in right click menu only on my USB window?
27022
There's a nifty new tab in the 'Task Manager' called 'Startup' where I can manage the program that run at startup.    BUT... It doesn't show all of the application that run at startup:    Some of the hidden culprits are:   Steam Skype Google Drive Dropbox Cisco VPN Java Update   "What about the registry?" Here's what's found in there:    Which doesn't contain all of the running programs.  How do I manage these startup applications from within Windows 8?
89850
I want to write a console or Click Once WinForms app that will programmatically stop and/or start a windows service on a remote box.  Both boxes are running .NET 3.5 - what .NET API's are available to accomplish this?
111531
I have written up a script for my model. But there is a bit of a problem with it. As in I have to run the script every time I open the file. I want the script to run automatically when I open the blender File.
36111
How do I create, execute and control a winform from within a console application?
33066
There are similar questions for  and , but I'm after a Windows solution here.  The problem is as follows: I want to write several (js) script files in a folder, and have a  program monitor that folder for file changes and new files being added, and run a command whenever that happens (to compile them all into one single file).  The solution has to:   Monitor both file changes and new files being added, in a folder. Run a command only if there is any change.   It would be best if it either is a built-in solution (like a JScript or VBscript snippet), or something that does not require installation.
57467
Is there an easy way to prevent programs (Such as Logitech and Windows Live) from starting up automatically when I turn on my computer? I rarely use these, and each time I start my PC, I have to manually exit the program (by right-clicking the system tray icon, or ending the process in the task manager).
26954
I frequently need to start several programs that I use every time I start my computer. How can I make it so that whenever I login the program is automatically launched?