질문과 답변

윈 도 우 PE 시작메뉴 중 일부를 지우고 싶어요

2021.03.28 09:20

do98 조회:520

안녕하세요,

 

pe 만드는 것에 관심이 생겨서 빌드해 봤는데 해결을 못하고 있는 부분이 있어 질문합니다.

 

Win10XPE 다운받아 winbuilder로 빌드하고 만들어진 pe로 부팅했습니다. 아래 그림에서

시작 - 모든 프로그램 - Window 관리도구 <- 노란색의 폴더를 통채로 없애고 싶은데 방법을 모르겠습니다.

 

windows 관리도구.png

 

탐색기로 경로를 따라가 보면

X:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools

 

Start Menu\Programs 에는 프로그램들과(노란색 폴더 위에 있는 프로그램들) Window 관리 도구까지 모두 있는데

Start Menu\Programs\Administrative Tools 에는

Memory Diagnostics Tool 이것도 없고 Registry Editor 이것도 없고 달랑 desktop.ini 하나만 있습니다.

 

desktop.ini 열어보면 아래 두 줄만 있습니다.

[.ShellClassInfo]

LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21762

 

7Z으로 boot.wim 압축 열어서 경로를 따라가 봤지만 여기는 아무 것도 없는 텅빈 폴더로 나옵니다.

D:\WinXPE\ISO\sources\boot.wim\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\

 

 

혹시 도움이 될까 해서 아래에 pecmd.ini 내용도 첨부합니다.

 

pecmd.ini 내용과 위 그림이 다른 점은,

 

시작메뉴-그림판 안 열려서 [pinutil]에서 지우고 픽픽 설치하고 위의 사진 찍었고,

시작-모든 프로그램-레지스트리 메뉴 와 window 관리도구-Registry editer 중복이라 레지스트리 메뉴 앞에 // 넣어 실행 안되게 하고,

시작메뉴-Bootice [pinutil]에 추가했고,

 

이렇게 세 가지만 다르고 나머지는 위 사진과 pecmd.ini 는 동일합니다.

 

그림판이 왜 안 열리는 지도 궁금하긴 합니다.

그래도 일단 위 사진의 노란색 폴더 window 관리도구를 먼저 없애고 싶어요.

 

긴 글 읽어 주셔서 감사하고 아래로도 또 더 긴 글 읽게 만들어서 미안합니다.

 

 

 

--------------------------------------------------------------------------------------------------------------------------------

 

// Pecmd launched from : RegWrite,HKLM,0x1,Tmp_System\Setup,CmdLine,"Pecmd.exe Main #$pWindir#$p\System32\Pecmd.ini"

 

LOGS %WinDir%\System32\Pecmd.log

 

CALL OSInit

CALL PreShell

CALL Shortcuts

//CALL PinTo

CALL LoadShell

CALL PostShell

CALL AudioInit

//CALL NetInit

//TIPS The Configuration is Finished.,,1,#1

//WAIT 3000

 

EXIT

 

////////////////////////////////////////////////////////////////////////////////////////////////

_SUB OSInit

 

// 해상도

TEAM DISP

 

// 키보드 Numlock 켜기 (changed to "NUMK 0" NumLock OFF if selected)

NUMK 1

 

// 바탕화면 배경사진

LOGO %WinDir%\web\wallpaper\Windows\img0.jpg

 

// 시작 메세지

//TEXT 1809 x64#0xFFFFFF L400 T39 $200*

TEXT Welcome, the Configuration is in Progress...#0xFFFFFF L59 T39 $20*

 

_END

 

////////////////////////////////////////////////////////////////////////////////////////////////

_SUB PreShell

 

// winpeshl.ini with [LaunchApps] wpeinit.exe

//EXEC %WinDir%\System32\winpeshl.exe

 

// LetterSwap

//EXEC =!%WinDir%\System32\LetterSwap.exe /auto /bootdrive Y:\CDUsb.y /Log %Temp%\LetterSwap.log

 

// Fix Screen resolution and Show Desktop. NoWait Hide

EXEC !%WinDir%\System32\FixScreen.exe

 

// Load and install oem* drivers in background before shell

//EXEC @!%WinDir%\System32\pnputil.exe /add-driver %WinDir%\inf\oem*.inf /install

 

// Load Users Drivers from Y before shell in background (Uncommented By User Option)

//EXEC @!%WinDir%\System32\pnputil.exe /add-driver Y:\Drivers\*.inf /subdirs

 

// Load external Autorun.cmd or PecmdStartup.ini to run program, Install external drivers, keyboard,...

//IFEX Y:\XPEStartup.ini,LOAD Y:\XPEStartup.ini

//IFEX Y:\XPEStartup.cmd,EXEC Y:\XPEStartup.cmd

 

// Install ImDisk Ramdisk in background (Uncommented if "Imdisk ramdisk" selected). Not to be changed, Replace //EXEC by //=EXEC

//EXEC @!%WinDir%\System32\StartImDIsk.exe 50 % B: R_SUB Shortcuts

 

 

// 시작메뉴 등록

 

LINK %Programs%\Display설정,%ProgramFiles%\WinXShell\WinXShell.exe,-ui -jcfg wxsUI\UI_Resolution.zip,%ProgramFiles%\WinXShell\wxsUI\display.ico

LINK %Programs%\Wifi,%ProgramFiles%\WinXShell\WinXShell.exe,-ui -jcfg wxsUI\UI_WIFI.zip\main.jcfg -theme dark,%ProgramFiles%\WinXShell\wxsUI\wifi.ico

LINK %Programs%\SystemInfo,%ProgramFiles%\WinXShell\WinXShell.exe,-ui -jcfg wxsUI\UI_SystemInfo.zip,%ProgramFiles%\WinXShell\wxsUI\MyPC.ico

LINK %Programs%\Volume,%ProgramFiles%\WinXShell\WinXShell.exe,-ui -jcfg wxsUI\UI_Volume.zip\main.jcfg,%ProgramFiles%\WinXShell\wxsUI\Volume.ico

LINK %Programs%\시스템설정,%ProgramFiles%\WinXShell\WinXShell.exe,-ui -jcfg wxsUI\UI_Settings.zip,%ProgramFiles%\WinXShell\wxsUI\settings.ico

LINK %Programs%\Services,%WinDir%\System32\services.msc

LINK %Programs%\MSinfo32,%WinDir%\System32\msinfo32.exe

LINK %Programs%\System복구,%SystemDrive%\sources\recovery\recenv.exe

LINK %Programs%\1-Network초기화,%WinDir%\System32\InitializeNetwork.cmd,,%WinDir%\System32\shell32.dll#164

LINK %Programs%\2-방화벽 On,%WinDir%\System32\EnableFirewall.cmd,,%WinDir%\System32\shell32.dll#135

LINK %Programs%\3-방화벽 Off,%WinDir%\System32\DisableFirewall.cmd,,%WinDir%\System32\shell32.dll#135

//LINK %Programs%\레지스트리,%WinDir%\regedit.exe

 

_END

 

////////////////////////////////////////////////////////////////////////////////////////////////

_SUB PinTo

 

//PINT xxx.exe,StartMenu (does not work with SIB)

// Examples here. It is done with PinUtil, see the section below

//PINT %WinDir%\System32\cmd.exe,TaskBand

//PINT %Programs%\Explorer.lnk,TaskBand

//PINT %ProgramFiles%\Q-Dir\Q-Dir.exe,TaskBand

 

_END

 

////////////////////////////////////////////////////////////////////////////////////////////////

_SUB LoadShell

 

//EXEC Y:\Programs\ProcessMonitor_x64\Procmon.exe

 

// Enable ctfmon: Alternative User Input Text Input Processor (TIP) (Uncommented for Chinese and Korean windows source). Not to be changed, Replace //EXEC by //=EXEC

// 한영전환

EXEC %WinDir%\System32\ctfmon.exe

 

KILL explorer.exe

SHEL %WinDir%\explorer.exe

//SHEL %ProgramFiles%\WinXShell\WinXShell.exe -winpe

 

_END

 

////////////////////////////////////////////////////////////////////////////////////////////////

_SUB PostShell

 

LOGO

// EXEC  = Wait, @background, ! Hide. ex: EXEC =WaitNoHide.cmd, EXEC @!=WaitHide.cmd, EXEC NoWaitNoHide.cmd, EXEC @!NoWaitHide.cmd

 

// Hide start menu Startup folders

EXEC !%WinDir%\System32\attrib.exe +s +h "X:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"

EXEC !%WinDir%\System32\attrib.exe +s +h "X:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"

 

// Remove desktop.ini

IFEX %Desktop%\desktop.ini,FILE %Desktop%\desktop.ini

IFEX X:\Users\Default\Desktop\desktop.ini,FILE X:\Users\Default\Desktop\desktop.ini

IFEX X:\Users\Public\Desktop\desktop.ini,FILE X:\Users\Public\Desktop\desktop.ini

IFEX X:\Users\Administrator\Desktop\desktop.ini,FILE X:\Users\Administrator\Desktop\desktop.ini

 

// Load drivers(노트북용)

//DEVI %WinDir%\inf\battery.inf

//DEVI %WinDir%\inf\usbport.inf

 

// PinUtil must be Launched after Explorer. To bypass Windows restrictions, use symbolic links for programs on Y: removable drive

IFEX B:\,IFEX Y:\Programs\,EXEC =@%WinDir%\System32\Cmd.exe /C Mklink /D B:\Programs Y:\Programs

EXEC %WinDir%\System32\PinUtil.exe Config %Windir%\System32\Pecmd.ini

 

// Show OSK TabletMode Button (Uncommented if "Show Touch Keyboard Button" enabled). Not to be changed, Replace //LINK EXEC %WinDir%\System32\OskTray.exe\OskTray.exe

 

_END

 

////////////////////////////////////////////////////////////////////////////////////////////////

_SUB AudioInit

 

//SERV -wait Audiosrv (audio service already started)

// Install HDAudio driver sound cards

DEVI %WinDir%\inf\hdaudio.inf

WAIT 250

 

// Adjust the volume (windows default 67%) ex: 65535*33% = 21626 (Uncommented if mute is not selected). Volume changed according to "System Volume At Startup" interEXEC=!%WinDir%\System32\nircmd.exe setsysvolume 13107volume 21626

 

// Play Startup sound (Commented if mute is selected)

EXEC @!%WinDir%\System32\mpg123.exe -q %SystemRoot%\Media\startup.mp3

 

// Start NonVisual Desktop Access after Audio (Uncommented By NVDA Plugin)

//EXEC @!%WinDir%\System32\NVDA_Startup.cmd

 

_END

 

////////////////////////////////////////////////////////////////////////////////////////////////

_SUB NetInit

 

// Load Network drivers at startup

EXEC =@!%WinDir%\System32\Drvload.exe %WinDir%\inf\athw8x.inf %WinDir%\inf\netathr10x.inf %WinDir%\inf\netathrx.inf %WinDir%\inf\netbc63a.inf %WinDir%\inf\netbc64.inf %WinDir%\inf\netrtwlane.inf %WinDir%\inf\netrtwlane_13.inf %WinDir%\inf\netrtwlanu.inf %WinDir%\inf\netwbw02.inf %WinDir%\inf\netwew00.inf %WinDir%\inf\netwew01.inf %WinDir%\inf\netwlan92de.inf %WinDir%\inf\netwlv64.inf %WinDir%\inf\netwns64.inf %WinDir%\inf\netwsw00.inf %WinDir%\inf\netwtw02.inf %WinDir%\inf\netwtw04.inf %WinDir%\inf\netwtw06.inf

 

