How to install software without admin rights in Windows 10

Ivan Jenic
by Ivan Jenic
Troubleshooting Expert
Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and driver troubleshooting. When he's not tackling... Read more
Affiliate Disclosure
  • If you are wondering how to install software without admin rights, here's a simple method.
  • One cannot simply install software without admin rights due to security reasons.
  • The only thing you need is to follow our steps, a notepad, and some commands.
  • Keep in mind that only certain apps can be installed this way.
install software without administrator rights

You might often face the situation where you need to install software on a Windows 10 PC but you don’t have admin rights on that PC.

And without being an administrator, you cannot usually install software of any type in the respective device. This is intendend, since it’s an extra security measure.

While the above happens to be a security feature designed to prevent just about anyone to do anything with your PC, there sure is a workaround here.

Therefore, this workaround will let you install a software even if you are not the admin on the Windows 10 device.

How do I install software without admin rights on Windows 10?

  1. Download the software, say Steam that you wish to install on a Windows 10 PC.
    • It is recommended that you set the download location to the desktop for convenience.
    • Else, if it gets downloaded in the Download folder, as is the usual case, drag it to your desktop.
    • This is just for convenience and has no bearing on the actual process.
  2. Create a new folder on your desktop and drag the software installer into the folder.
  3. Open the folder and Right-click, then New, and Text Document.
  4. Open the text file you just created and write this code: set _COMPAT_LAYER=RunAsInvoker Start SteamSetup
  5. Here SteamSetup is to be replaced with the name of the particular installer that you wish to install.
  6. Save the text file with the .bat extension in the same folder location.
  7. For that, click on File, then Save As.
  8. In the Save As dialog box, replace the .txt file extension with .bat.
  9. Click on Save.
  10. Close the Steam.bat file.
  11. Now, you can double-click the setup and follow the guidelines.

Contrary to what you might be thinking, the process is really simple and easy. And its quick too. Here are the steps.

If you can’t create a new folder in Windows 10, then take a look at this step-by-step guide dedicated to creating new folders that will help you fix the issue.

Your next step will be to double click on the bat file to launch the installation process. Follow on-screen instructions and the software will get installed as usual. It’s that simple and easy.

If you’re interested in how to install unsigned drivers on Windows 10, read this article dedicated to installing unsigned drivers to get all the info that you need.

If you have any more questions or suggestions, don’t hesitate to leave them in the comments section below and we will certainly check them out.

This article covers:Topics:

Frequently Asked Questions

Leave a comment below!
60 comments
add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Avatar josue lara

i can’t find the save as thing in my file

Avatar Israel

Says Steam needs to be online to update. what do i do?

Avatar ter

i don’t understand this part “Here SteamSetup is to be replaced with the name of the particular installer that you wish to install.”

Avatar AmbiFTW

it means that if u want to download something else with these steps, then replace SteamSetup with the name of whatever you’re trying to install.

Avatar blake

the code should actually be

set __COMPAT_LAYER=RunAsInvoker
start SteamSetup.exe

if you get an error that it can’t write the file it is because it does not have access to anything outside of your user folder (i.e. C:Program Files). try to install steam to a local folder within your user account such as documents

Avatar tom

You’re an absolute genius – this works (03/02/2021)

Avatar David Miksic

Can you tell me if this works on league of legends and how do i do it please???

Avatar David Miksic

is this possible with elague of legends if anyone knows please reply how to do it i dont know.

Avatar CreepyCreo

YES IT WORKS

Avatar nOOB

thank you it worked 2021 febuary for my fav game, deltarune. my parents didn’t want me to install cuz i got bad grades when undertale was installed

Avatar John Smith

Windows displays error-
“Error opening file for writing:
C:Program Files(x86)SteamSteam.exe”

Avatar proGuest_0

You need to add a slash after the C: and after the (x86)

Avatar Jombo

Can i install Valorant with this steps ?

Avatar guest

the first set _COMPAT_LAYER=RunAsInvoker is wrong it should be set__COMPAT_LAYER=RunAsInvoker

Avatar A Dude With Minimal Programming Experience

This worked a long time ago (i remember using it on my dad’s pc). Seems like windows caught wind of it though. To be fair to the writer, it did work when they used it, but it’s kinda sad this is still up after weeks of people saying it’s faulty. Batch file most likely won’t be the way to go here-on-out, so good luck.

Avatar Chaitu1015

It does not work…..still asks me for admin rights

Avatar Achyuthan Nagaraj

Same here

Avatar Daniel Cheah

