t4rra / CCStopper

[Archived] Stops Adobe's pesky background apps and more 😉
GNU General Public License v3.0
1.06k stars 62 forks source link

[Bug]: Right after opening bat file closes #92

Open xlukn opened 10 months ago

xlukn commented 10 months ago

What happened?

The moment I open CCstopper a cmd window will pop up and close right after, cant get it to work. Running a custom install of windows 10 (AtlasOS)

Expected Result?

Bat file should open?

Version?

v1.2.3-hotfix.1

How did you use CCStopper?

One-Line - Run

Windows Version?

windows 10

Duplicate Issues

t4rra commented 10 months ago

Try downloading the zip file and running it that way. A common issue I've seen is to do with the Powershell Execution policy, which you can fix. I recommend you set that setting back to default afterwards, as leaving it unrestricted is a security issue.

tildebyte commented 9 months ago

Same as above; Win 11、Powershell 7.3.6、CCStopper v1.2.3-hotfix.2

Get-ExecutionPolicy was already set to "Unrestricted"

I downloaded the zip and ran the script from there (unzipped, of course :D)

I also tried the first one liner you suggested

Deleted @echo off for the rest:

t4rra commented 9 months ago

Are you getting the admin privileges prompt when running the .bat file? If not, and the script opens, it may be why you're getting errors when running certain modules. Unfortunately I don't have much knowledge about the closing on launch problem as of now.

t4rra commented 6 months ago

CCStopper is being sunset. I don't have any more information on fixing this problem unfortunately, but I suggest you take a look at the listed alternatives that may work better.