EXEC !=SetWG.exe WORKGROUP

 

EXEC @!%WinDir%\System32\Net.exe Start Wlansvc

EXEC @!%WinDir%\System32\Net.exe Start WinHttpAutoProxySvc

 

// LaunchEXEC X:\Program Files\PENetwork_x64\PENetwork.exeENetwork.exe

 

// Remote Desktop Server Connect (Uncommented By RDC Plugin)

//EXEC @!%WinDir%\System32\mstsc.exe /v:

 

_END

 

////////////////////////////////////////////////////////////////////////////////////////////////

 

[PinUtil]

TaskBar0=X:\Program Files\PENetwork_x64\PENetwork.exe

TaskBar1=X:\Program Files\Q-Dir\Q-Dir_x64.exe

TaskBar2=X:\Program Files\Google Chrome_x64\Chrome.exe

TaskBar3=%SystemRoot%\Explorer.exe

StartMenu0=%WinDir%\System32\Notepad.exe

StartMenu1=%WinDir%\System32\Calc.exe

StartMenu2=X:\Program Files\7-Zip_x64\7zFM.exe

StartMenu3=X:\Program Files\Bootice\Bootice1.3.3.exe

 
--------------------------------------------------------------------------------------------------------
번호 제목 글쓴이 조회 등록일
[공지] 질문과 답변 게시판 이용간 유의사항 gooddew - -
88761 기 타| 네이버 까페 주소줄 [2] zizer7ener 244 04-05
88760 윈 도 우| Q-DIR 을 윈도우키+E(파일탐색기로)변경 등록이 가능한가요? [1] 소나무_뿌 232 04-05
88759 소프트웨어| MS Word 2016 이 실행되지 않습니다. 어찌해야 할까요? [2] 철인제자 309 04-05
88758 윈 도 우| UEFI USB를 만들었습니다. [3] 가야악당 630 04-05
88757 윈 도 우| 윈도우 설치 용량이,..... [6] 토끼다 849 04-04
88756 윈 도 우| 세사기3 회원이 되고싶어죽겠어요!!!!!@@^^ 도와주세요 [9] ttyyuu7 1094 04-04
88755 소프트웨어| m4a 손상된 파일을 복구할수 있는 방법이 있을까요? [2] 한번에한걸음씩 311 04-04
88754 윈 도 우| 기존의 wim에 어떤 프로그램으로 네트워크를 추가할 수 있... [7] fkjin 393 04-04
88753 기 타| 이제품 뭐라고 검색해야 나올까요? [4] 소녀시대 656 04-04
88752 기 타| 노트북 좀 추천해주세요!!! [5] 프펌 409 04-04
88751 윈 도 우| UEFI 파티션 만들기 [5] 아구다 858 04-04
88750 윈 도 우| 부팅시 암호 안묻고 부팅하기-설정 [5] jopd 833 04-04
88749 윈 도 우| 혹시 윈도우10 한두번 조작으로 설치가능한가요? [5] 베리하우스 462 04-04
88748 하드웨어| 노트북 메모리 끝에 s u 차이가 무엇인지요? [2] 개울소리 511 04-04
88747 기 타| 이 물고기 이름이 뭔가요? [3] brucex 515 04-04
88746 윈 도 우| ESXI 구축 문의 [2] WB 169 04-04
88745 윈 도 우| Rufus 윈투고 제작 MBR 문제 WB 284 04-04
88744 소프트웨어| PDF-XChange Editor 기본글꼴 바꾸기 [4] 나는돈 567 04-04
88743 윈 도 우| pecmd.ini의 [PinTool]에서 세로줄( | )의 의미는? [3] 동백66 241 04-03
88742 기 타| 컴퓨터용 모니터 추천 요청건 [13] 안정 568 04-03
XE1.11.6 Layout1.4.8