Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

6184

August 12th, 2011 12:00

pnshell.cmd disabled

Hi,

In our RDS farm we disabled the execution of command files this is because of security reasons. But then pnshell.exe would'nt start to provision the icons of our applications.

What we did is adding the pnshell.exe to a GPO 'run these programs at user startup'. Becouse of running pnshell directly instead of via a command file we can't add the parameter /noapp (this is not posible in the GPO). Is there a other way to hide the pnshell box at user logon?

TIA

August 24th, 2011 09:00

Good Morning,

On the RDS server, open Regedit and navigate to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Create a new string value called Pnshell

Give this a value of

C:\Windows\syswow64\pnshell.exe /noprog

(Note that it is noprog that hides the progress, noapp would apply no application restrictions)

The reason I mention the noapp thing is that normally the CMD checks if you are an Administrator and doesn't apply the app restrictions if you are. There is a risk, if you use our app restrictions, that you could stop your admins from working too!

Enjoy, Andrew.

August 24th, 2011 10:00

Thanx Andrew,

This solved the case.

No Events found!

Top