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

Running with Task Scheduler #21

Open
Kattmandude opened this issue Oct 18, 2024 · 4 comments
Open

Running with Task Scheduler #21

Kattmandude opened this issue Oct 18, 2024 · 4 comments

Comments

@Kattmandude
Copy link

Kattmandude commented Oct 18, 2024

When I run this program at startup/login using Task Scheduler (preferred) OR via a batch file, the program does not show any games in the drop down window from the 'Plugins' folder; just shows a blank drop down.

When using Task Scheduler, I have the 'Run with highest privileges' box checked and begin the task 'At log on' and delayed 1 minute.

When the Windows system launches the program via the batch file (located in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup), the UAC prompt displays and I click on 'Yes'. The batch file has the following code:

@echo off
start /min "" "C:\Program Files\Widescreen Fixer\Widescreen Fixer.exe"
exit

I do not run both methods at the same time. I have tried both separately and have the same non-populated list result. However, the drop down list IS populated if the program is run normally by double clicking on the icon on my desktop.

Widescreen Fixer v3.4.737.0
Windows 11 23H2

Widescreen Fixer

@Luckz
Copy link

Luckz commented Oct 28, 2024

Did you make sure it starts as your user and not a Windows SYSTEM or other unrelated account?

image

@Kattmandude
Copy link
Author

Kattmandude commented Oct 28, 2024

Yes. I blacked it out because it displayed my name.

image

@HenryLoenwind
Copy link

Try to install it into a folder that is NOT in "Program Files".

Windows has special filesystem virtualisation code for old programs that write into their installation folder, something that's not allowed in newer Windows versions. However, this means that the program could see different contents of its folder depending on the context it is running in, which is why I suspect this may be the issue here.

@Kattmandude
Copy link
Author

Kattmandude commented Dec 18, 2024

Try to install it into a folder that is NOT in "Program Files".

Windows has special filesystem virtualisation code for old programs that write into their installation folder, something that's not allowed in newer Windows versions. However, this means that the program could see different contents of its folder depending on the context it is running in, which is why I suspect this may be the issue here.

Okay. I moved the "Widescreen Fixer" folder to C:\Games\Tools and rebooted with the Task Scheduler entry (which I created for this application) enabled. The "Select Game" drop down is still not populating. I also tried the batch file method with the same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants