질문과 답변

윈 도 우 석님 EasyDrv무인설치 관련하여 여쭈어볼것이 있습니다...

2019.06.17 01:00

도전정신 조회:964

EasyDrv 무인설치를 SetupComplete.cmd파일과 같이 넣었는데

 

EasyDrv 배치는 잘 인식되는데 SetupComplete.cmd 되질않는것 같네요...

 

EasyDrv 무인설치본이 문젠건지 아니면 제가 스크립트넣은 SetupComplete.cmd이 문젠건지...

 

혹시 원인점 알수있을까요???

 

@echo off

:: 버전1903 부터 생긴 '예약된 저장소' 생성 방지
for /f "tokens=3 delims=.]" %%a in ('ver') do set build=%%a
if %build% GEQ 18362 (reg add HKLM\Software\Microsoft\Windows\CurrentVersion\ReserveManager /v ShippedWithReserves /t reg_dword  /d 0 /f)

:: 업데이트 서비스 끄기 2개
sc config wuauserv start= disabled
sc stop wuauserv

:: 업데이트 서비스 끄기 2개자동업데이트하지 않고 수동업데이트
reg add "hklm\software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t reg_dword /d 0 /f
reg add "hklm\software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t reg_dword /d 2 /f
reg add "hklm\software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoRebootWithLoggedOnUsers /t reg_dword /d 1 /f

:: 최대 절전 모드 끄기
powercfg /hibernate off

:: 우클릭 추가
start /w regedit /s %systemroot%\setup\scripts\runonce.reg
del /F /Q %systemroot%\setup\scripts\runonce.reg

:: 우클릭 매뉴 "제어판" 보이기
reg add "HKEY_CLASSES_ROOT\DesktopBackground\Shell\Control Panel" /t REG_SZ /d "제어판" /f
reg add "HKEY_CLASSES_ROOT\DesktopBackground\Shell\Control Panel" /v "icon" /t REG_SZ /d "Control.exe" /f
reg add "HKEY_CLASSES_ROOT\DesktopBackground\Shell\Control Panel\command" /t REG_SZ /d "Control.exe" /f

::  윈도 디펜더 끄기
reg add "hklm\software\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t reg_dword /d 1 /f

::  윈도우10 추천앱 자동설치 막기stopapp
reg add "HKCU\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsSpotlightFeatures" /t REG_DWORD /d "1" /f
reg add "HKCU\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableThirdPartySuggestions" /t REG_DWORD /d "1" /f

::OneDrive-Uninstaller
cls
set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe"
set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe"

echo Closing the OneDrive process.
echo.
taskkill /f /im OneDrive.exe > NUL 2>&1
ping 127.0.0.1 -n 5 > NUL 2>&1

echo Uninstalling OneDrive...
echo.
if exist %x64% (
%x64% /uninstall
) else (
%x86% /uninstall
)
ping 127.0.0.1 -n 5 > NUL 2>&1

echo Removing OneDrive leftovers...
echo.
rd "%USERPROFILE%\OneDrive" /Q /S > NUL 2>&1
rd "C:\OneDriveTemp" /Q /S > NUL 2>&1
rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1
rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1 

echo Removing OneDrive from the Windows Explorer Side Panel...
echo.
REG DELETE "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1

exit

번호 제목 글쓴이 조회 등록일
[공지] 질문과 답변 게시판 이용간 유의사항 gooddew - -
99267 기 타| 원본 대상 파일 이름 변경...도움을 청합니다. [6] 메인보드 217 03-03
99266 기 타| 학생용 노트북 신기한 세팅입니다 [7] 손쵸쵸쵸 894 03-02
99265 윈 도 우| 이거 버그인가요? [2] 오늘도시작 331 03-02
99264 하드웨어| kt공유기 2대 연결할려면여~~ [5] 알겠습니다 665 03-02
99263 윈 도 우| VHDMAN에서 자식 생성 후 BCD 등록과 관련해서 문의드립니다 [4] 민트러브 210 03-02
99262 하드웨어| z97 보드 추천 [2] tinsy 344 03-02
99261 기 타| 최근 Youtube 재생 시 플렛폼 [2] 쟁고 288 03-02
99260 소프트웨어| 포토샵 질문 드립니다. [4] 예스어데이 342 03-02
99259 윈 도 우| C드라이브 캡쳐 백업에 대한 문의입니다, [10] 좋은데이 335 03-01
99258 윈 도 우| ko_windows_7_ultimate_IE11_201512_x86x64_Lite_k1111 이 ... [2] nuli 630 03-01
99257 윈 도 우| 갑자기 사이트 접속불량이요 [2] 세븐좋아 373 03-01
99256 기 타| 이자료의 주인님은 누구신가요? [2] 사랑해요™ 753 03-01
99255 소프트웨어| 크롬 백업 방법좀 [2] 넥스트타인 313 03-01
99254 윈 도 우| Windows11 Pro.VHD확장 문의 [5] 햇님 262 03-01
99253 하드웨어| 게이밍 노트북 살려는데요 [3] High][Land 249 03-01
99252 소프트웨어| NVIDIA control panel 중 missing "display" an... [9] sky9 139 03-01
99251 윈 도 우| group policy 변경 배치파일로 가능한가요? [12] 라랑 135 03-01
99250 소프트웨어| 일반이미지를 백터이미지로 대충 바꿔주는 프로그램 있을까요? nadaeri 133 03-01
99249 윈 도 우| 오피스 포함한 윈도우11 버젼 구해요 [1] 지구여행중 520 03-01
99248 윈 도 우| 파일폴더 OneDrive 내부항목 제거후 테스크바 아이콘이 사... joe 115 03-01
XE1.11.6 Layout1.4.8