332 commits

Author SHA1 Message Date
Sean
de66665f6d
Fix formatting issue
Missing * next to header
2025-11-18 21:29:44 -06:00
Sean
2f85c2022e
Updated 32bit folder support
- Added this section

REM ProgramFiles(x86) or ProgramFiles 32-bit Windows

- changed

Folders use ProgramFolder as variable %ProgramFolder%
2025-11-18 21:19:39 -06:00
Sean
80a20d7f58
Updated 32bit folder support
- Added this section

REM ProgramFiles(x86) or ProgramFiles 32-bit Windows

- changed

Folders use ProgramFolder as variable %ProgramFolder%
2025-11-18 21:14:10 -06:00
Sean
1016059d64
correct version of setup.exe from 32bit machine
Pulled from a fresh install of Windows 10.
2025-11-18 20:43:47 -06:00
Sean
cefbcc4e0e
Updated hash of i386 setup.exe 2025-11-18 20:43:45 -06:00
Sean
a098cca792
Updated hash of i386 setup.exe 2025-11-18 20:43:43 -06:00
Sean
c4e2ca8d01
Added 32bit support
*Assuming setupi386.exe works on it.
2025-11-16 11:14:12 -06:00
Sean
2ca4fcc767
Updated 2.2
Added 32bit support to pyinstaller
2025-11-16 11:08:16 -06:00
Sean
7666fec2eb
Update README.md 2025-11-13 14:26:28 -06:00
Sean
168735f280
Delete _Source/Edge.bat 2025-10-14 16:39:23 -05:00
Sean
c21d1856dd
Merge pull request #108 from Ameterius/main
Attempting to add 32-bit support
2025-10-14 16:38:10 -05:00
Sean
b193fdceb4
Added 32bit suppot
Added 32bit support
Special thanks to @Ameterius  for the 32bit setup.exe
2025-10-14 16:35:31 -05:00
Sean
5495153747
Update Both.bat 2025-10-14 16:34:10 -05:00
Sean
a7e6752f87
Added 32bit suppot
Special thanks to @Ameterius for the 32bit setup.exe
2025-10-14 16:32:14 -05:00
Sean
f9c83dd010
Add files via upload 2025-10-14 16:05:41 -05:00
Ametero
b46a774302
[Only for test] Script for setupi386.exe 2025-10-14 21:58:05 +07:00
Ametero
78eb3f8604
Edge updater (i386) 2025-10-14 21:56:49 +07:00
Sean
fc1fa56b5e
Update README.md 2025-09-08 20:17:01 -05:00
Sean
d19d4680f7
Merge pull request #103 from XakerTwo/batch_improvements_08-2025
Batch improvements
2025-09-08 20:12:36 -05:00
XakerTwo
270a51f706 improvement for automation(confirmation bypass) 2025-09-03 08:35:13 +03:00
XakerTwo
096a37b2f9 minor fixes
add `/i` flag to `if` directives to make necessary string comparisons case-insensitive
fix `file_obtain.download` is try to obtain file when there no network
fix debug log always resets (it should not in certain cases)
2025-09-03 08:35:13 +03:00
XakerTwo
94fb10c5bd debug update (very verbose in the log file)
add lots of debug stuff for better understanding what's going wrong
console output stay clear, all messages goes to log file
log file creates next to the script with name `<script_name>_dbg.log`
in debug mode all errors also goes to log file
additionally grabbing `setup.exe` log
2025-09-03 08:34:46 +03:00
XakerTwo
14e79f1522 improve AppX removing (adds new dependency)
add obtaining of `System.Data.SQLite.dll` in exactly the same way as `setup.exe`
query for packages is performed before edge uninstalling
move removing of appx to separate function `appx_unlock_and_delete`
this is powershell-based function and it can
  unlock certain packages but require SQLite
  removes most of the registry entries related to the package from specified locations(optional)
  NOT deals with registry entries behind permissions wall(NOT REQUIRED)
`Edge-Appx.bat` has uniq(orginal and more self-contained) function version

bitness of downloaded `System.Data.SQLite.dll` depends on system(or rather cmd.exe)
`System.Data.SQLite.<arch>.dll` source: `sqlite-netFx35-static-binary-bundle-<arch>-2008-1.0.119.0.zip` (`system.data.sqlite.org`)

tested on W10 19045.5965

note:
few registry locations are intentionally not included in the cleanup list
keys there are auto restored and are the only behind permissions wall
to remove them same DB should be modified first
2025-09-02 22:07:25 +03:00
XakerTwo
addb41a03c move file downloading to separate function obtain_file
rename `fileSetup` to `file_setup`
2025-09-02 22:05:53 +03:00
XakerTwo
14516bebcb update elevation via powershell
change powershell from `-c` to `-` mode (more readable)
quotes explanation included in `Both.bat` only
2025-09-02 22:05:01 +03:00
XakerTwo
836b6f1562 improve services removing
move task removing to separate function `service_remove`
add check for specific error code on service stopping (1060 = service not found)
2025-09-02 22:04:27 +03:00
XakerTwo
62aa13837e add /f flag to del commands 2025-09-02 22:03:41 +03:00
XakerTwo
e0d3fa2a99 console output improvement
add logging verbosity levels
replace all explicit redirects with logging level
`call`-s themselves now subject to the logging level so all redirects inside them are removed
change labels format: `task<.sub_task><.state>` (delimitter is `.`)
improve exit codes(they are now defined as variables)
elevation labels united under `uac`
formatting minor changes
2025-09-02 22:03:01 +03:00
XakerTwo
b154f13a6e add more registry keys for removing
some of these keys are user-specific and so
  rename `user_lnks_remove_by_sid` to `user_cleanup_by_sid`
  add `user_reg_cleanup` function
