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.
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)
Please log in to answer
Posted by:
MSIPackager
15 years ago
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.
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
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.
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
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
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.
so that the conversation will remain readable.