cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone successfully implemented HTML5 Remote Program Options?

SOLVED
Mumbo
Occasional Contributor

Has anyone successfully implemented HTML5 Remote Program Options?

Solution Type: Basic HTML5
Connection Type: Windows RDP

Remote Program Options
Start program on connection: c:\windows\system32\notepad.exe

Result:

Dialog: "Access is denied. This initial program cannot be started: c:\windows\system32\notepad.exe"

Closing dialog ends session.

 

Advanced HTML5 offers two options under Remote Program Options; Program Type: Shell Program and Remote App. I can't find any helpful information for either of these.

 

Solution Type: Advanced HTML5
Connection Type: Windows RDP

Result: "Error:java.lang.NullPointerException"

 

Thanks in advance for any help you can give. 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
zanyterp
Moderator

Re: Has anyone successfully implemented HTML5 Remote Program Options?

that is my guess as well; i was seeing that until i enabled that option on my server to allow the application to be started (local group policy>computer configuration>administrative templates>windows components>remote desktop services>remote desktop session host>connections>allow remote start of unlisted programs)

View solution in original post

Tags (2)
13 REPLIES 13
zanyterp
Moderator

Re: Has anyone successfully implemented HTML5 Remote Program Options?

please open a case with our support team for further investigation
Mumbo
Occasional Contributor

Re: Has anyone successfully implemented HTML5 Remote Program Options?

I have opened multiple cases.

 

I am reaching out to the community because I am getting no where with support. It does not appear the the support tech knows any more than I do. I cannot find documentation on the Pulse Secure or Juniper sites. It has been a constant cycle of send the logs, try this, I'll talk to my team and get back to you -  rinse and repeat.

 

 

 

 

zanyterp
Moderator

Re: Has anyone successfully implemented HTML5 Remote Program Options?

thank you for the update; i am sorry to hear that your experience with support has been subpar and that we have not yet been able to confirm if we can see the same behavior or not.
i will try to replicate and let you know if i can see a difference in behavior
Mumbo
Occasional Contributor

Re: Has anyone successfully implemented HTML5 Remote Program Options?

Thank you for your response to this.
It would be very helpful if you could find any documentation on these functions.

The only reference I can find is a short section in the Administrator Manual under "Defining Application Settings forthe Remote DesktopSession"

 

I would prefer not to use RD Remote Apps and it appears that there are other options under basic and advance HTML5. I am hoping that the ancient scrolls that document these functions are not lost (LOL).
=========================================
Defining Application Settings forthe Remote DesktopSession

When configuring Remote Desktop bookmark, you can specify that users can only access specific applications on the terminal server.

To define applications that users can access:

1.Create Remote Desktop bookmark or edit an existing bookmark.

2.Scroll to the Remote Program Options area of the bookmark configuration page.

3.Specify the program that you want to launch automatically on connection in the Specify program on connection box.

4.Enter the application name (applicable only for servers running Windows 2008 and later) in the Remote Appbox.

5.Specify where the application’s executable file resides on the terminal server in the Remote App Dirbox (visible only when you clear Launch seamless window). For example, you might enter the following directory for the Microsoft Word application:C:\Program Files\Microsoft Office\Office10\WinWord.exe

6.Specify the arguments for the application in the Remote App Argsbox.NOTE: You can use session variables such as <username> and <password> in the Remote App Argsbox. For example, when specifying an application path, you might want to include the <username> variable to personalize the location. For example: C:\Documents andSettings\<username>\My Documents.

7.Click Save Changes.

NOTE: Windows requires a special notation for the names of remote applications. The names of remote applications must be prefixed with two vertical bars. For example, if you have created a remote application onyour server for notepad.exe and have assigned it the name "notepad", you would set this parameter to: "<pipe><pipe>notepad".

zanyterp
Moderator

Re: Has anyone successfully implemented HTML5 Remote Program Options?

You are welcome; unfortunately, I can confirm that what you outlined is all that is available. Is "RD Remote Apps" a separate feature of your terminal server or the way to access applications over terminal services?
zanyterp
Moderator

Re: Has anyone successfully implemented HTML5 Remote Program Options?

what version of the platform are you using? what is your target server?
i was able to get both basic and advanced to load successfully for notepad (it was the only application i could use and no desktop access) when clicking on my html5 bookmark with a PCS running 9.1R13 against a server 2019 target.

for the advanced html5 component that worked, i used the remote app radio button. i tested with both path and "just" the application name and it loaded successfully.
Mumbo
Occasional Contributor

Re: Has anyone successfully implemented HTML5 Remote Program Options?

I believe that my issue might be related to this:

 

...With the introduction of Terminal Services Remote Application Manager in Windows Server 2008, Microsoft disabled the Initial Application feature by default.

 

With basic HTML5 I get the following error:

"Access in denied. This initial program cannot be started: c:\windows\system32\notepad.exe"

 

With advanced HTML5 I get the following error (which I as not getting befor, not sure what changed):

"Error: The Client Execute request could not be satisfied because the requested application was blocked by policy from being launched on the server: RawResult: 21 exe:c:\windows\system32\notepad.exe"

zanyterp
Moderator

Re: Has anyone successfully implemented HTML5 Remote Program Options?

that is my guess as well; i was seeing that until i enabled that option on my server to allow the application to be started (local group policy>computer configuration>administrative templates>windows components>remote desktop services>remote desktop session host>connections>allow remote start of unlisted programs)
Tags (2)
Mumbo
Occasional Contributor

Re: Has anyone successfully implemented HTML5 Remote Program Options?

Thanks zanyterp

I've been working on this with support for weeks. I would not expect them to know it was a Windows setting, but I suggested they add that to their knowledgebase.

 
Tags (2)