Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

​Cannot enable "run at startup as admin" / 无法启用“以管理员身份开机启动” #35

Open
JasonWei512 opened this issue Jan 10, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@JasonWei512
Copy link
Owner

JasonWei512 commented Jan 10, 2023

Description / 描述

A user reports that he cannot enable "run at startup admin". Unfortunately I cannot reproduce this bug.

有用户报告说他无法启用“以管理员身份开机启动”。不幸的是我没法复现这个 Bug。

Reproduction steps / 复现步骤

  1. Click the "Run at startup as admin" checkbox in settings page.
  2. Confirm the UAC prompt.
  3. Cannot enable the setting, the checkbox returns to unchecked status.
  4. Open Windows's Task Scheduler. Energy Star X should have created a schedule task called "EnergyStarXAdminStartupTask" in Task Scheduler Library, but it didn't.

  1. 点击设置页的“以管理员身份开机启动”勾选框。
  2. UAC 窗口弹出,点击确认。
  3. 启用失败,勾选框变回未勾选状态。
  4. 打开 Windows 的任务计划程序。能源之星X 应该会在“任务计划程序库”中创建一个名为 "EnergyStarXAdminStartupTask" 的计划任务,但是它没有。

Windows version / Windows 版本

Windows 11 22H2 Build 22623.0

Hardware specs / 硬件配置

机械革命 Mechrevo S2 Air
AMD Ryzen 7 4800H
16 GB RAM

Error log / 错误日志

2022/12/29 21:15:55.143 | INFO 丨 Failed to set StartupType to "Admin"

@JasonWei512 JasonWei512 added the bug Something isn't working label Jan 10, 2023
@TnZzZHlp
Copy link

TnZzZHlp commented Mar 22, 2023

我这边,开了windows defender的内存保护的话就会出现这个问题,还有请问一下大佬用管理员方式启动会有什么区别么
图片
图片

@Keplex
Copy link

Keplex commented Mar 25, 2023

我这里内存完整性打开的情况下还是可以勾选以管理员身份启动,系统版本是22H2

@TnZzZHlp
Copy link

我这里内存完整性打开的情况下还是可以勾选以管理员身份启动,系统版本是22H2

那就不知道了,我开了这个内存完整性保护就没法以管理员方式启动了

@xingjunfeng
Copy link

找到问题原因了,开了windows defender的内存保护的话就会出现这个问题,还有请问一下大佬用管理员方式启动会有什么区别么 图片 图片

这个bug是我反馈的,我这个内存完整性是关着的,现在我确认在关闭内存完整性的情况下,仍然无法“以管理员身份启动”
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants