자유 게시판

우클릭 그룹정책편집기... 쓰실 일 없겠지만

2024.03.02 01:58

라랑 조회:525 추천:8

당분간 작업용도로만 쓰려고 잠깐 만들었는데...

 

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\GPolicy]

"Position"="Top"

@="정책 편집기"

"Icon"="C:\\Windows\\system32\\imageres.dll,7"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\GPolicy\Command]

@="mmc gpedit.msc"

 
-----------이렇게 바꾸니깐 되네용.
아이콘 번호는 찾는 방법을 까먹어서.. 아무거나 넣었습니다. 
 
이런거 올리면 ... 삭제하는 레지도 같이 올려야 되나요? 흑... 
 
 
삭제는
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\GPolicy]
 
 
------------------------- 기왕 올린김에 cmd 창에 ...............
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\GPolicy" /ve /d "정책 편집기" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\GPolicy" /v "Position" /t REG_SZ /d "Top" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\GPolicy" /v "Icon" /t REG_SZ /d "C:\\Windows\\system32\\imageres.dll,7" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\GPolicy\Command" /ve /d "mmc gpedit.msc" /f
 
---------- 삭제는 이렇게.............
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\GPolicy" /f
 
 
 
 
 
------------------ 정책 편집기 원래 번호 찾았네요. 그런데 더 재미있는 걸 찾았네요. 다른 사람 컴에서도 될련지는...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\GPolicy" /v "Icon" /t REG_SZ /d "C:\\Windows\\system32\\gpedit.dll,0" /f
 
WUtest.msc 첨부에
XE1.11.6 Layout1.4.8