Heya lads,
I installed Windows 10 on my wee cousin's new computer and forgot to make an administrator account for him. So he asked me to change it for him and when I was about to do that, I saw he had already installed Steam, Game Maker Studio 2, Photoshop and a whole bunch of other applications.
I asked him how he had done that with a regular user account and he showed me this .bat file he made with the following string inside:He drags whatever .exe that requires admin rights and this basically circumvents authentication.Code:cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" "%1""
I had no idea it was so easy to bypass security. How does one impede others from installing unwanted software on e.g. public computers or whatever? Not that I will ever make use of such functions, but I'm just curious.
My cousin is 10 by the way. That little rascal is getting smarter by the day.