• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

IE Security Setting - allow .exe command on users PC

Hi All,

I want to allow all our users access to Remote Assistance.

I've set everything up and it works well.

Now I just an easy way for our users to access each other.  Below is the command to initiate a remote assistance to a specific computer.

C:\Windows\System32\msra.exe /offerra pcname

Is there a way I can get IE to run this command?

I have full access/control over there PC's so can make any changes to facilitate it.

Many thanks
  • 2
1 Solution
Where exactly is msra.exe located? On the client machine or the server?
detox1978Author Commented:
ah, they store the executable on the server and load it via the browser using header.  Quite a neat way of doing it.

here's the code on the link in case it's taken down/moved;

$filename = 'ra.bat';
$htmlcode1 = "C:\windows\System32\msra.exe /offerra ";
/*$somecontent = $htmlcode1.$_POST["tofile"].$htmlcode2;*/
$somecontent = $htmlcode1.$_GET["PC"];
!$handle = fopen($filename, 'w');
fwrite($handle, $somecontent);

header("Cache-Control: public");
header("Content-Description: File Transfer");
header("Content-Length: ". filesize("$filename").";");
header("Content-Disposition: attachment; filename=$filename");
header("Content-Type: application/octet-stream; "); 
header("Content-Transfer-Encoding: binary");



Open in new window

many thanks
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now