Using set-acl to always run a program as an administrator ?

Welcome Forums General PowerShell Q&A Using set-acl to always run a program as an administrator ?

Viewing 4 reply threads
  • Author
    Posts
    • #165436
      Participant
      Topics: 7
      Replies: 33
      Points: 115
      Rank: Participant

      I’m trying to get set-acl to always run a program as an administrator ?

      Is there any way to translate all the files and settings of a program run as a standard user to an administrator, saving from re-installing and configuring the program when started as an administrator ?

    • #165448
      Senior Moderator
      Topics: 8
      Replies: 1215
      Points: 4,335
      Helping Hand
      Rank: Community Hero

      Its a Windows related question rather than a PowerShell one, you could also post this to

      https://windowsforum.com/

      https://forums.windowscentral.com/

      And StackOverflow

    • #165451
      Participant
      Topics: 7
      Replies: 33
      Points: 115
      Rank: Participant

      set-acl is powershell.

    • #165457
      Senior Moderator
      Topics: 8
      Replies: 1215
      Points: 4,335
      Helping Hand
      Rank: Community Hero

      If I understand it properly, you are trying to use Set-ACL cmdlet to set <some property> of files so that when ever the program opens all associated files are opens as admin ? so it would be some common setting (may be a registry key) or file property in Windows, If that setting is known, then it can be done via PowerShell.

    • #165505
      Participant
      Topics: 7
      Replies: 33
      Points: 115
      Rank: Participant

      If I understand it properly, you are trying to use Set-ACL cmdlet to set of files so that when ever the program opens all associated files are opens as admin ? so it would be some common setting (may be a registry key) or file property in Windows, If that setting is known, then it can be done via PowerShell.

      The program has to also be run as an Administrator along with all associated files; since I can’t isolate specific files within the program.

Viewing 4 reply threads
  • The topic ‘Using set-acl to always run a program as an administrator ?’ is closed to new replies.