قم بمتابعة الفيديو أدناه لمعرفة كيفية تثبيت موقعنا كتطبيق ويب على الشاشة الرئيسية.
ملاحظة: قد لا تكون هذه الميزة متاحة في بعض المتصفحات.
لرؤية محتوى السكريبت المستخدم
@echo off
color 0a
cls
echo.
echo III TTTTT SSSSS AAAAA K K OOO RRRRR TTTTT AAAAA
echo I T S A A K K O O R R T A A
echo I T SSS AAAAA KKK O O RRRRR T AAAAA
echo I T S A A K K O O R R T A A
echo III T SSSSS A A K K OOO R R T A A
echo.
echo.
echo -----------------------------------------
echo - The Master 'itsakorta' -
echo -----------------------------------------
echo ============================================
echo Script is running... Please wait.
echo ============================================
:: Script to stop and disable the "DFServ" service, then restart the computer
:: Check if the service exists
sc query "DFServ" >nul 2>&1
if %errorlevel% neq 0 (
echo [!] The service "DFServ" does not exist on the system.
pause
exit /b 1
)
:: Stop the service if it is running
echo [*] Stopping the "DFServ" service...
net stop "DFServ" >nul 2>&1
if %errorlevel% equ 0 (
echo [+] The "DFServ" service has been stopped successfully.
) else (
echo [-] The "DFServ" service is not running or failed to stop.
)
:: Disable the service
echo [*] Disabling the "DFServ" service...
sc config "DFServ" start=disabled >nul 2>&1
if %errorlevel% equ 0 (
echo [+] The "DFServ" service has been disabled successfully.
) else (
echo [-] Failed to disable the "DFServ" service.
)
echo ============================================
echo All commands executed successfully.
echo ============================================
:: Restart the computer
echo [*] Restarting the computer...
shutdown /r /t 10 /c "The computer will restart in 10 seconds..."
echo [!] The computer will restart in 10 seconds.
pause@echo off
color 0a
cls
echo.
echo III TTTTT SSSSS AAAAA K K OOO RRRRR TTTTT AAAAA
echo I T S A A K K O O R R T A A
echo I T SSS AAAAA KKK O O RRRRR T AAAAA
echo I T S A A K K O O R R T A A
echo III T SSSSS A A K K OOO R R T A A
echo.
echo -----------------------------------------
echo - bism allah alrahman alrahim -
echo -----------------------------------------
echo ============================================
echo Script is running... Please wait.
echo ============================================
:: 1) Rename DFServ.exe to DFServ.exe.bak
set "file1=C:\Program Files (x86)\Faronics\Deep Freeze\Install C-0\DFServ.exe"
set "backup1=C:\Program Files (x86)\Faronics\Deep Freeze\Install C-0\DFServ.exe.bak"
if exist "%file1%" (
ren "%file1%" "DFServ.exe.bak"
echo Backup of DFServ.exe created successfully.
) else (
echo File "%file1%" does not exist. Cannot create backup.
)
:: 2) Copy DFServ.exe to the specified path
set "source1=%~dp0DFServ.exe"
set "destination1=C:\Program Files (x86)\Faronics\Deep Freeze\Install C-0\DFServ.exe"
if exist "%source1%" (
copy /y "%source1%" "%destination1%" >nul
echo DFServ.exe copied to the specified path successfully.
) else (
echo File "%source1%" does not exist. Cannot copy.
)
:: 3) Rename Persi0.sys to Persi0.sys.bak
set "file2=C:\Persi0.sys"
set "backup2=C:\Persi0.sys.bak"
if exist "%file2%" (
ren "%file2%" "Persi0.sys.bak"
echo Backup of Persi0.sys created successfully.
) else (
echo File "%file2%" does not exist. Cannot create backup.
)
:: 4) Copy Persi0.sys to the specified path
set "source2=%~dp0Persi0.sys"
set "destination2=C:\Persi0.sys"
if exist "%source2%" (
copy /y "%source2%" "%destination2%" >nul
echo Persi0.sys copied to the specified path successfully.
) else (
echo File "%source2%" does not exist. Cannot copy.
)
:: 5) Set DFServ service to start automatically
sc query "DFServ" >nul 2>&1
if %errorlevel% equ 0 (
sc config "DFServ" start= auto
echo DFServ service set to start automatically.
) else (
echo DFServ service does not exist. Cannot set to start automatically.
)
echo ============================================
echo All commands executed successfully.
echo ============================================
:: Restart the computer
echo [*] Restarting the computer...
shutdown /r /t 10 /c "The computer will restart in 10 seconds..."
echo [!] The computer will restart in 10 seconds.
pause
اين الرابط