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

"Launch At Windows Startup" Not Working #870

Open
1 task done
rileychan6 opened this issue Nov 18, 2023 · 3 comments
Open
1 task done

"Launch At Windows Startup" Not Working #870

rileychan6 opened this issue Nov 18, 2023 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers Windows Windows-only issues

Comments

@rileychan6
Copy link

Is there an existing issue for this?

  • I searched the existing issues and did not find anything similar.

Current Behavior

The settings option "Launch At Windows Startup" in the General section, does not have any effect, and the check box to toggle the setting is unchecked when the program is minimized or closed. I have also tested this with settings such as "Close To Tray" and "Minimize To Taskbar" to see if that made any difference, and it did not.

Expected Behavior

The setting should remain selected when toggled even when closing or minimizing, and it should actually launch when logging in to Windows.

Steps To Reproduce

  1. Open AntiMicroX
  2. Select the "Options" drop down menu
  3. Click "Settings"
  4. Toggle "Launch At Windows Startup" to be active
  5. Click "OK"
  6. Minimize/close the program
  7. Repeat steps 1-3 to see it is unchecked

Environment

No response

Anything else?

I also checked in the settings file in AppData, and there doesn't seem to be any variables in the file that I can see that relate to it launching at startup.

@rileychan6 rileychan6 added the bug Something isn't working label Nov 18, 2023
@pktiuk pktiuk added Windows Windows-only issues good first issue Good for newcomers labels Nov 30, 2023
@Gjreeew
Copy link

Gjreeew commented Dec 8, 2023

Please help me solve this problem, the program does not start with Windows 10, the checkbox keeps disappearing «Запускать при старте Windows»

@Gjreeew
Copy link

Gjreeew commented Dec 10, 2023

With the help of the task scheduler, you can configure everything and it will start, everything worked for me

@HaseoWeasel
Copy link

HaseoWeasel commented Jan 30, 2024

I fixed mine with a .bat file, task scheduler didn't work for me.
here is the bat file code I used, just make a text file in the install location of AntiMicroX, bin folder (default is C:\Program Files\AntiMicroX\bin) , and place the following code in it, then rename the .txt to antimicrox.bat and add that to the Startup in windows settings, or place a shortcut in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp. However this will start the program with admin right, just so your aware.

@echo off
if "%1"=="runas" (
  cd %~dp0
  echo Hello from admin mode
  pause
) else (
  powershell Start -File "cmd '/C %~f0 runas'" -Verb RunAs
)

start antimicrox.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers Windows Windows-only issues
Projects
None yet
Development

No branches or pull requests

4 participants