I hate it. It does not even work. AAARRRGGGHHH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻ I HATE MY DAD!!!!!!!!!! I CAN’T EVEN INSTALL RAINMETER!!!!!!!!!!!!!!! oh com on……………….

Avatar anomanoose

i know how you feel like i wish he would get rid of it but the reason i’ve got it on is that i downloaded a vrius on my old laptop
🙁

Avatar nevel.nu

didnt work for me either

Avatar Leyla

I’m a student and i have a school computer windows 10 and the admin had block everythig so yeah and i’m just 10

Avatar Dangleben

Ye, U could reinstall windows. Become admin urself :p

Avatar Cstreak

Does not work

Avatar okasha

opened unlimited amount of command prompts had to delete the text to fix it ahh don’t try this doesn’t work. 🙁

Avatar Leyla

It will work NOT IT DOES NOT SEEM TO WORK

Avatar micholas

yea same

Avatar A Dude With Minimal Programming Experience

tl;dr- user error, fix the name of what to run

That problem it caused by using your code(the .bat file) on the folder containing it. Defaultly, it should run whatever you use on it, but due to the way the code works, it uses the executable’s path (what folder your .exe is in) to do so, especially if you don’t have a specific name coded for what to run. It will run whatever has the name you put in first, but if there is no name to run, it will instead run whatever is in that file, in this case, itself. When it runs itself, the code for what to choose is already there since the value containing what to run is already occupied by the first iteration of the program. Think of it like a temporary slot for data. Since there is a program, in the eyes of the machine, currently using that value, it wont delete/replace it. Because of this, the new iteration (most recent copy of the .bat that is running)uses the value already there, thus causing an endless loop.

Avatar Doe

Does not work

Avatar Ozz

I was able to do all the steps but. it won’t run it pops up saying “Steam needs to be online to update. please confirm your internet connection and try again” I did the steps again and again and it still doesn’t work. why??

Avatar Timeless254

Very helpful…thanks

Avatar Darksol

Does not work for windows 10.

Avatar e

true

Avatar bruhm0ment

yeah i had to reinstall my pc ☹ and lose all my data

Avatar frud v

well ive always been able to install steam this way but thats really it.
im trying to get optifine With java so im trying to install java and optifine but it dont work

Avatar caveman101

it does not work on easy anti cheat on crossout

Avatar Dave

This does not work to download Java for Minecraft as well, despite the games name being taken up in the article

Please help

Avatar Akira

im confused by the save as a .bat file part

Avatar A Fellow BlackAsian

when it asks you to save it for example, insted of typeing, “AdminCheat” type “AdminCheat.bat” you dont have to call it AdminCheat, but u get what i mean right?

Avatar Jas

just set ‘.txt’ to all files and add ‘.bat’ at the end of the name of the file. However, I’ve tested this and it still gives you the prompt.

Avatar Rishivansh Patnaik

Instead of ‘_COMPAT_LAYER=RUNASINVOKER’ write ‘__COMPAT_LAYER=RUNASINVOKER’.
Basically just add another ‘_’ to the code mentioned by Ivan Jenic in this article. This worked for me.
Thank you so much.

Avatar Ace

What you said to write was the same the he said to write and you did not change anything in what you said to write… If just adding another ‘_’ where does it go? the front, end, middle, after first word, after LAYER, before the equal sign or after the equal sign???

Avatar joe

front

Avatar Bro!

Not workin’ and will never work!

Avatar .

Thank you

Avatar Ben W

still doesnt work for me

Avatar ????

does the Steps to install software without admin rights on Windows 10 also work on windows 10 education?

Avatar ie

same lol

Avatar ????

does this also work on windows 10 education?

Avatar Chris

Unfortunaly this doesn’t work. I follow the instructions but still the admin username and PW pops up when I run the BAT file… -_-

Avatar Fulson

Yes me also

Avatar ee

same

Avatar Ir. Sam

Hmm.. Me Too

Avatar kmtfaaam

that is because your admin is advanced and has blocked prompt invoker commands

Avatar Big

some software needs admin to install, this method simply skips the question

Avatar A Fellow BlackAsian

this is true, it use to work tho

Avatar me

Same also

Avatar Darksol

me too

Avatar Yr_Boi

they forgot to add another _. Should look like

set __COMPAT_LAYER=RunAsInvoker

start SteamSetup

Avatar joe

Can you help me cos u seem smart this is what my computer says Windows cant find bluestacks setup make sure you typed the name correctly and then try again

Avatar DON'T DO IT

NEVER DO THIS WITH A FONT OH GOD OH JESUS NO