Skip to content

Avoid re-launch as a 64-bit process crash. #16

Description

@suprtnl

We've come across the issue that when the win32 app relaunches as a 64-bit process it crashes and doesn't even create the folder "$($env:ProgramData)\Microsoft\RenameComputer".
In order to solve that we've changed the Intune install command from:

powershell.exe -noprofile -executionpolicy bypass -file .\RenameComputer.ps1

to:

%windir%\sysnative\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File RenameComputer.ps1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions