remove unnecessary parts

This commit is contained in:
h3r0 2023-11-25 11:56:14 +00:00 committed by GitHub
parent 4bd97513cc
commit 0765109291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 18 deletions

View File

@ -61,16 +61,5 @@ actions:
- !appx: {operation: clearCache, name: '*XboxIdentityProvider*'}
- !appx: {operation: clearCache, name: '*XboxSpeechToTextOverlay*'}
- !run:
exe: "explorer.exe"
runas: currentUser
- !taskKill: {name: "explorer", ignoreErrors: true}
- !cmd:
exeDir: true
command: 'copy /y %WINDIR%\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\appxmanifest.xml.og %WINDIR%\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\appxmanifest.xml'
weight: 10
# Start as user process to prevent weird look due to running as TrustedInstaller
# - !run: {baseDir: true, exe: "NSudoLC.exe", args: '-U:C -UseCurrentConsole explorer.exe'}

View File

@ -2,7 +2,8 @@
title: Registry
description: Revision registry configuration
privilege: TrustedInstaller
actions: []
actions:
- !writeStatus: {status: "Tweaking registry"}
features:
- features\revision\registry\ntlite-settings.yml
- features\revision\registry\aaa-edit-ISO-version-and-edition.yml

View File

@ -43,12 +43,6 @@ actions:
- !cmd:
command: 'ipconfig /flushdns'
# Backup appxmanifest.xml
- !cmd:
exeDir: true
command: 'copy /y %WINDIR%\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\appxmanifest.xml %WINDIR%\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\appxmanifest.xml.og'
weight: 10
- !writeStatus: {status: "Optimizing PowerShell"}
- !run:
exeDir: true