Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Run autorun.inf as Administrator

11 Apr 2013   #1

Windows 7 Home Premium SP1 64-bit
 
 
Run autorun.inf as Administrator

Greetings,

I'm trying to install the software that came with my HP Photosmart R967 camera. I am the only user on this laptop, so it is an administrator account.

When I insert the CD, I get an error message that says that I must "log on a Administrator". How can I run the autorun.inf file an as administrator?

Thanks,
Shane.

My System SpecsSystem Spec
.

11 Apr 2013   #2

Windows 7 Ultimate x64
 
 

Automatically, autorun.inf will never be run as administrator, for security purposes (it has been and still is one of the greatest security flaws in Windows). What it does is just to run another program, and that other program seems to require administrator rights.

Just open the CD drive with Windows Explorer and look for a setup.exe, or install.exe or something like that, that is the actual program pointed out inside autorun.inf, then run that as administrator.
My System SpecsSystem Spec
12 Apr 2013   #3

Windows 7 Home Premium SP1 64-bit
 
 
autorun.inf

Quote   Quote: Originally Posted by Alejandro85 View Post
What it does is just to run another program, and that other program seems to require administrator rights.
autorun.inf is unusually large (5,562 lines). It eventually calls the setup.exe program; however, skipping autorun.inf and running setup.exe first causes the installation to fail.

Is there a way to run autorun.inf with administrator privileges?

Thanks,
Shane.
My System SpecsSystem Spec
.


12 Apr 2013   #4

Windows 7 Ultimate x64
 
 

Normally autorun.inf should be very small, just specifying the icon for the CD drive and the program to run automatically, and barely anything else. Most often when I see larger files I just can think about viruses hiding in it. The only program that really matters is the one pointed out in the autorun file, which is the actual installer and is the one that must be run as admin (and ideally should be manifested as such).
The autorun.inf file isn't executable to begin with, so it can't be run at all (as admin or not). It just contain metadata to launch something else on drive insertion. That "something else" is what can be run as admin.
My System SpecsSystem Spec
12 Apr 2013   #5

Windows 7 Home Premium SP1 64-bit
 
 
Autorun.inf

Norton AntiVirus didn't find any viruses in autorun.inf.

Autorun.inf is a text file (not an executable), however it is run from AutoPlay.

Autorun.inf points to two executable files: setup.exe and hpzSetup.exe. It looks like everything else are options or variables that are being passed to the setup program. I've renamed it to a .txt extension and uploaded it, if you wanted to take a look at it.

Thanks,
Shane.


Attached Files
File Type: txt autorun.txt (295.5 KB, 12 views)
My System SpecsSystem Spec
12 Apr 2013   #6

Windows 7 Home Premium x64
 
 

The autorun file seems to have lots of tasks predefined in it so running just the setup.exe might not do the trick. Anyway, did you try right clicking the setup.exe file and clicking "Run as administrator?"

Also, you may temporarily enable the builtin admin account in Windows, login using it, install the software and disable it back.

Here's how, if you're interested:

Click start - right click Computer - click Manage - now expand "Local users and groups" on left pane and the click "Users" - on the right pane you will find an "Administrator" with description "Built-in account for administering the computer/domain" - double click it and uncheck "Account is disabled" and click OK.

Now log off and you'll find a new account - log into it and install the software. Now go back to your main account and check back "Account is disabled" to disable that "super admin" builtin account.
My System SpecsSystem Spec
12 Apr 2013   #7

Windows 7 Ultimate x64 SP1, Windows 8.1 Pro x64
 
 

I would go here and get the latest software. (it is for VISTA but might work)

HP Photosmart R967 Digital Camera*-* Download drivers and software - HP Business Support Center
My System SpecsSystem Spec
13 Apr 2013   #8

Windows 7 Home Premium SP1 64-bit
 
 

Running setup.exe as Administrator gives me the following error:



Computer Management didn't have a Local users and groups in the left pane, but I was able to find instructions elsewhere. Unfortunately, logging in with the hidden Administrator account still gave me the same error:



I will try downloading the software from the HP website.

Thanks for the suggestions.

Shane.
My System SpecsSystem Spec
13 Apr 2013   #9

Windows 7 Home Premium x64
 
 

Make sure you don't use the "Run as admin" option while you are in the hidden admin account, just let it autorun.
My System SpecsSystem Spec
14 Apr 2013   #10

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

Shane, did you try it with UAC turned off?

User Account Control - UAC - Change Notification Settings

A Guy
My System SpecsSystem Spec
Reply

 Run autorun.inf as Administrator





Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 01:18 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33