Forrest 0 Posted September 17, 2020 Report Posted September 17, 2020 (edited) Hallo zusammen. Bin grade am einrichten eines Kiosk unter Windows 10 Version 2004. Habe die XML Datei <code> <?xml version="1.0" encoding="utf-8" ?> <AssignedAccessConfiguration xmlns="https://schemas.microsoft.com/AssignedAccess/2017/config" xmlns:v2="https://schemas.microsoft.com/AssignedAccess/201810/config" xmlns:v3="https://schemas.microsoft.com/AssignedAccess/2020/config"> <Profiles> <Profile Id="{9A2A490F-10F6-4764-974A-43B19E722C23}"> <AllAppsList> <AllowedApps> <App AppUserModelId="Microsoft.Microsoft3DViewer_8wekyb3d8bbwe!Microsoft.Microsoft3DViewer" v2:AutoLaunch="true" v2:AutoLaunchArguments="123"/> <App AppUserModelId="Microsoft.BingWeather_8wekyb3d8bbwe!App" /> <App AppUserModelId="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" /> <App DesktopAppPath="%SystemRoot%\system32\notepad.exe" /> </AllowedApps> </AllAppsList> <StartLayout> <![CDATA[<LayoutModificationTemplate xmlns:defaultlayout="https://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="https://schemas.microsoft.com/Start/2014/StartLayout" Version="1" xmlns="https://schemas.microsoft.com/Start/2014/LayoutModification"> <LayoutOptions StartTileGroupCellWidth="6" /> <DefaultLayoutOverride> <StartLayoutCollection> <defaultlayout:StartLayout GroupCellWidth="6"> <start:Group Name="Life at a glance"> <start:Tile Size="2x2" Column="0" Row="0" AppUserModelID="microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.windowsLive.calendar" /> <start:Tile Size="4x2" Column="0" Row="4" AppUserModelID="Microsoft.WindowsStore_8wekyb3d8bbwe!App" /> <!-- A link file is required for desktop applications to show on start layout, the link file can be placed under "%AllUsersProfile%\Microsoft\Windows\Start Menu\Programs" if the link file is shared for all users or "%AppData%\Microsoft\Windows\Start Menu\Programs" if the link file is for the specific user only see document https://docs.microsoft.com/windows/configuration/start-layout-xml-desktop --> <!-- for inbox desktop applications, a link file might already exist and can be used directly --> <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%AllUsersProfile%\Microsoft\Windows\Start Menu\Programs\Accessories\paint.lnk" /> <!-- for 3rd party desktop application, place the link file under appropriate folder --> <start:DesktopApplicationTile Size="2x2" Column="4" Row="0" DesktopApplicationLinkPath="%AppData%\Microsoft\Windows\Start Menu\Programs\MyLOB.lnk" /> </start:Group> </defaultlayout:StartLayout> </StartLayoutCollection> </DefaultLayoutOverride> </LayoutModificationTemplate> ]]> </StartLayout> <Taskbar ShowTaskbar="true"/> </Profile> </Profiles> <Configs> <Config> <Account>Service</Account> <v3:GlobalProfile Id="{9A2A490F-10F6-4764-974A-43B19E722C23}"/> </Config> </Configs> </AssignedAccessConfiguration> </code> und eine ppkg Datei bereitgestellt. Die wurde angeklickt und gestartet. Dann habe ich den angelegten Benutzer Service wo ich vorher natürlich angelegt habe gestartet. Aber leider startet der Kiosk nicht. Wenn ich das mit 1 App über Einstellungen und Familienkonto einrichte funktionierts. Wo liegt mein Fehler ? Danke Eurer Forrest Edited September 17, 2020 by Forrest falsch
MurdocX 1,006 Posted September 18, 2020 Report Posted September 18, 2020 Wie generierst du denn die XML?
Forrest 0 Posted September 19, 2020 Author Report Posted September 19, 2020 (edited) Notepad ++ Hier im Code zeigt es nicht gut an sry. Edited September 19, 2020 by Forrest zusatz
MurdocX 1,006 Posted September 19, 2020 Report Posted September 19, 2020 vor 40 Minuten schrieb Forrest: Hier im Code zeigt es nicht gut an sry. Deswegen gibt einen Code-Tag im Editor um das zu vermeiden Generieren ist ein Synonym für erstellen. WIE erstellst du den XML-Code?
Forrest 0 Posted September 19, 2020 Author Report Posted September 19, 2020 ich erstell ihn nicht ich hab Ihn von der Microsoftseite kopiert und selbst dinge hinzugefügt.
MurdocX 1,006 Posted September 20, 2020 Report Posted September 20, 2020 Am 17.9.2020 um 19:49 schrieb Forrest: Wenn ich das mit 1 App über Einstellungen und Familienkonto einrichte funktionierts. Wo liegt mein Fehler ? Ist der Fehler denn überhaupt relevant, wenn du den KIOSK-Modus nur an einem System einrichtest und der Weg über das Menü funktioniert? Könntest du uns noch erläutern warum du den Weg über die XML eingeschlagen hast?
Forrest 0 Posted September 20, 2020 Author Report Posted September 20, 2020 Ich möchte ein Kiosk als Benutzer anlegen. Mit mehren App, wenn du mir sagen kannst wie ich im Menü ein Kiosk mit mehren App erstellen kann würde ich ein anderen Weg nehmen. Ich möchte auch nicht nur Microsoft Apps nehmen sondern auch von anderen Anbietern. Leider geht sowas nur über eine XML oder Powershell. Hast du schonmal ein Kiosk eingerichtet mit mehren APP´s.
testperson 1,879 Posted September 20, 2020 Report Posted September 20, 2020 Hi, ist das ein Windows 10 Enterprise oder EDU? Bei Multi-App brauchst du Enterprise oder EDU. Falls die passende Version eingesetzt wird, funktioniert es mit der Global Profile Beispiel XML aus den MS Docs: https://docs.microsoft.com/en-us/windows/configuration/lock-down-windows-10-to-specific-apps <?xml version="1.0" encoding="utf-8" ?> <AssignedAccessConfiguration xmlns="https://schemas.microsoft.com/AssignedAccess/2017/config" xmlns:v2="https://schemas.microsoft.com/AssignedAccess/201810/config" xmlns:v3="https://schemas.microsoft.com/AssignedAccess/2020/config" > <Profiles> <Profile Id="{9A2A490F-10F6-4764-974A-43B19E722C23}"> <AllAppsList> <AllowedApps> <App AppUserModelId="Microsoft.Microsoft3DViewer_8wekyb3d8bbwe!Microsoft.Microsoft3DViewer" v2:AutoLaunch="true" v2:AutoLaunchArguments="123"/> <App AppUserModelId="Microsoft.BingWeather_8wekyb3d8bbwe!App" /> <App AppUserModelId="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" /> <App DesktopAppPath="%SystemRoot%\system32\notepad.exe" /> </AllowedApps> </AllAppsList> <StartLayout> <![CDATA[<LayoutModificationTemplate xmlns:defaultlayout="https://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="https://schemas.microsoft.com/Start/2014/StartLayout" Version="1" xmlns="https://schemas.microsoft.com/Start/2014/LayoutModification"> <LayoutOptions StartTileGroupCellWidth="6" /> <DefaultLayoutOverride> <StartLayoutCollection> <defaultlayout:StartLayout GroupCellWidth="6"> <start:Group Name="Life at a glance"> <start:Tile Size="2x2" Column="0" Row="0" AppUserModelID="microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.windowsLive.calendar" /> <start:Tile Size="4x2" Column="0" Row="4" AppUserModelID="Microsoft.WindowsStore_8wekyb3d8bbwe!App" /> <!-- A link file is required for desktop applications to show on start layout, the link file can be placed under "%AllUsersProfile%\Microsoft\Windows\Start Menu\Programs" if the link file is shared for all users or "%AppData%\Microsoft\Windows\Start Menu\Programs" if the link file is for the specific user only see document https://docs.microsoft.com/windows/configuration/start-layout-xml-desktop --> <!-- for inbox desktop applications, a link file might already exist and can be used directly --> <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%AllUsersProfile%\Microsoft\Windows\Start Menu\Programs\Accessories\paint.lnk" /> <!-- for 3rd party desktop application, place the link file under appropriate folder --> <start:DesktopApplicationTile Size="2x2" Column="4" Row="0" DesktopApplicationLinkPath="%AppData%\Microsoft\Windows\Start Menu\Programs\MyLOB.lnk" /> </start:Group> </defaultlayout:StartLayout> </StartLayoutCollection> </DefaultLayoutOverride> </LayoutModificationTemplate> ]]> </StartLayout> <Taskbar ShowTaskbar="true"/> </Profile> </Profiles> <Configs> <v3:GlobalProfile Id="{9A2A490F-10F6-4764-974A-43B19E722C23}"/> </Configs> </AssignedAccessConfiguration> Beim Überfliegen deiner XML fällt mir auf, dass beim MS Beispiel, kein Account in der Config angegeben wird. Du allerdings Service nutzt. Das Global Profile gilt nach der Beschreibung für jeden User an diesem Device. Gruß Jan
Forrest 0 Posted September 21, 2020 Author Report Posted September 21, 2020 (edited) Hi erstmal danke für die Info. Ja Service ist der Account. Wenn ich das so umschreibe und mit einem Powershell Script ausführe funktioniert es. Ok wie starte ich nun dein Script. Mein Ziel ist es ein Kiosk über XML zu starten das ein Benutzer mit einem gewissen Accountnamen angelegt wird. Und das man später App entfernen und wieder hinzufügen kann. Wäre das mit deinem Script machbar und wie kann ich das Script starten. Und ich hab Windows 10 pro 1809 über Powershell funktionierts. Edited September 21, 2020 by Forrest
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now