This commit is contained in:
Windows
2021-07-22 21:50:57 +03:00
parent bb012f94f7
commit f29e97d3d3
3 changed files with 26 additions and 8 deletions
-4
View File
@@ -1,4 +0,0 @@
Windows Registry Editor Version 5.00
; Download File: https://windows11.now.sh/EdgeSync/OffSyncEdge.reg
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"SyncDisabled"=dword:00000001
-4
View File
@@ -1,4 +0,0 @@
Windows Registry Editor Version 5.00
; Download File: https://windows11.now.sh/EdgeSync/OnSyncEdge.reg
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"SyncDisabled"=-
+26
View File
@@ -0,0 +1,26 @@
@set @x=0; /*
@echo off
ver |>NUL find /v "5." && if "%~1"=="" cscript.exe //nologo //e:jscript "%~f0"& exit /b
:nashalo
Echo ============ Choose: ============
Echo Sync Enabled - 0
Echo Sync Dysabled - 1
Set /p vibor="Number: "
if "%vibor%"=="0" (
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge" /v SyncDisabled /t REG_DWORD /d 0 /f
) else if "%vibor%"=="1" (
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge" /v SyncDisabled /t REG_DWORD /d 1 /f
) else (Echo Wrong! & goto nashalo)
taskkill /F /IM explorer.exe
start explorer.exe
goto nashalo
pause
exit /B
:: Эту строку не трогать. Ниже ничего не писать!!!
*/new ActiveXObject('Shell.Application').ShellExecute (WScript.ScriptFullName,'Admin','','runas',1);