Comments (16)
What is popping up? can you share a /bugreport
from powertoys.
@TheJoeFin I think I found the issue: on my machine, I have two different accounts:
Mirko
MirkoAdmin
I've installed PowerToys via Chocolatey. Chocolatey highly recommends executing it with admin privileges - so did I, i. e. under MirkoAdmin
. However, I actually run PowerToys as Mirko
- but the scheduled task is registered for MirkoAdmin
, although I'm toggling the Run at startup button in PowerToys under my Mirko
account:
I can easily reproduce the issue:
- Run Task Scheduler as
Mirko
โ Task Scheduler entry exists as shown in the previous screenshot - Run PowerToys as
Mirko
and disable Run at startup โ Task Scheduler entry is still there - Manually delete the scheduled task
- Enable Run at startup (running as
Mirko
) again โ no scheduled task is created - Run PowerToys as
MirkoAdmin
via UAC triggered fromMirko
and enable Run at startup โ Task Scheduler entry gets created
from powertoys.
What is popping up? can you share a /bugreport
from powertoys.
I'm joining this issue as I don't want to file a very similar one/potential duplicate - please correct me if you'd prefer a dedicated issue.
I'm suffering from the problem that PowerToys does not launch when starting Windows. I use PowerToys v.0.79.0
and Windows 11 23H2 (OS Build 22631.3296). As you can see, Run at startup is enabled:
However, PowerToys are not started when launching Windows. Furthermore, there is no startup entry in the Windows settings:
So I've added a PowerToys shortcut to C:\Users\MyUser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
(shell:startup
) and now PowerToys successfully start when launching Windows.
However, the PowerToys Settings Dashboard always pops up:
Please see the attached PowerToysReport_2024-03-30-13-57-48.zip.
PS: please note that my user has no admin privileges.
from powertoys.
Here are steps where I added PowerToys to the Task Scheduler to run when a user logs in. Try following these steps to startup automatically and do not add a link to the startup folder in Start or to the Startup section of the Windows Settings app or Task Manager. When I added this to Task Scheduler it started up PowerToys when I logged in and did not open any window.
Please try this and report back if the issue is resolved. /needinfo
Steps shown below:
- Create new Task in Task Scheduler
- Add an action to launch PowerToys.exe from "C:\Program Files\PowerToys\PowerToys.exe"
- Add a trigger to run "At Log on"
- Save
from powertoys.
Thx for that hint @TheJoeFin
However, ideally, this can be described as a workaround, but not a solution. The goal should be for the Run at startup button in PowerToys to do what it should do, i. e. start PowerToys when the system starts up.
from powertoys.
@mu88 part of figuring out the issue is seeing if it can be manually resolved. If that is the case then changes might need to happen around how the installer tries to set up this task, or maybe the code needs more retry logic. Can you confirm following these steps solves the issue for you?
from powertoys.
I didn't want to appear rude. If that's the case, I'm sorry - I appreciate your help.
I will try the suggestion and get back to you.
from powertoys.
Okay @TheJoeFin , I've configured a scheduled task, but it does not run at login:
However, I manually opened PowerToys and literally clicked the Run at startup toggle a dozen or so times and now PowerToys start ๐คช๐
from powertoys.
@mu88 PowerToys relies on Task Scheduler to work, if your test revealed that Task Scheduler does not work, then the issue is with Task Scheduler and not PowerToys. I'm not sure what a solution would be to this scenario. Are there other programs in Task Scheduler which are triggered and launched correctly? /needinfo
from powertoys.
@mu88 thank you for investigating. Not sure how this gets resolved or if this is an issue with PowerToys that can be resolved. What do you think? /needinfo
from powertoys.
Good question, but I fear I don't have enough insights to answer it properly ๐คท๐ปโโ๏ธ from a user perspective, I think the use-case Install PowerToys under an admin account and run/start them under a non-admin account seems like a reasonable demand. But of course, I understand that there might be internal/technical reasons for making this hard.
Maybe a good starting point would be if you/your fellow colleagues could reproduce the issue on your side. Because so far it's just me having this problem, right?
Just out of curiosity: what's this /needinfo that you put at the end of your posts? ๐ค
from powertoys.
Install PowerToys under an admin account and run/start them under a non-admin account
I believe this is the root of the problem. At the very least we should highlight this use case and make sure users understand how PowerToys works. Maybe update the "auto run" UX to highlight which user is setting that setting and when it will trigger.
what's this / need info that you put at the end of your posts?
It is a command for GitHub automation to apply the correct labels and organize issues into projects so the team knows the status if the issue.
from powertoys.
@jaimecbernardo what do you think about the scenario where PowerToys is installed as an Admin user but then doesn't open at Startup when the standard user signs in. Should/can we update this UI to explain more of the details on exactly what triggers PowerToys to launch.
Also I would guess this scenario of admin user installing then not launching during normal user logs in could the source of issues related to PowerToys not starting when expected. Hard to catch that scenario unless we somehow identify that the current running instance is different than the instance used to install PowerToys.
from powertoys.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.
from powertoys.
@jaimecbernardo what do you think about the scenario where PowerToys is installed as an Admin user but then doesn't open at Startup when the standard user signs in. Should/can we update this UI to explain more of the details on exactly what triggers PowerToys to launch.
Also I would guess this scenario of admin user installing then not launching during normal user logs in could the source of issues related to PowerToys not starting when expected. Hard to catch that scenario unless we somehow identify that the current running instance is different than the instance used to install PowerToys.
@TheJoeFin , getting more info in the label makes sense. We do have weird bugs when PowerToys runs as a different user than the one currently logged in.
from powertoys.
Related Issues (20)
- A phantom highlighter is shows up immediately after the main highlighter when using LiveZoom (ZoomIt) HOT 2
- Peek from file explorer on android device HOT 7
- ๅธๆ็ชๅฃ่ฃๅชๅจ่ฃๅชๅๅฏไปฅ่ฎพ็ฝฎ้่ๆ ้ขๆ HOT 3
- memory leak from powertoys.run HOT 3
- PowerToys Run duplicated my VSCode WorkSpace HOT 3
- [Settings] "Mouse utilities" doesn't match the capitalization of other module names HOT 1
- [File Preview] Change `.vsconfig` from plaintext to json HOT 1
- [AlwaysOnTop] Not working on Parsec window HOT 1
- Fancy Zones interferes with dropdown overlays in Adobe Creative Cloud apps HOT 1
- [Advanced Paste] Add advanced text formatting HOT 9
- Enhance Advanced Paste with "Advanced Copy" HOT 3
- i was just, doing my job and my screen went black for around 10 - 15s HOT 1
- Something went wrong HOT 1
- rounded corners for FancyZones preview Win11 HOT 2
- Feature request: Remind Me Tool
- Localizes the Advanced Paste function
- can't add a scheme in Windows 11 HOT 1
- Reloj HOT 3
- Advanced Paste is crazy323137 HOT 2
- What the hell is the way to change the language? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powertoys.