Skip to content

Instantly share code, notes, and snippets.

View adasjusk's full-sized avatar
:octocat:
if errorlevel 1 goto ERROR

Adas adasjusk

:octocat:
if errorlevel 1 goto ERROR
  • Lithuania
View GitHub Profile
@REM Made By TheAdas
@echo off
@REM Set variables for coloured text
SETLOCAL EnableDelayedExpansion
for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do (
set "DEL=%%a"
)
echo OneDrive Uninstaller
echo.
@adasjusk
adasjusk / Services-disable.cmd
Last active July 28, 2024 08:55
Disables Or Sets To Manual Services From Auto
@echo off
::Launching As Admin
if "%2"=="firstrun" exit
cmd /c "%0" null firstrun
if "%1"=="skipuac" goto skipuacstart
:checkPrivileges
NET FILE 1>NUL 2>NUL
@ishad0w
ishad0w / aveyo_edge_removal.bat
Last active September 24, 2024 17:44
AveYo (Microsoft Edge Removal)
@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit /b
#:: just copy-paste into powershell - it's a standalone hybrid script
sp 'HKCU:\Volatile Environment' 'Edge_Removal' @'
$also_remove_webview = 1
## why also remove webview? because it is 2 copies of edge, not a slimmed down CEF, and is driving bloated web apps
$also_remove_widgets = 1
## why also remove widgets? because it is a webview glorified ad portal on msn and bing news cathering to stupid people
$also_remove_xsocial = 1
## why also remove xsocial? because it starts webview setup every boot - xbox gamebar will still work without the social crap