fix edge shortcut stuck in taskbar (naturally reproducible)
2025-09-02 22:02:08 +03:00
XakerTwo
dd3ac6bf75 add removing of extra registry keys
these keys related to `System32\MicrosoftEdge*.exe` files
these keys have limited access(solved with powershell)
2025-09-02 22:01:18 +03:00
XakerTwo
e5178e85ce rework dealing with admin permissions
user sid obtained on start and with `whoami` instead of powershell
add elevation with powershell on permission check fail
`USER_SID` now store SID of initial/true user instead of "elevator"
added `ADMIN_SID` in case it required
2025-09-02 22:00:24 +03:00
XakerTwo
ec5cd26918 reorganize code
group related things together (Uninstall, Cleanup, Extra)
move functions down below
add verbosity(a bit)
2025-09-02 21:59:38 +03:00
XakerTwo
2da1cb2688 update AppX remains removing
remove Package directory from `C:\Program Files\WindowsApps\`
2025-09-02 21:58:46 +03:00
XakerTwo
09c828b604 improve tasks removing
change csv processing to single loop
remove task files loop
merge task file removing with removing of task entry(schtasks, csv loop)

generally task name is the path of the task file, relative to the tasks root directory
so path to the task file could be constructed from the task name and the tasks root dir
and task name could be extracted from path to the task file

end the task first via schtasks
then delete via schtasks
then remove task file
2025-09-02 21:57:51 +03:00
XakerTwo
0426c8100a minor improve of gaining full control over files
for dirs under SystemApps
  use `%UserName%` instead of `administrators` constant
  add `/c` flag to `icacls` command

for files in System32
  remove file exists check
  simplify `for /f` loop to just `for`
  remove inheritance propagation and `/t` flags(useless)
  remove `/s` flag from `del` command(useless)
2025-09-02 21:56:53 +03:00
XakerTwo
95f1cdf425 update shortcuts removing
fixed call of user_lnks_remove_by_path - user profile path now quoted
added shortcuts removing from user' start menu and taskbar
remove `/s` flag from `del` command(useless)
2025-09-02 21:56:09 +03:00
XakerTwo
519359d76e change labels(mostly for semantic purpose) 2025-09-02 21:54:58 +03:00
XakerTwo
c1c1da8914 formatting
` ` => `TAB` and proper indentation
`::` => `REM`
uppercase `NUL`-s
change `if` comparison ops: `==` => `equ`, etc.
set title before is admin check
2025-09-02 21:54:20 +03:00
XakerTwo
80c9948a75 minor fixes
`setlocal` - scoping all variables(e.g. to run from console for multiple times)
add `/b` flag to `exit` command - keeps console window on explicit run from it
goto label - remove semicolon at end for my own peace of mind
`MicrosoftEdgeCP.exe` and `MicrosoftEdge*` replaced with the same wildcard as in python version
add `/t` flag to `taskkill` command
proper re-quoting in some for loops
added some exit codes for script
  0 - OK
  1 - UAC issue
  2 - network issue
  3 - bad file hash
2025-09-02 21:51:42 +03:00
XakerTwo
cc0420f198 EOL fix 2025-09-02 21:11:46 +03:00
Sean
3a63201dfe
Added fixes
Fixed missing .  on echo.

Changed how powershell checks file hash #102 
@notylou
2025-09-01 19:15:37 -05:00
Sean
d518331645
Added fixes
Fixed missing .  on echo.

Changed how powershell checks file hash #102 
@notylou
2025-09-01 19:15:36 -05:00
Sean
ac7f741102
Update edge.py
Removed these registry keys from delete list. Stalls on older version of Windows 10.

Version: 22H2
Build: 19045.4529

Software\Microsoft\\Windows\\CurrentVersion\\AppModel\Repository\Families
Local 

Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Packages
2025-08-09 17:55:52 -05:00
Sean
1bde2cda5e
Update Both.bat 2.0 2.1
Added Service: 'MicrosoftEdgeElevationService'
2025-08-06 22:37:25 -05:00
Sean
11232ad4da
Update Edge.bat
Added Service: 'MicrosoftEdgeElevationService'
2025-08-06 22:37:17 -05:00
Sean
f3b05a1e23
Update edge.py
- Added 32/64 bit check for registry
- Added case ignore to '(Appx Packages)' section
2025-08-06 22:18:20 -05:00
Sean
955a0fef54
Update edge.py
- Changed how reg key are deleted
- Added more registry keys
2025-08-06 16:29:47 -05:00
Sean
9db0e1b881
Update edge.py
Added more registry locations
2025-08-06 14:51:33 -05:00
Sean
cf5b48f82c
Update edge.py
Combined folders deletion into a single function
 - Take permissions and then delete

Added 'C:\Program Files\WindowsApps\' to folder deletion search
2025-08-06 12:31:27 -05:00
Sean
0bba39451e
Update edge.py
Removed MicrosoftEdgeDevTools from Edge (Appx Packages)
Removed flag options

Make registry deletion recursive.
Moved services registry to new registry function
Added additional registry deletions
2025-08-06 10:30:50 -05:00