Daily Source of Tech


Why run cmd as administrator? | UAC, Integrity level & Access Tokens



Ever seen a new application giving you pop ups to give it access to different kinds of files in your computer? It is asking because the files it is trying to access has a higher privilege that its current privilege. Today, We will be covering UAC, integrity privilege and access token while answering why you might need to run cmd as an administrator.

UAC (User Account Control)

Pop-ups/prompts given to us are Windows way of asking whether we should give access to applications asking for access. You can control the pop-ups by viewing the UAC(User Account Control) settings by changing the notification levels.


Pop-ups are like apps asking for privilege to edit/use your files. Sometimes we might want to allow the app to have access whereas other times we might not want to allow them, especially if they are malware. There are integrity levels set by MS in default such that not all access is granted to everyone.

Integrity Levels

Different types of integrity levels:

  • Untrusted Integrity
  • Low Integrity
  • Medium Integrity
  • High Integrity
  • System Integrity
  • Trusted Installer

What are these integrity levels?

Untrusted Integrity are given to applications that are not authentic. Low Integrity are given to browsers. Medium Integrity are for us users. High Integrity is administrator level. System Integrity and Trusted Installer can be used by MS only.

Important files have requirements of access. For example, every files contain access token which has an integrity level requirement. If the integrity level requirement is High Integrity then it means all levels below it can not access it unless they have admin privileges.

Read more on integrity levels

Remember: MS in default does not recommend you to use admin privileges due to potential exploits. So, give admin level privilege to applications you trust.

Before, we answer and summarize our topic, lets see different ways we could open command prompt.

Ways to open cmd as administrator

Step 1: Open cmd normally without any administrator privilege. You need administrator password for this. Type in the following code to open another window to run as administrator.

runas /user:administrator "C:\WINDOWS\system32\cmd.exe"

cmd admin

Step 2: Open windows search box in bottom left corner. Search “cmd”, right click and select app to run as administrator.

cmd admin

Step 3: Press “ windows key + r” to open run box > Type “cmd” > Press “control + shift + enter”. (Accept the prompted access)

popup uac

Why do we need admin privileges in cmd?

Finally, we need admin privileges to counter these problems of integrity levels set by MS while accessing different types of files through cmd. Without admin privileges we are unable to edit, execute and view files depending on the access token and it’s integrity level requirements. Remember with admin privilege you will have unrestricted access. Therefore, it might be better to use it minimally. 

Read our other cmd tutorials!

