Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Unable to install Atom on Windows with Software Restriction Policy enabled. #16185

@rchildress87

Description

@rchildress87

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

  1. 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.
  2. Download AtomSetup-x64.exe and save to a directory in the user's profile, say "Downloads."
  3. Right click on AtomSetup-x64.exe and select "Run as administrator."
  4. Enter the credentials of a local or domain administrator.
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions