Prerequisites
Description
I am unable to run the AtomSetup-x64.exe NuGet package from a user profile directory on 64-bit Windows 7 or 8.1 Professional. The computer has a Software Restriction Policy enforced via GPO that prevents running applications from user profile directories. Typically, permission to do so while logged in as a standard user is granted by right-clicking on file and selecting "Run as administrator."
I cannot tell if this is an issue with the Atom installer or with NuGet packages.
Steps to Reproduce
- Enable a software restriction policy on a 64-bit Windows 7 or 8.1 Professional computer with a default security level of disallowed. Set the enforcement properties to apply software restriction policies to all users except local administrators.
- Download AtomSetup-x64.exe and save to a directory in the user's profile, say "Downloads."
- Right click on AtomSetup-x64.exe and select "Run as administrator."
- Enter the credentials of a local or domain administrator.
- Accept the security warning by clicking "Run."
Expected behavior: Atom is installed in the current user's profile directory.
Actual behavior: A generic Windows Software Restriction Policy message is displayed, stating "Your system administrator has blocked this program. For more information, contact your system administrator."
Reproduces how often: 100%
Versions
Atom: 1.22.0
Windows: 6.1.7601 (Windows 7 SP1) or 6.3.9600 (Windows 8.1 Professional with Update)
Additional Information
I have tried to circumvent this error, as I have to with .MSI and .BAT files, by opening AtomSetup-x64.exe in an elevated Command Prompt or PowerShell. I have also tried using the --machine parameter. These workarounds are unsuccessful. I have not tested on 32-bit versions of Windows 7 or 8.1
Prerequisites
Description
I am unable to run the AtomSetup-x64.exe NuGet package from a user profile directory on 64-bit Windows 7 or 8.1 Professional. The computer has a Software Restriction Policy enforced via GPO that prevents running applications from user profile directories. Typically, permission to do so while logged in as a standard user is granted by right-clicking on file and selecting "Run as administrator."
I cannot tell if this is an issue with the Atom installer or with NuGet packages.
Steps to Reproduce
Expected behavior: Atom is installed in the current user's profile directory.
Actual behavior: A generic Windows Software Restriction Policy message is displayed, stating "Your system administrator has blocked this program. For more information, contact your system administrator."
Reproduces how often: 100%
Versions
Atom: 1.22.0
Windows: 6.1.7601 (Windows 7 SP1) or 6.3.9600 (Windows 8.1 Professional with Update)
Additional Information
I have tried to circumvent this error, as I have to with .MSI and .BAT files, by opening AtomSetup-x64.exe in an elevated Command Prompt or PowerShell. I have also tried using the --machine parameter. These workarounds are unsuccessful. I have not tested on 32-bit versions of Windows 7 or 8.1