Assume that you use Internet Explorer 10 on a computer that is running Windows 8 or Windows Server 2012. When you use a symbolic link to run an .exe file or execute a script file, you receive a warning that says the file is untrusted.
For example, consider the following scenario:
You have an executable Windows PowerShell script file "testscript.ps1" in the c:\temp\textfolder folder.
In another folder, you make a directory symbolic link for the script file by running the following command:
mklink /d c:\temp2\textfolder c:\temp\textfolder
You set the PowerShell Execution policy to RemoteSigned.
You use a symbolic link to execute the script file.
In this scenario, PowerShell considers the script as "remote" and does not execute the script.
Security update information
To resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to the following Microsoft website:
If you want to run an .exe file by using a symbolic link, you can do the following to work around this issue:
Important Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.
Add a REG_DWORD value to the registry key that is named for your application (for example, MyApplication.exe) under the following registry key:
If you want to execute a PowerShell script file, you can set the execution policy for each script to work around this issue. For example, run the following command to set the execution policy for the PowerShell script file: