macsplex.com 로그인

검색

Windows 10
2019.08.17 15:04

원도우10 시작메뉴 모든타일삭제

조회 수 427 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄 첨부
Extra Form
출처/참고/홈페이지 https://superuser.com/questions/1068382/...start-menu

시작메뉴에 타일아이콘을 전부다 삭제해주는 파워셀스크립트입니다.

#Delete layout file if it already exists
If(Test-Path C:\Windows\StartLayout.xml)
{
    Remove-Item C:\Windows\StartLayout.xml
}

#Creates the blank layout file
echo "<LayoutModificationTemplate xmlns:defaultlayout=""http://schemas.microsoft.com/Start/2014/FullDefaultLayout"" xmlns:start=""http://schemas.microsoft.com/Start/2014/StartLayout"" Version=""1"" xmlns=""http://schemas.microsoft.com/Start/2014/LayoutModification"">" >> C:\Windows\StartLayout.xml
echo "  <LayoutOptions StartTileGroupCellWidth=""6"" />" >> C:\Windows\StartLayout.xml
echo "  <DefaultLayoutOverride>" >> C:\Windows\StartLayout.xml
echo "    <StartLayoutCollection>" >> C:\Windows\StartLayout.xml
echo "      <defaultlayout:StartLayout GroupCellWidth=""6"" />" >> C:\Windows\StartLayout.xml
echo "    </StartLayoutCollection>" >> C:\Windows\StartLayout.xml
echo "  </DefaultLayoutOverride>" >> C:\Windows\StartLayout.xml
echo "</LayoutModificationTemplate>" >> C:\Windows\StartLayout.xml

$regAliases = @("HKLM", "HKCU")

#Assign the start layout and force it to apply with "LockedStartLayout" at both the machine and user level
foreach ($regAlias in $regAliases){
    $basePath = $regAlias + ":\SOFTWARE\Policies\Microsoft\Windows"
    $keyPath = $basePath + "\Explorer" 
    IF(!(Test-Path -Path $keyPath)) { 
        New-Item -Path $basePath -Name "Explorer"
    }
    Set-ItemProperty -Path $keyPath -Name "LockedStartLayout" -Value 1
    Set-ItemProperty -Path $keyPath -Name "StartLayoutFile" -Value "C:\Windows\StartLayout.xml"
}

#Restart Explorer, open the start menu (necessary to load the new layout), and give it a few seconds to process
Stop-Process -name explorer
Start-Sleep -s 5
$wshell = New-Object -ComObject wscript.shell; $wshell.SendKeys('^{ESCAPE}')
Start-Sleep -s 5

#Enable the ability to pin items again by disabling "LockedStartLayout"
foreach ($regAlias in $regAliases){
    $basePath = $regAlias + ":\SOFTWARE\Policies\Microsoft\Windows"
    $keyPath = $basePath + "\Explorer" 
    Set-ItemProperty -Path $keyPath -Name "LockedStartLayout" -Value 0
}

#Restart Explorer and delete the layout file
Stop-Process -name explorer
Remove-Item C:\Windows\StartLayout.xml

스크립트 실행명령어 : Powershell.exe -noprofile -executionpolicy bypass -file "c:\livetiles_delete.ps1"

스크립트 다운로드 :  livetiles_delete.ps1





--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------


Who's DNAVI

profile

안녕하세요 macsplex.com 웹마스터 DNAVI입니다.

오픈소스를 좋아하고 컴퓨터에서 돌아가는 OS와 소프트웨어를 설치하고 웹사이트를 운영하는데 관심이 많습니다.

 

가지고 있는 제품리스트

PC  :

homebuilt computer(Intel i7-4790K, ASUS MAXIMUS Ranger Vii, AMD Radeon R290),

homebuilt computer(AMD Phenom X4 630, GIGABYTE GA-61P-S3, NVIDIA GT8600),

Apple iMac 2009 late(Intel E7600)

Apple MacMini 2018(Intel i5-8500B, A1993)

homebuilt computer(AMD Ryzen 3200G, Asrock B450 Steel Legend)

Beelink SER(AMD Ryzen 7840HS, 64GB)

 

Notebook :

Apple Macbook Air 2022 (M2, A2681)

Lenovo LEGION 5 Pro 16ACH R7 STORM (AMD R7-5800H, NVIDIA RTX3060 laptop)

Lenovo Thinkpad T420s(Intel i5-2540M)

Apple Macbook Air 2011 Mid( i5-2467M, A1370)

 

Server :

Dell PowerEdge R420(Intel XEON E5-2407)

Dell PowerEdge R710(Intel XEON E5620 x2, 32GB)

HP Proliant Microserver Gen8(Intel XEON E3-1230V2)

 

NAS :

Synology.DS218+

BUFFALO LinkStation Live LS-XL/E

 

Smartphone:

Motorola Edge 20 pro

Apple iPhone 12

Apple iPhone 15 Pro Max

Samsung Galaxy S8

Xiaomi Redmi Note 4, Mi 8

Lenovo Phab2 Pro

Apple iPhone 5

Huawei X3, Nova Smart

Blackberry 9790

 

Tablet :

Apple iPad Air2

Samsung Galaxy Tab S7+

 

Game Console :

Sony PSP, PS3, PS4 Pro, PS5

Microsoft Xbox 360, Xbox One X

Nintendo DS Lite, 3DS XL, Switch Lite, Switch

HardKernel Odrid Go Advance Black Edition

Gamepark GP2X-F100

Atachment
첨부 '1'

  1. SMB 접속이 되어 있는 버전 확인하는 명령어

    CategoryWindows 10
    Read More
  2. SATA에서 NVME 옮길때 Inaccessible_boot_device라고 나오면

    CategoryWindows 10
    Read More
  3. AVAGO MegaRAID Storage Manager Windows 10 설치방법

    CategoryWindows 10
    Read More
  4. IE실행시 엣지로 실행될때 강제로 막는법

    CategoryWindows 10
    Read More
  5. 공유폴더 연결시 네트워크 경로를 찾을수 없다고 나올때

    CategoryWindows 10
    Read More
  6. IE(인터넷익스플로러)를 실행해도 엣지(Edge)로 변경될 경우

    CategoryWindows 10
    Read More
  7. 원도우10 설정 명령어

    CategoryWindows 10
    Read More
  8. IE 크롬 기본 웹브라우저 전환 스크립트

    CategoryWindows 10
    Read More
  9. 원도우10 .Net Framework 3.5 설치가 안될때

    CategoryWindows 10
    Read More
  10. IP 변경 스크립트

    CategoryWindows 10
    Read More
  11. 로지텍 G633 내목소리가 들릴때

    CategoryWindows 10
    Read More
  12. 원도우에서 공유폴더 접속시 에레가 발생될때

    CategoryWindows 10
    Read More
  13. 탐색기가 이상이 있을경우

    CategoryWindows 10
    Read More
  14. AMD 아드레날린2020 플루이드모션 활성화방법

    CategoryWindows 10
    Read More
  15. WSUS 업데이트 서버지정

    CategoryWindows 10
    Read More
  16. 원도우10 작업표시줄 모든아이콘 삭제스크립트

    CategoryWindows 10
    Read More
  17. 원도우10 기본앱 IE로 바꾸기

    CategoryWindows 10
    Read More
  18. 원도우10 시작메뉴 모든타일삭제

    CategoryWindows 10
    Read More
  19. 관리자권한상승이 필요할때 사용하는 스크립트

    CategoryWindows 10
    Read More
  20. 원드라이브(MS OneDrive) 삭제 스크립트

    CategoryWindows 10
    Read More
Board Pagination Prev 1 2 Next
/ 2