Comments (96)

  1. chloroquine phosphate cvs chloroquina

  2. Nice post. I was checking constantly this blog and I’m impressed!
    Very helpful information particularly the last part 🙂 I care for such info much.
    I was seeking this certain information for a very long time.

    Thank you and best of luck.

    Area 52 Delta 8 THC – Area 52 Delta 8 THC

    Area 52 Delta 8 THC – delta 8 THC area 52

    Area 52 Delta 8 THC – Area 52 delta 8 carts

    delta 8 THC for sale area 52 – delta 8 THC area 52

    buy delta 8 THC area 52 – delta 8 THC area 52

  3. Hi it’s me, I am also visiting this website regularly, this site is truly pleasant and the users are genuinely sharing fastidious thoughts.

    buy delta 8 THC area 52 – buy delta 8 THC area 52

    buy delta 8 THC area 52 – buy delta 8 THC area

    buy delta 8 THC area 52 – area 52 delta 8 THC products

    delta 8 THC for sale area 52 – delta 8 carts Area 52

    delta 8 THC area 52 – Area 52 Delta 8 THC

  4. Good post. I learn something new and challenging on blogs I stumbleupon every day.
    It will always be exciting to read through articles from other authors and practice something from their websites.

  5. of course like your web site however you need to take a look at the spelling on several of your posts.

    A number of them are rife with spelling issues and I find it very troublesome to inform the reality on the other
    hand I will surely come again again.

  6. cialis go generic buy cialis 36 hour online cialis for pulmonary fibrosis

  7. canadian customs pills vitamins canadian customs pills vitamins

  8. buy erectile dysfunction pills online erectile master

  9. I am genuinely glad to read this blog posts which carries tons of helpful information, thanks
    for providing such data.

  10. naisten cialis canadian online pharmacies is cialis bad for kidneys

  11. cialis generique francais cialis blood pressure buy cialis online italy

  12. buy sildenafil from india sildenafil generic us

  13. vardenafil hcl 20mg tab vardenafil cvs

  14. Northanger Abbey Youtube Holly Black Mold

  15. best viagra pills 25 mg canada pharmarcy canada pharmacy viagra

  16. David Copperfield Book Message Larry Mcmurtry On Writing

  17. Hello there, I do believe your blog could be having browser compatibility issues.
    Whenever I take a look at your web site in Safari, it looks fine however, if opening in IE, it has some overlapping issues.
    I simply wanted to give you a quick heads up!
    Besides that, wonderful site!

    delta 8 carts Area 52 – delta 8 carts Area 52

    delta 8 carts Area 52 – Area 52 Delta 8 THC

    buy delta 8 THC area 52 – delta 8 THC for sale area 52

    delta 8 THC for sale area 52 – delta 8 THC for sale
    area 52

    delta 8 THC for sale area 52 – delta 8 THC area 52

  18. I loved as much as you will receive carried out right here.
    The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get got an impatience over
    that you wish be delivering the following.

    unwell unquestionably come further formerly again as exactly the same nearly a lot often inside case you shield this

    Area 52 Delta 8 THC – Area 52 Delta 8 THC

    Area 52 Delta 8 THC – delta 8 THC area 52

    delta 8 THC area 52 – area 52 delta 8 THC products

    delta 8 THC area 52 – delta 8 THC for sale area 52

    buy delta 8 THC area 52 – delta 8 area 52

  19. I will immediately grab your rss as I can not find your e-mail subscription link or newsletter service. Do you have any? Kindly let me know so that I could subscribe. Thanks.

  20. tadalafil daily use tadalafil 60 mg for sale

  21. canadian pills pharmacy canadian diet pills

  22. zithromax indication zithromax tab

  23. aloprostadil alprostadil prices in canada

  24. steroids prednisolone compare prednisolone prices prednisolone acetate ophthalmic suspension cost how far apart should i take ofloxacin, prednisolone and prolensa

  25. clomid online usa [url=]prescription online clomid [/url] iui success rates with clomid where can i buy clomid 100mg

  26. doxycycline and marijuana buy doxycycline 100mg pills doxycycline with or without food how much does doxycycline cost for dogs

  27. prednisolone cycling performance [url=]prednisolone cost [/url] should liquid prednisolone be refrigerated what can i put my child’s prednisolone in so that they will take it

  28. I like this post, enjoyed this one thanks for putting up.

  29. malarone vs doxycycline [url=]doxycycline 100 mg cost generic [/url] doxycycline vs azithromycin sinus infection how long to have lyme to take doxycycline

  30. clomid serm buy clomid without a prescription when should i start taking clomid when can you take clomid

  31. zithromax otc [url=]buy generic zithromax [/url] can you drink alcohol while taking zithromax where can i purchase azithromycin

  32. zithromax walgreens zithromax 600 mg tablets where to buy zithromax uk what is azithromycin used for 250mg

  33. too much lasix [url=]buy laxis with mastercard [/url] renal scan with lasix washout a healthcare professional is reviewing the history of a patient who is about to begin furosemide

  34. lasix trade name furosemide drug brand name furosemide 40 mg what is it for explains why furosemide is administered to treat hypertension?

  35. amoxicillin and acetaminophen [url=]amoxicillin 850 mg price [/url] can amoxicillin cause c diff how much amoxicillin should i take for an abscessed tooth

  36. ventolin wiki [url=]albuterol for daily use [/url] how much are ventolin inhalers how much is ventolin inhaler without insurance

  37. amoxicillin class amoxicillin 30 capsules price can amoxicillin be used for uti how long does it take for amoxicillin to work for uti

  38. ventolin 90 mcg combivent respimat spacer allergic reaction to albuterol inhaler how does albuterol work in the body

  39. I open it then something pops up saying:. . Firefox has stopped working.. Windows can check online for a solution to the problem.. . So can anyone help to fix it?.

  40. Book Finder Can’T Remember Title Arthur Rackham Goblin Market

  41. payday check advance loudon tn payday loan spread over 12 months real estate commission cash advance

  42. hello!,I really like your writing so a lot! percentage we communicate more approximately your article on AOL?
    I need an expert in this space to unravel my problem. May
    be that’s you! Having a look ahead to look you.

  43. It is not my first time to go to see this web site, i am browsing this site dailly
    and get fastidious information from here all the

  44. virgin money home loans calculators what is a cash advance charge cash advance 34744

  45. use cialis promise coupon orlando fl cialis funny cialis malaysia

  46. optimum time to take cialis does cialis help breathing cialis $0.92

  47. Howdy! I’m at work browsing your blog from my new iphone 3gs!
    Just wanted to say I love reading your blog and look forward to
    all your posts! Carry on the outstanding work!

  48. canadian rx canadian pharmacy reviews fda approved canadian online pharmacies

  49. [url=]cialis overnight shipping[/url] what effect does cialis have

  50. cialis super active aarp recommended canadian pharmacies online pharmacy india

  51. pharmacy online drugstore canadadrugsonline prescription cost comparison

  52. canada drugs direct canadian pharmaceuticals pharmacy drug store

  53. canadadrugs pharmacy canadian pharmacy without prescription prescription drug assistance

  54. cialis daily elily best price for cialis 20mg shopping for cialis

  55. canada pharmacy online australian viagra viagra trial packs without prescription

  56. free viagra samples canada viagra online using paypal australia side effects of viagra super force

  57. mexican online pharmacies viagra to buy online best online pharmacy

  58. Wow! Thank you! I always needed to write on my site something like that. Can I include a fragment of your post to my site?

  59. I read this post completely regarding the resemblance of newest and earlier technologies, it’s awesome article.

  60. Thank you, I’ve recently been looking for information about this subject for a while and yours is
    the greatest I’ve found out so far. However, what concerning the conclusion? Are you positive concerning the

  61. Hello, Neat post. There is an issue together with your site in web
    explorer, may test this? IE still is the marketplace chief and a big component of people
    will miss your excellent writing because of this problem.

  62. I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on few general things, The web site style is perfect, the articles is really excellent : D. Good job, cheers

  63. Hello there I am sߋ excited Ι found youг site, I reaⅼly fօund yoᥙ by mistake, ᴡhile I wwas
    searching ᧐n Aol fօr ѕomething eⅼse, Regarɗless I аm
    here now annd would just ⅼike to say kudos fοr
    a marvelous post and a ɑll rond thrilling blog (Ι alѕo love tһе
    theme/design), Ӏ don’t have time to read it all at tһe momentt but І hаve saved it and alѕo added your RSS feeds, ѕo when Ӏ have time I wull bbe
    bacxk to read more, Please do keеp uρ tһe excellent job.

    Can Υou Heгe іs my webpage :: judi togel

  64. This is very interesting, You’re a very skilled blogger. I have joined your rss feed and look forward to seeking more of your magnificent post. Also, I have shared your web site in my social networks!

  65. who treats erectile dysfunction does erectile dysfunction ever

    erectile method
    erectile dysfunction pills
    cvs ed meds

  66. I am pleased that I detected this web blog, exactly the right information that I was looking for! .

  67. Have you ever thought about adding a little bit more than just your articles? I mean, what you say is fundamental and everything. But think of if you added some great images or videos to give your posts more, “pop”! Your content is excellent but with pics and videos, this blog could definitely be one of the best in its niche. Excellent blog!

  68. A few things i have observed in terms of personal computer memory is that often there are specific features such as SDRAM, DDR and so on, that must match the specific features of the motherboard. If the pc’s motherboard is kind of current while there are no operating system issues, modernizing the storage space literally normally takes under sixty minutes. It’s on the list of easiest personal computer upgrade treatments one can visualize. Thanks for sharing your ideas.

  69. Can i buy viagra over the counter in south africa sildenafil buy from canada

  70. Amazing! This blog looks exactly like my old one! It’s on a totally different subject but it has pretty much the same layout and design.

  71. This blog was… how do I say it? Relevant!! Finally I have found something which helped me. Kudos!

  72. I enjoy, cause I discovered exactly what I was looking
    for. You have ended my 4 day lengthy hunt! God Bless you man.
    Have a nice day. Bye

  73. Hi, of course this paragraph is in fact nice and
    I have learned lot of things from it about blogging.

  74. I’m not sure why but this weblog is loading extremely slow for me.
    Is anyone else having this issue or is it a issue on my end?
    I’ll check back later on and see if the problem still exists.

  75. Very rapidly this site will be famous amid all blogging viewers, due to it’s good posts adreamoftrains web hosting

  76. Thanks for another informative site. Where else may just I am getting that kind of info written in such an ideal way?
    I’ve a undertaking that I’m simply now running on, and I have been at the glance out for such info.

  77. This information is priceless. Where can I find out more?

  78. What’s up to every one, the contents existing at this web
    page are in fact remarkable for people experience, well, keep up
    the good work fellows.

  79. Greetings from Colorado! I’m bored at work so I decided to check out your website on my iphone during lunch break.
    I love the knowledge you provide here and
    can’t wait to take a look when I get home.
    I’m shocked at how quick your blog loaded on my phone ..

    I’m not even using WIFI, just 3G .. Anyhow, awesome site!

  80. It is in point of fact a nice and useful piece of info. I’m
    happy that you simply shared this helpful info with us.
    Please keep us up to date like this. Thanks for sharing.

  81. Hello, Neat post. There’s a problem together with your website
    in web explorer, could test this? IE still is the market leader and a huge component
    of other people will miss your great writing because of this problem.

Comment here