Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Framework install w/o admin rights

Tags:

c#

.net

I'm developing a C# WinForms app with VS2010 and its target audience are kids ages 8-14. I estimate about 30% of my users will not have administrative access on their computers, and therefore will not be able to install my app without having their parents install it for them.

Is there any way I can have the .NET Framework install without requiring administrative rights, or somehow bundle the required .NET components with my app? I'm currently developing for .NET Framework 4, but I could easily change my code up to have it work with .NET 2 or 3.5, if needed.

like image 843
Andy Haden Avatar asked Dec 30 '10 23:12

Andy Haden


People also ask

Can I install Visual Studio without admin rights?

For reasons of security, the administrator permissions are required when installing Visual Studio.

Can you install something without admin access?

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, such as Steam.

How do I bypass UAC without administrator?

We can force the regedit.exe to run without the administrator privileges and suppress the UAC prompt. For that, we simply drag the EXE file we want to start to this BAT file on the desktop. Then the Registry Editor should start without a UAC prompt and without entering an administrator password.


1 Answers

I recommend against trying to develop a program for kids that explicitly tries to get around administrative access just because parents would have to get involved. Parents SHOULD be involved in the software kids install on their computers.

like image 196
Dave Swersky Avatar answered Oct 01 '22 01:10

Dave Swersky