Advertisement
Advertisement


What is the path for the startup folder in windows 2008 server


Question

Is there a folder to keep programs to run while doing starting of the system. As like this "C:\Users\All Users\Microsoft\Windows\Start Menu\Programs\Startup"??.

Thanks, Varun

2012/06/28
1
13
6/28/2012 6:48:13 AM

Accepted Answer

SHGetKnownFolderPath:

Retrieves the full path of a known folder identified by the folder's KNOWNFOLDERID.

And, FOLDERID_CommonStartup:

Default Path %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\StartUp

There are also managed equivalents, but you haven't told us what you're programming in.

16
6/28/2012 6:51:48 AM


You can easily reach them by using the Run window and entering:

shell:startup

and

shell:common startup

Source.

2016/04/20