Linked Questions

176 votes
17 answers
839k views

How would I run the following command in windows: $ sudo django-admin.py startproject NEW ?
David542's user avatar
  • 112k
0 votes
1 answer
590 views

I have written a small Power Shell script which is installing certificate and appxupload file into the system but the problem is I want whenever user run the script it should run as admin mode. my ...
VIVEK's user avatar
  • 297
0 votes
1 answer
177 views

I need to run a file as administrator. When opening a file in cmd you write "start applicationhere" and it starts, but it starts without administrator. Is it possible that I run a file ...
Snabba_Snigeln's user avatar
0 votes
0 answers
143 views

I looked at "PowerShell Running as Administrator not working?" but I must be missing something... I need to run on Win 10 (PS version 5.1). The purpose of my powershell script '...
Martin Haggarty's user avatar
3002 votes
46 answers
5.2m views

I am trying to run a cmd file that calls a PowerShell script from cmd.exe, but I am getting this error: Management_Install.ps1 cannot be loaded because the execution of scripts is disabled on this ...
Conor's user avatar
  • 30k
201 votes
12 answers
982k views

I have this line inside my BAT file: "Example1Server.exe" I would like to execute this in Administrator mode. How to modify the bat code to run this as admin? Is this correct? Do I need to put the ...
karikari's user avatar
  • 6,847
130 votes
15 answers
240k views

I have been running VMware for the last year no problems, today I opened it up to start one of my VM and get an error message, see screen shot. I did follow the link and went through the steps, on ...
Gman's user avatar
  • 2,453
59 votes
8 answers
160k views

Whenever I need to run a powershell script it complains of security, if I add powershell.exe -nologo -executionpolicy bypass -File .\install.ps1 I still get permission denied ...
eri0o's user avatar
  • 2,470
22 votes
5 answers
23k views

I am trying to download a Docker image from AWS and following the instructions at AWS I'm running: (Get-ECRLoginCommand).Password | docker login --username AWS --password-stdin aws_account_id.dkr.ecr....
sashoalm's user avatar
  • 80.5k
11 votes
2 answers
30k views

I'm trying to create bat script that can start PowerShell script named the same as bat file in proper working directotry. This is what I got: @ECHO OFF PowerShell.exe -NoProfile -Command "& {...
Hooch's user avatar
  • 29.8k
7 votes
3 answers
52k views

I need to set up the delivery of a program installer. This program has a program_installer.exe and a folder that i cannot include in the installer at the time in which i create the installer. ...
NoobTom's user avatar
  • 555
1 vote
3 answers
52k views

I want to run this powershell script with admin privileges so it won't give me the error: Script Output with error Here is the script: $processes = "PDStyleAgent", "AdobeIPCBroker",...
Sarim Bin Waseem's user avatar
3 votes
1 answer
12k views

I am getting below error while running any powershell script. It's happening on only one of the client's servers. I am not sure what is triggering this command. If I change this registry key from ...
Kushal Solanki's user avatar
2 votes
3 answers
19k views

I've seen multiple questions on this topic and some answers about runas but none of them was sufficient... I need a Windows command to upgrade privileges of a terminal after it has already been opened ...
Menas's user avatar
  • 1,289
3 votes
2 answers
8k views

I'm trying to use the following code from th question "PowerShell: Running a command as Administrator" to not only self elevate my script to run automatically in an Administrator-level PowerShell, but ...
Ikrananka's user avatar

15 30 50 per page