Jump to content

Setupcomplete.bat Dosyasında Defender Control Kodu Hangisi


emreozcoskun1
 Share

Recommended Posts

@ECHO OFF
setlocal EnableExtensions
setlocal EnableDelayedExpansion
fltmc >nul 2>&1 || (
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    echo UAC.ShellExecute "%~fs0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
    "%temp%\getadmin.vbs"
    del /f /q "%temp%\getadmin.vbs" >nul 2>&1
    exit /b
)
if exist "%WINDIR%\Setup\Files\01-auto_svchost.bat" (
call "%WINDIR%\Setup\Files\01-auto_svchost.bat"
del /f /s /q "%WINDIR%\Setup\Files\01-auto_svchost.bat"
)
if exist "%WINDIR%\Setup\Files\02-bcdedit.bat" (
call "%WINDIR%\Setup\Files\02-bcdedit.bat"
del /f /s /q "%WINDIR%\Setup\Files\02-bcdedit.bat"
)
pushd "%~dp0"
set /a KEYNUM=1
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "WINDOWS PROGRAMLARINIZI YUKLUYOR" /f
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\software (for /f "delims=" %%z in ('dir /b %%i:\software\*.exe') do (
call :RunOnceEx
REG ADD %KEY%\TR_by!KEYNUM! /VE /D "%%~nz" /f >nul 2>&1
REG ADD %KEY%\TR_by!KEYNUM! /V 1 /D "%%i:\software\%%z" /f >nul 2>&1
))
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\tweaks (for /f "delims=" %%z in ('dir /b %%i:\tweaks\*.reg %%i:\tweaks\*.cmd %%i:\tweaks\*.bat %%i:\tweaks\*.vbs %%i:\tweaks\*.vbe') do (
    call :RunOnceEx
    REG ADD %KEY%\TR_by!KEYNUM! /VE /D "%%~nz" /f >nul 2>&1
    If "%%~xz" == ".reg" (
        REG ADD %KEY%\TR_by!KEYNUM! /V 1 /D "regedit.exe /s \"%%i:\tweaks\%%z\"" /f >nul 2>&1
    ) else if "%%~xz" == ".vbs" (
        REG ADD %KEY%\TR_by!KEYNUM! /V 1 /D "cscript.exe //B \"%%i:\tweaks\%%z\"" /f >nul 2>&1
    ) else if "%%~xz" == ".vbe" (
        REG ADD %KEY%\TR_by!KEYNUM! /V 1 /D "cscript.exe //B \"%%i:\tweaks\%%z\"" /f >nul 2>&1
    ) else (
        REG ADD %KEY%\TR_by!KEYNUM! /V 1 /D "cmd /c \"%%i:\tweaks\%%z\"" /f >nul 2>&1
    )
    ))
RMDIR /S /Q "%~dp0" >nul 2>&1
RMDIR /S /Q "%WINDIR%\Setup\Files" >nul 2>&1
RMDIR /S /Q "%WINDIR%\Setup" >nul 2>&1
exit

:RunOnceEx
set /a KEYNUM=!KEYNUM!+1

 

bu kodda defender conrol kodu hangisi arkadaşlar yardımcı olurmusunuz

Link to comment
Share on other sites

emreozcoskun1, 7 saat önce yazdı:

@ECHO OFF
setlocal EnableExtensions
setlocal EnableDelayedExpansion
fltmc >nul 2>&1 || (
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    echo UAC.ShellExecute "%~fs0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
    "%temp%\getadmin.vbs"
    del /f /q "%temp%\getadmin.vbs" >nul 2>&1
    exit /b
)
if exist "%WINDIR%\Setup\Files\01-auto_svchost.bat" (
call "%WINDIR%\Setup\Files\01-auto_svchost.bat"
del /f /s /q "%WINDIR%\Setup\Files\01-auto_svchost.bat"
)
if exist "%WINDIR%\Setup\Files\02-bcdedit.bat" (
call "%WINDIR%\Setup\Files\02-bcdedit.bat"
del /f /s /q "%WINDIR%\Setup\Files\02-bcdedit.bat"
)
pushd "%~dp0"
set /a KEYNUM=1
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "WINDOWS PROGRAMLARINIZI YUKLUYOR" /f
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\software (for /f "delims=" %%z in ('dir /b %%i:\software\*.exe') do (
call :RunOnceEx
REG ADD %KEY%\TR_by!KEYNUM! /VE /D "%%~nz" /f >nul 2>&1
REG ADD %KEY%\TR_by!KEYNUM! /V 1 /D "%%i:\software\%%z" /f >nul 2>&1
))
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\tweaks (for /f "delims=" %%z in ('dir /b %%i:\tweaks\*.reg %%i:\tweaks\*.cmd %%i:\tweaks\*.bat %%i:\tweaks\*.vbs %%i:\tweaks\*.vbe') do (
    call :RunOnceEx
    REG ADD %KEY%\TR_by!KEYNUM! /VE /D "%%~nz" /f >nul 2>&1
    If "%%~xz" == ".reg" (
        REG ADD %KEY%\TR_by!KEYNUM! /V 1 /D "regedit.exe /s \"%%i:\tweaks\%%z\"" /f >nul 2>&1
    ) else if "%%~xz" == ".vbs" (
        REG ADD %KEY%\TR_by!KEYNUM! /V 1 /D "cscript.exe //B \"%%i:\tweaks\%%z\"" /f >nul 2>&1
    ) else if "%%~xz" == ".vbe" (
        REG ADD %KEY%\TR_by!KEYNUM! /V 1 /D "cscript.exe //B \"%%i:\tweaks\%%z\"" /f >nul 2>&1
    ) else (
        REG ADD %KEY%\TR_by!KEYNUM! /V 1 /D "cmd /c \"%%i:\tweaks\%%z\"" /f >nul 2>&1
    )
    ))
RMDIR /S /Q "%~dp0" >nul 2>&1
RMDIR /S /Q "%WINDIR%\Setup\Files" >nul 2>&1
RMDIR /S /Q "%WINDIR%\Setup" >nul 2>&1
exit

:RunOnceEx
set /a KEYNUM=!KEYNUM!+1

 

bu kodda defender conrol kodu hangisi arkadaşlar yardımcı olurmusunuz

Bu kodlarda defender ile ilgili kod yok fakat bazı reg dosyaları import ediyor onları kontrol edebilirsin

  • Like 1
Link to comment
Share on other sites

bensuslu11, 2 saat önce yazdı:

%oem% delisi arkadaş değil mi bu

😂😂😂 Hiç gulesim yoktu üstad . Oem delisi uyuyan hücrede uyandırmayın 😂

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...