Thursday 29 August 2019

windows 7 - how to run a command with admin priviledges when I don't have admin account on my Win7 computer


I am trying to open cmd with admin priviledges. That's because when executing a command I received a message that I don't have sufficient priviledges to run this command (mklink).


The problem is that I don't see an admin or Administrator account on my Win7 computer. When I go to Control Panel -> Accounts -> Manage other account, there are only 3 accounts:



  • MyName

  • ASP.NET Machine Account

  • Guest


MyName account is of type Administrator, so I think it should have administrative priviledges. That's the account I am currently logged in. However, for some reason, it is not sufficient to run mklink command.


How to solve this problem?



Answer



You need to run the cmd.exe program as administrator. Find the cmd.exe program and right-click on it, select Run as administrator.


enter image description here


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...