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: Elevated Program Shortcut - Create for Standard User

03 Mar 2014   #180
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by adamf View Post
Note that the Administrator account must not be disabled or the shortcut stops working until it is enabled again.
Hello Adam, and welcome to Seven Forums.

Yes, that would be correct. Since the shortcut uses the password of the built-in Administrator to approve running it elevated, it would fail to run if the built-in Administrator account was disabled.

I'll add a note to the tutorial to help prevent this. Thank you.


My System SpecsSystem Spec
.
27 Mar 2014   #181
rj8994

Cheshire
 
 
Error 740

HI,

When I run my shortcut as the admin user I get an error 740: The requested operation requires elevation.

I have not logged back in as the std user I was just testing it as the admin.

What did I do wrong?

Machine is Win 7.

Cheers
My System SpecsSystem Spec
27 Mar 2014   #182
Brink

64-bit Windows 10 Pro
 
 

Hello RJ, and welcome to Seven Forums.

Did you use runas with the built-in Administrator account for the target location of the shortcut?
My System SpecsSystem Spec
27 Mar 2014   #183
rj8994

Cheshire
 
 
Sorry Yes I worked out it had to be the administrator account

Sorry Yes I worked out it had to be the administrator account not just an administrator account :-)

Thanks for the post v informative.

I don't suppose you know if it works on Terminal server. I dont want to give admin rights to the users.

Would the same process apply?
My System SpecsSystem Spec
.

27 Mar 2014   #184
Brink

64-bit Windows 10 Pro
 
 

Great news.

I'm afraid that I don't know how it will work on Terminal server either.
My System SpecsSystem Spec
09 Jun 2014   #185
exus69

Windows 7 32bit
 
 

Hello,

I noticed that I can run any program requiring Admin rights under SUA which is on the local hard drive but this does not work with programs on pen drives!! Strange!

Has anyone tried this successfully? Also I was able to run the programs with newly created Admins as well not just built in Admins.

Win 7 Ultimate
My System SpecsSystem Spec
09 Jun 2014   #186
exus69

Windows 7 32bit
 
 

Hi Brink,

I just checked its NTFS but assuming if it was FAT32 it shouldn't have any problems running the runas command but still it doesn't work. The black box simply disappears. There's no typo since the same procedure works perfectly for programs on the hard drive.

Have you tried running them from usb drive?
My System SpecsSystem Spec
09 Jun 2014   #187
Brink

64-bit Windows 10 Pro
 
 

Hello Exus,

I just tested this with a standalone exe file on a USB flash drive, and it works just fine. It doesn't matter if the USB flash drive is FAT32 or NTFS.

It sounds like you may have not typed the password in correctly. To test, remove the saved credential for the shortcut in Credential Manager, and run the shortcut again to be prompted to enter the password again, and see if it may run properly afterwards.
My System SpecsSystem Spec
10 Jun 2014   #188
exus69

Windows 7 32bit
 
 
Problem Solved

Hi Brink,

Ok I just tested using the Built-in Admin account and everything is working fine. I was facing problems using the newly created admin accounts. I was hesitant using the built-in Admin account since its not considered a safe practice to keep them enabled. Maybe securing the builtin admin with a strong password seems to be the only viable option. Anyways thanks alot for your help
My System SpecsSystem Spec
10 Jun 2014   #189
Brink

64-bit Windows 10 Pro
 
 

You're most welcome.

Ah, that's why then. It'll only work with the built-in Administrator.

Yeah, if you use a strong password, it'll help keep out unauthorized access. If you like, you could also rename the "Administrator" account to something that people wouldn't think it was the built-in Administrator by just looking at it. If you rename, you'll need to recreate the shortcuts using the new name though.

Built-in Administrator Account - Change Name
My System SpecsSystem Spec
Comment

 Elevated Program Shortcut - Create for Standard User




Tutorial Tools Search this Tutorial
Search this Tutorial:

Advanced Search




Similar help and support threads
Windows 7 Tutorial Category
Elevated Program Shortcut without UAC Prompt - Create
How to Create an Elevated Program Shortcut without a UAC Prompt in Windows This will show you how to create an elevated "Run as administrator" shortcut of any installed program using Task Scheduler so that it will not give you a UAC prompt for permission when you start it while still having...
Tutorials
Task Manager - Create Elevated Shortcut
How to Create an Elevated Task Manager Shortcut in Windows 7 This will show you how to create a elevated Task Manager shortcut that will "run as an administrator" in Windows 7 when opened. It will open as if you clicked Show processes from all users in the default Task Manager. You will...
Tutorials
Standard user requires admin PW when using elevated command
I have a file to clear the print spooler when it has an error. I based this file on Brinks tutorial. Thanks Brink. I placed this file in C:\windows\system32 folder so all users would have access. The file must be run in a elevated cmd window. I then created a shortcut to the file and put the...
General Discussion
Creating an Elevated Program Shortcut for Search Everything Program.
I`ve done this successfully for SpeedFan, but I`m having a problem with doing the same for the Search Everything program. I`ve been through the tutorial steps several times now, the task executes successfully,( I checked it with command prompt box) but nothing happens. /c start "SpeedFan"...
Software
Run as Different User Shortcut - Create for Specified Program and User
How to Create a Shortcut to Run a Program as a Specified User This will show you how to create a Run as different user shortcut that will run a program specified by you as a specified user on the Windows 7 and Vista computer. The user account that you want to run the program as must be...
Tutorials
Question on "How to Create a Elevated Program Shortcut ..."
The solution (Shawn) in the thread How to Create a Elevated Program Shortcut without a UAC Prompt (http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html) ends with 24. When you run this new elevated shortcut, you will now no longer have...
System Security


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 14:09.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App