Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
464 views
in Technique[技术] by (71.8m points)

c# - UWP app start automatically at startup

All is in the title, I currently searching a way to launch my UWP app automatically at Windows startup with the UWP framework only, no file manipulation on the machine. The application must be able to be shared on the Store AND open when Windows starts.

Is it a feasible thing? If so how?

Thank you!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

@hsmiths wrote easist solution to start app automatically and I'd like to summarize in step by step.

  1. Open File Explorer
  2. In address bar, copy-and-paste shell:AppsFolder
  3. Right-click the app and then click Create Shorcut.
  4. The message box asks to create shorcut on the Desktop. Click Yes.
  5. In File Explorer address bar, copy-and-paste shell:startup
  6. Go to Desktop and copy-and-paste shorcut to File Explorer.
  7. Reboot your computer if you want to test.

+Tip: if you want to by-pass login dialog on Windows startup.

  1. Start > Run
  2. type control userpasswords2
  3. User Accounts window will be opened. Uncheck Users must enter a user name ...
  4. When you click OK, you will be asked to enter account password. Type password.
  5. Reboot your computer if you want to test.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...