Handle Print Restriction in Multiapplication Kiosk

Samuel Hurni 1 Reputation point
2022-09-28T10:30:12.507+00:00

Hello

I have configured a multiapplication kiosk sucessfully. My Goal is to allow anly one desktop application to run. This is a application.jar File, which is a self designed software.

The configuration for the layout and the restrictions to allow only this application I have already done and it is working.

But now from this java software, I would like to print something with the default printer. This function is now not working, maybe because the applications and services for that would be blocked by the kiosk. The error of my java application is: "No Printservice was found". So I guess that the spooler Service is not running. I also tried it to start by group policy by a batch file but without success.

So my question is how I need to adapt my .xml File to allow a printing in Multiapplication Kiosk?

Here is my Konfig Xml File:

<?xml version="1.0" encoding="utf-8" ?>  
<AssignedAccessConfiguration   
    xmlns="http://schemas.microsoft.com/AssignedAccess/2017/config"  
    xmlns:rs5="http://schemas.microsoft.com/AssignedAccess/201810/config"  
    >  
    <Profiles>  
        <Profile Id="{2d2a17a7-5c63-424a-acdc-d81a0118c49c}">  
  
             <AllAppsList>  
                <AllowedApps>  
   <App DesktopAppPath="%SystemDrive%\Mealorder\Mealorder_Tablet_Import_Server.jar" />  
   <App DesktopAppPath="%SystemDrive%\Program Files\Java\jre1.8.0_251\bin\java.exe" />  
   <App DesktopAppPath="%SystemDrive%\Program Files\Java\jre1.8.0_251\bin\javaw.exe" />  
   <App DesktopAppPath="%SystemDrive%\Program Files\Java\jre1.8.0_251\bin\javaws.exe" />  
   <App DesktopAppPath="%SystemDrive%\Program Files\Java\jre1.8.0_251\bin\javacpl.exe" />  
   <App DesktopAppPath="%SystemRoot%\system32\spoolsv.exe" />  
   <App DesktopAppPath="%windir%\system32\cmd.exe" />  
     
 </AllowedApps>  
            </AllAppsList>  
  <rs5:FileExplorerNamespaceRestrictions>  
                <rs5:AllowedNamespace Name="Downloads"/>  
            </rs5:FileExplorerNamespaceRestrictions>  
            
            <StartLayout>  
               <![CDATA[<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">  
                      <LayoutOptions StartTileGroupCellWidth="6" />  
                      <DefaultLayoutOverride>  
                        <StartLayoutCollection>  
                          <defaultlayout:StartLayout GroupCellWidth="6">  
                            <start:Group Name="Mealorder2">  
                              
             
                           <start:DesktopApplicationTile Size="4x4" Column="0" Row="0" DesktopApplicationLinkPath="%AllUsersProfile%\Microsoft\Windows\Start Menu\Programs\mealorder2.lnk"  />  
           
  
    </start:Group>  
                          </defaultlayout:StartLayout>  
                        </StartLayoutCollection>  
                      </DefaultLayoutOverride>  
                    </LayoutModificationTemplate>  
                ]]>  
  
            </StartLayout>  
            <Taskbar ShowTaskbar="true"/>  
        </Profile>  
          
    </Profiles>  
    <Configs>  
          
        <Config>  
            <Account>Mealorder</Account>  
            <DefaultProfile Id="{2d2a17a7-5c63-424a-acdc-d81a0118c49c}"/>  
        </Config>  
        <Config>  
            <AutoLogonAccount rs5:DisplayName="Mealorder"/>  
            <DefaultProfile Id="{2d2a17a7-5c63-424a-acdc-d81a0118c49c}"/>  
        </Config>  
          
    </Configs>  
</AssignedAccessConfiguration>  
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,766 Reputation points
    2022-09-29T07:56:22.78+00:00

    Hello there,

    Are you allowing Edge or Chrome to run in Kiosk mode? If so are you able to print from the browser?

    Is the printer working properly when not in kiosk mode?

    To authorize a compatible configuration XML that includes elements and attributes from Windows 10 version 1809 or newer / Windows 11, always include the namespace of these add-on schemas, and decorate the attributes and elements accordingly with the namespace alias.

    Assigned Access configuration (kiosk) XML reference https://learn.microsoft.com/en-us/windows/configuration/kiosk-xml

    --------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.