About 6,990 results
Open links in new tab
  1. Run with Powershell and as administrator - social.technet.microsoft.com

    May 11, 2011 · When right-click a .ps1 file and select "Run with Powershell", the .ps1 file will be run in powershell with no elevation. And "Run this program as administrator" checkbox grayed out in the …

  2. Set-ExecutionPolicy Unrestricted -force

    Feb 3, 2012 · Based on my test, we should open powershell and run as administrator, and type the command to set the execution policy.

  3. Run the powershell script as administrator and in Sharepoint …

    Does anyone know what to enter in my script to make it automatically run as administrator and in the Sharepoint management pwoershell? My script contains code that needs it to run as an …

  4. Get product keys of local and remote systems

    I have run powershell with administrator rights, and i have tried it on several servers.... We are running Windows 2008 R2

  5. What effect does "run with highest priviledges" in task scheduler have ...

    If I open a DOS box or Powershell prompt as the regular user, ie, not using Run as administrator, I can manually run the script without getting any errors or UAC prompts. I have explicitly configured the …

  6. Calling a CMD Shell variable from PS Shell

    Oct 25, 2013 · I want to run this batch as administrator. It works fine when UAC disabled. But when UAC enabled I can not run PS script. Because PS script needs administrator privileges. And because of …

  7. netsh command without run as administrator

    Aug 4, 2020 · Is it possible to run netsh command without the build-in administrator or runas administrator? Have to run netsh command with an account which has local admin privileges (user is …

  8. Error connecting to Teams with PowerShell - social.technet.microsoft.com

    Step2: run “Install-Module MicrosoftTeams” in powershell, at the prompt type “Y” and press Enter;If you are prompted for untrusted repository, type A (for Yes to All) and press Enter.

  9. run elevated command prompt (or application) as another user

    I ended up starting a command prompt with "Run as administrator" and then from the elevated command prompt I performed "runas /netonly /user:UserAccount PowerShell_ISE.exe". This allowed …

  10. Executing a program with elevated privilegies

    So i decided to create a powershell script to deploy the application. I've acomplished the installation via script, but only when the user has administrator privilegies. So here's my question: i need to run this …