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.
Security update informationTo resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to the following Microsoft website:
- This update was first included in the following security update:2838727 MS13-047: Cumulative Security Update for Internet Explorer: June 11, 2013
- For more technical information about the most recent cumulative security update for Internet Explorer, go to the following Microsoft websites:
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:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN
- Set the REG_DWORD value to 1.
PowerShell -ExecutionPolicy Bypass -File "c:\folder\subfolder\script.ps1"
Article ID: 2856739 - Last Review: Jun 11, 2013 - Revision: 1