/build/static/layout/Breadcrumb_cap_w.png

How to turn off XP Run...

On XP when I double click on an EXE from a vendor I get a window pop up that says: "Open File - Security Warning" "Do you want to run this file?"

1. How do you disable this?
2. Is it possible to run the same EXE via the CMD window and pass the EXE a parm that will silence this security warning?

Thank you.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: MSIPackager 15 years ago
3rd Degree Black Belt
2
If you want to disable it temporarily (just to launch the exe) you can use this:

reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations /v LowRiskFileTypes /t REG_SZ /d .exe

then this again once you've finished (although group policy should auto-refresh and restore the security automatically)

reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations /f

Hope it helps,
Rob.
Posted by: beefy66 15 years ago
Orange Belt
0
I have encounteres this before. You cannot edit any registry keys or pass any parameters to the exe in order to silence this. This information is stored within a different stream within the file.

If you goto the properties of the file however, towards the bottom you will see an 'UnBlock' button. Click this and you will no longer be prompted. You just need to make sure you use this copy of the file in your deployment.
Posted by: jcarri06 15 years ago
Senior Purple Belt
0
MH,

Is this happening when you run the .exe from a network share? If so, go into IE, select security, select intranet and click on sites. Then, check the "Include all network paths (UNCs)" option.

If this work, you'd have to look into modify your GPO (If you're in AD) to enable this setting.

Good luck,
J
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