Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a wpf application auto at computer start up programmatic ally?

How to make a WPF application automatically run at computer start up programmatically?

like image 522
Prince OfThief Avatar asked Dec 18 '25 00:12

Prince OfThief


2 Answers

There are a few options:

  1. You can put a link in the start up folder
  2. If you only want it to start up for the current user you can put a entry in the registry at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
  3. If you want it to start for all users you can put a entry in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
like image 146
Scott Chamberlain Avatar answered Dec 20 '25 04:12

Scott Chamberlain


Place the executable in the Startup folder?

Add the executable to the Run key in the registry?

like image 39
Stu Avatar answered Dec 20 '25 04:12

Stu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!