Skip to content

Instantly share code, notes, and snippets.

@Fuwn
Last active May 30, 2024 17:27
Show Gist options
  • Save Fuwn/faf6dd3afe8d5a183d3d32713b0b49f4 to your computer and use it in GitHub Desktop.
Save Fuwn/faf6dd3afe8d5a183d3d32713b0b49f4 to your computer and use it in GitHub Desktop.
A simple Batch script to force install Steam without administrator permissions on Windows
cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" "SteamSetup.exe"
@ThunderBlitz03
Copy link

I have both Steam setup and the batch file, but when I double-click the batch file with this code, command setup pops up and closes just as fast as it appears and nothing happens afterward. Does someone know why this is? It doesn't even say that the file type is unsupported.

@ThunderBlitz03
Copy link

I am on windows 10 right now if that affects anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment