Whenever you try to run any script, batch file or an executable from UNC path, it’s opening a Security Warning. Actually this will prevent you from running any application from network path.
If you are planning to deploy anything via script from network path, this security warning will prevent you from executing that.
But you can easily manage it from Domain Controller via Group Policy on Computer or User Configuration as per your requirement. Apply following GP Settings to disable this warning.
User/Computer Configuration>Administrative Templates>Internet Explorer>Internet Control Panel>Security Page
Then, double click on “Site to Zone Assignment List” and the following window will appear.
After Enable click Show… button and add the source IP and its value on that field.
Note: Value 1 for Intranet zone, value 2 for Trusted Sites zone, value 3 for Internet zone and value 4 for Restricted Sites zone.
After applying this GP setting you can run any script, batch file or executable file form that IP without any security warning.
On the same way you can add any site any site (FQDN)/IP to the Intranet Zone, Internet Zone, Trusted Site or restricted sites.
Disclaimer: All posts and opinions on this site are provided AS IS with no warranties. These are our own personal opinions and do not represent our employer’s view in any way.
This article currently have 38,984 views
This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.
THANK YOU!! 🙂
Thank you for taking the time to post this info.
No lucky.
Dialog still appears in Windows Server 2008 R2….
I have just tested it in my XP system, and it’s working fine, Will try it on 2008 soon, and will give u a update..
Hopefully it should work.
Add same on Computer & Users both, then GPUPDATE /FORCE or restart ur system, Hope it will work.
Thanks
Saugata
Worked perfectly, thanks!
Thanks 🙂
I have the same problem on 2008 R2 – setting the default group policy didn’t change anything…
I didn’t tried this on Win 2K8, so I am not sure, If you can explain you problem in details, then I might help you.