patrick-it
Goto Top

Windows 10 Apps

Hallo zusammen

Ich bin dabei ein Windows 10 Image zu erstellen und das mit Sysprep, ich schaffe es in Powershell die Apps mit folgenden Befehlen zu deinstallieren:
Get-AppxProvisionedPackage online | Remove-AppxProvisionedPackage online
Get-AppxPackage AllUsers | Remove-AppxPackage
Doch wenn ich dann einen neuen Benutzer anlege werden trotzdem paar App-Icons angezeigt:
apps
Wenn ich dann auf eine App klicke kommt folgendes:
store
Wie schaffe ich es, dass die NICHT installierten Apps nicht angezeigt werden, weil das gibt ja keinen Sinn?

Vielen Dank schonmal für eure Hilfe!


Gruss

Patrick

Content-Key: 320644

Url: https://administrator.de/contentid/320644

Printed on: April 23, 2024 at 16:04 o'clock

Mitglied: 131381
Solution 131381 Nov 11, 2016 updated at 09:57:24 (UTC)
Goto Top
Diese Apps sind nicht installiert, diese lassen sich nur per Registry-Eintrag ausblenden, bzw. über ein Startlayout eliminieren.
Gibt's hier im Forum schon einen Beitrag.
Powershell: Windows 10 Modern Apps an Startmenü anheften oder entfernen (Pin oder Unpin)

Gruß

p.s. So wie du oben alle Apps entfernst wirst du später 100%ig Probleme bekommen! Bestimmte System-Apps sind für das ordnungsgemäße Funktionieren bestimmter Funktionen des OS nötig.
Member: netscrat
netscrat Nov 11, 2016 at 10:03:21 (UTC)
Goto Top
Moin,

wie mikrotik schon sagt.
Ich hab das gleiche auch schon versucht und habe das Script von @colinardo dann " vervollständigt "

function Pin-App {
    param(
        [parameter(mandatory=$true)][ValidateNotNullOrEmpty()][string[]]$appname,
        [switch]$unpin
    )
    $actionstring = @{$true='Von "Start" lösen|Unpin from Start';$false='An "Start" anheften|Pin to Start'}[$unpin.IsPresent]  
    $action = @{$true='unpinned from';$false='pinned to'}[$unpin.IsPresent]  
    $apps = (New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -in $appname}  
    
    if($apps){
        $notfound = compare $appname $apps.Name -PassThru
        if ($notfound){write-error "These App(s) were not found: $($notfound -join ",")"}  

        foreach ($app in $apps){
            $appaction = $app.Verbs() | ?{$_.Name.replace('&','') -match $actionstring}  
            if ($appaction){
                $appaction | %{$_.DoIt(); return "App '$($app.Name)' $action Start"}  
            }else{
                write-error "App '$($app.Name)' is already pinned to start or action not supported."  
            }
        }
    }else{
        write-error "App(s) not found: $($appname -join ",")"  
    }
}

$windows10apps= "Office holen" , "Begleiter für Telefon", "Kalender","Fotos", "Microsoft Edge", "Cortana", "Wetter", "Store", "Skype-Video", "Twitter", "OneNote", "Finanzen", "Xbox" , "Nachrichten", "Mail", "Groove-Musik", "Filme & TV", "Candy Crush Soda Saga"  
Pin-App $windows10apps -unpin


2016-11-11 11_02_18-spielwiesewin10 [wird ausgeführt] - oracle vm virtualbox


Weiter schaffe ich es auch nicht, diese Apps aus dem Startmenü pinnen.

Gruß
hagerino
Mitglied: 131381
131381 Nov 11, 2016 updated at 10:04:45 (UTC)
Goto Top
Steht in obigem Link wie du das machst face-wink
Member: netscrat
netscrat Nov 11, 2016 updated at 10:06:12 (UTC)
Goto Top
Ja wie ich es dann weiter geht weiß ich, man kann die restlichen 6 Apps auch einfach "Rechtsklicken" und unpinnen..
Ging mir nur um dieses blöde Geklicke um alle dort loszuwerden :D
Mitglied: 131381
131381 Nov 11, 2016 updated at 10:11:04 (UTC)
Goto Top
Zitat von @netscrat:

Ja wie ich es dann weiter geht weiß ich, man kann die restlichen 6 Apps auch einfach "Rechtsklicken" und unpinnen..
Nein, les ihn nochmal. Der Registry-Eintrag erledigt den Rest. Link im letzten Post führt direkt zum passenden Kommentar.
Member: netscrat
netscrat Nov 11, 2016 at 10:11:47 (UTC)
Goto Top
Zum 2x. Ich hab den Beitrag gelesen, ich kenne den Registry Eintrag.
Dennoch ist es simpler einfach die restlichen Apps vom Startmenü zu unpinnen, manuell, als über den REQ Key.
Mitglied: 131381
131381 Nov 11, 2016 at 10:14:44 (UTC)
Goto Top
Manuell? Einmal im Default-Profil geändert, schon entfällt die Klickerei face-smile
Member: netscrat
netscrat Nov 11, 2016 at 10:19:54 (UTC)
Goto Top
Die 10 Klicks für die restlichen Apps gleichen das Anpassen der Registry auch aus :P
Aber ja, wir in der IT sind faul, aber dafür reichts noch :D
Member: Patrick-IT
Patrick-IT Nov 11, 2016 at 11:52:31 (UTC)
Goto Top
Danke für die Hilfe, habe jetzt das Startlayout über GPO geregelt! face-smile

Gruss

Patrick