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: Setting up admin rights

17 Dec 2014   #1
jonnyhotchkiss

Windows 7 Ultimate 64bit
 
 
Setting up admin rights

hi!

I have been searching for some info.

My new PC doesn't exhibit the desired behaviour, but I don't know how to fix it.

On this build, when I run a command-prompt (even if I run cmd, without CTRL+SHIFT+ENTER), it starts elevated



This is nice, but what's really important is, whenever I run a batch that requires admin rights, it works.

Here's the prompt opening when I run attachtimmy



This (like many of the batch files) requires admin rights, and works, as if cmd.exe has been set to run in admin mode.

On both UAC is disabled (lowered to lowest setting), so I don't get pestered for permission...

I've looked at local sec policy, and built-in admin rights elevation, but it looks untouched



any ideas?

I know you can add "run as admin", but this is not the default action for batch files (on both systems default action is open).


My System SpecsSystem Spec
.
17 Dec 2014   #2
jonnyhotchkiss

Windows 7 Ultimate 64bit
 
 

UPDATE: I've checked the reg for instances of the "Layers" key, to see if this is how I've done it... no instances of "runasadmin" for cmd.exe

(tempted to do this if it just works... but would be really nice to ascertain how it's currently being achieved)

any processMonitor jedi's out there confirm if this could be determined using THE analysis tool?

this page speculates lots on why it "must be like this"... but, as none are the case for me, I assume it doesn't cover every scenario.

another mystery.
My System SpecsSystem Spec
Reply

 Setting up admin rights




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
"Unable to elevate to admin rights" error, when admin user
I am trying to download Adobe Digital Editions and I keep receiving the error message Unable to elevate to administrative rights, error 786 I am the admin! I have turned off the password, I have right clicked on the program and chosen 'run as admin'-then nothing happens. Any help would be...
Software
admin user lost some admin rights
I can't delete a file from the desktop. When I try, it says to get the rights from the specified admin user (which I'm logged on). The strange thing is that I still can create other users from this account (including admins). Any suggestion on what to do?
BSOD Help and Support
Admin rights?
My log-in was setup with Admin rights. But, in some circumstances I am asked for the Administrator and password...I thought Admin rights are universal if you setup your log-in as an Admin? An example is: While installing VLC I am being asked for the Administrator password and when I type my...
General Discussion
Why does every app need admin rights?
Hi, I upgraded this week from Win XP (via new install, formatted drive C) to Win 7 Home Premium, currently 6.1.7600 Build 7600. For years, I have followed a method of using the C: partition for the system, and D: and E: for my application data. C: and E: are two partitions on hard disk 1, a...
General Discussion
Admin rights and .exe
My school has taken away are admin rights and we can't download .exe's. I thought maybe there was a way to convert a .exe to.zip. I searched around but all the program to download but I needed admin rights. Please tell me a way to download the .exe's or convert them to .zip's.
General Discussion
Admin Rights
Windows 7 keeps giving me messages that I am not an admin user, but I am! Why?
General Discussion


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 21:57.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App