"Run as Administrator" not Elevating/Asking for Password properly

I've got a weird issue on a Windows 7 x64 Professional that was installed and distributed (17 times) by someone else. All request to run with Elevated Rights are completely ignored.
When I try to run Programm Elevated with Rightclick->"Run as Administrator" they are instead started as the User I am currently logged in as. I have to manually relog (logout, login) as Administrator in order to do stuff I normally would do with
"Run as Admin".
There is no UAC question, no Dialog to input the Admins Password/Select the user, no automatic elevation - it just executes as the current user, even if that is a Standart User.
If any process would normally ask for elevated rights (anything marked with the Admin Right Shield thingy in Windows Explorer) it instead runs as normal user and (of course) runs into lack of rights down the road, sooner or later.
Haven't checked how Programms with a Manifest that requires Elevation behave yet, but I guess it is the same.
Parts that might be relevant:
The UAC is disabeled (set to not ask anything/lowest setting)
Two accounts: Admin Type account named "sheriff" (instead of default name) and Standart User Type account "User". The Guest account is disabeled.
While UAC is off, unless I am very mistaken "Run as Administrator" should still work while logged in as a limited Standart User type. After all it has been around a lot longer then the UAC.
Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

Was a while since I posted here and I think I understand the problem a lot better now. Couldn't actually solve my problem (this would require setting the UAC back online wich is explicitly not wanted), but it still might be helpfull for others:
Elevating as Adminsitrator (under Vista and later) needs two Components:
runas - a Commandline Command that has been around since XP and whose sole purpose is to start Programms under other rights then the current user.
In order for it to work the "Secundary Login" Windows Service must be running during Login of the current user. Enabling it or disabling it after a login will have no effect.
And it will fail silently (not telling you it failed).
UAC - normally you need it to surpress the Admin aspect. In my case it was not neded for that from a Security Standpoint. What I have here was a suiteable set of Credentials for Windows XP style Security: limited normal User, Administrator with non-standart
name and password.
What I would have needed from the UAC (and get on all the other Computers where it is online but we still have limited users) was it's ability to detect wich User to elevate too. The UAC is needed to "Find the Admin". And it cannot do that if set to "not inform".
Under XP the "Run as"-Explorer Option was designed to let you select the user. Always.
Under Vista, 7 and 8 it's renamed "Run as Adminsitrator" and the UAC autodetects wich user to Elevate towards. If the UAC is not running the menu Explorer Context Menu Option, the Runas Modifier for .NET Process and Manifests have no idea wich Usercontext they
should run under. And never even try to elevate.
The only way to elevate on such Computers is to relog as Administrator or use Runas on Command Line with explicit naming of the User you want to use.
Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

Similar Messages

  • MBP not consistently asking for password when opening lid

    While I'm an IT consultant with 30+ years in the PC world, I'm relatively new to the Mac world having just bought my first Mac, a rMBP 13" Late 2013.  While I tend to be pretty decent with troubleshooting, I'm having a sporadic issue with it that I'm not sure how to solve.
    My desire is to have the unit always ask for a password whenever the lid is opened. 
    The problem is that about one out of every ten times, when I open the lid on the Macbook it just unlocks and goes straight to the desktop without asking for a password.  Being in IT, and frankly maintaining a lot of confidential/security information for my clients, I'm hesitant to take this unit out of the office until I can resolve this issue once and for all.  9/10 times it opens up to the lock screen and asks for my password, which is what I want.  But three times in the past week, it has opened straight to the desktop, ready for use.  This is a security concern--if the unit is stolen I don't EVER want anyone to be able to log into it and see the data on it.  But if it's just opening straight to the desktop it circumvents that protection.
    Under Security and Privacy, I have "Require password 5 seconds after sleep or screen saver begins" set, along with (grayed/checked) "Show a message when the screen is locked" and "Disable automatic Login" set.  Each of the times I've noticed the lack of password has been after the lid was closed for a while, definitely more than an hour.  Earlier today, it happened after te notebook had been closed for at least several hours.  It's happened both with the power connected, and running on battery.
    Any ideas?  Thanks.

    If after you set the Require Password immediately and it still doesn't ask for the password then your Mac is not going into Sleep mode when the lid is closed. I have seen this happen on my 2011 model after it has been running for days, sleeping and awake for those days. I'lll close the lid at night or when I leave for work and the front white light will come on but not flash, on for a few seconds then off for a few.
    A restart fixes it but I never had this problem when Lion or Mt Lion were installed. Only since going to Mavericks. I haven't checked it lately since 10.9.2 but I will. I usually shut it down now when I know I'm not going to use for a period of hours.

  • Outlook 2011 for MAC keeps asking for password

    Outlook for MAC 2011 keeps asking me for google password.  It wont accept what i put in.  The password is correct along with name because it works when I enter it in google.  I recently updated password.
    Need help in fixing or finding problem.
    Error message:  Mail could not be received at this time.
    The server for account Gmail returned the error (authentification failed) invalid credentials.
    Failure:  You username/password or security settings may be incorrect.
    But they are correct as I can logon to Google without problem.
    Could it have anything to due with two stage security in google?
    Nick

    Hi Steve,
    Thanks for this-yes, eventually, I do send/receive fine, once I've poppedd my passwords in. 
    I think you are right in that BT seem to be having unique server/login issues...at least this is what I've read elsewhere too.
    Iroonically, this AM I opened my new Mac and have *not* been asked for passwords so perhaps the changes I made in the settings yesterday (keychain reset in Mac) and also changing it from smtp.....to mail.btinternet.com solved the issue...who knows? All I know is this last week I've nearly lost the will to live on more than one occasion, from the transition from PC Windows Live Mail to Outlook for Mac.

  • Startup asking for password never asked before

    Why would my imac ask me for a password, never did before. At startup shows my pitcher  and below to login. On bottom center of window has shutdown, restart etc...the backround looks like the mission controll backround color silver or grey, I have my computer set not to ask for password.

    Open the Users & Groups pane of System Preferences and turn automatic login off and back on. Also ensure it's not disabled in the Security pane and that FileVault isn't enabled for your account.
    (61499)

  • How do I move files from my iMac to my Airport without getting 'AirPort can not be modified' message. File sharing is enabled and I'm not getting asked for a password. Thanks

    How do I move files from my iMac to my Airport without getting 'AirPort can not be modified' message. File sharing is enabled and I'm not getting asked for a password. Thanks

    What OS are you running.. this is usually only a problem in Mavericks.
    If so I recommend you mount the hard disk manually..
    Use Go, Connect to server.
    Type in the IP address if static.. eg
    AFP://10.0.1.1
    Or the name.. but you will have issues unless the name is short, no spaces and pure alphanumeric.. if you are using bad names.. fix it by a full factory reset in airport utility and give it all names that comply to the above.
    Type in
    AFP://TCname.local Where TCname is replaced with the actual name.
    You will be asked for the password the first time which is public unless you changed it.. please remember to save this in the keychain.
    Copy files then to a new directory you create on the TC.. do not place files inside the TM sparsebundle. Nor directly under the main directory.

  • Mail keeps asking for password and icloud setting do not load in system preferences

    Hi,
    I have a mac mini server with mavericks, i have 2 iMacs as clients running mavericks too, when i use iMac (A) mail app and icloud work fine, them i take iMac (B) and mail app start asking for password , it just won't take the password, icloud do not load and cannot use anything else on system prferences because it locks system preferences, i need to force quit system prefrences , so I return to iMac (A) and i get same behaivor as iMac (B), i would appreciate your help for finding a solution for this.
    All network users get the same behaivor, local users do not get this behaivor.
    Thanks
    Hector

    Hector;
    I have the same problem. The solution is to log into your client, open Keychain, run Keychain First Aid under file menu. If it fails to find your keychain, note the path, mount the disk that it is looking for, and rerun.
    In short, you need to have the disk that your keychain is sitting on mounted. While your user account is mounted, Maveriks cannot match the reference path. Looking like a bug.
    Example:
    my folder sits on a second disk on server. It is properly setup in the mavericks server.
    On the server, it is locally referred to as: /Volumes/my_disk/Users/my_user. I can log in to mail on the server when I log in with my user name.
    In the workgroup manager, the same location is referred to as:
    afp://my_server.local/Users/my_user (or smb)
    /Network/Servers/my_server.local/Volumes/my_disk/Users/my_user
    So this is the network path. So the client should be looking for that. But instead, it looks for the local disk, which is not mounted as such. In other words, it looks for:
    /Volumes/my_disk/Users/my_user/Library/Keychains
    instead of
    /Network/Servers/my_server.local/Volumes/my_disk/Users/my_user/Library/Keychains
    To eliminate this problem, you mount the volume on the client, so it can find. I will keep the editorial to myself, but this is not quality software.
    Ali

  • I have tried to download adobe flash on my macbook safari but it keeps asking for password to allow download and the one i put in is not allowing, anyway around this password stuff

    apple keeps asking for password when i am downloading adobe, how do i get around this

    You have to be an administrator to install stuff.
    If you do not know the an administrator's password then reset the password
    OS X Lion>: How to Easily Reset the Administrator Password

  • Not able to open mail from my mac, gmail repeatedly asking for password. but using same password able to open gmail on safari

    not able to open mail from my mac, gmail repeatedly asking for password. but using same password able to open gmail on safari

    okay well they got me to take out some .plist files to see if that would help it didn't. I'm not sure what ones that they deleted for my self maybe someone here would be abel to tell you what ones to take out but didn't work the one that came close to working was this going into keychain and deleting the account(s) then reading them again.
    if you are to do this please back up first with Time Machine. You can do this with a usb drive.
    Okay so go back to where you had internet accounts and make sure mail is shut. click the - on the account your having problems with then quit system preferences.
    Okay so then press cmd and space bar at the same time then type 'keychain access' into the search then click on 'keychain access'
    once it is open go to the top of the window and put your email address that you are having problems with.
    once you have put in your full email, have a look at what comes up i deleted things in the kind colome with 'internet password' and anything with under name that had smtp.gmail.com or imap.gmail.com so it would look like this, map.gmail.com - internet password.
    right click and delete them. make sure not to touch any other files that dont say them things on them.
    Once you have done this quit keychain access and then restart the computer, once the computer is restarted go back to system preferences and internet accounts and re-add the account.
    Hope this helps. if something is not clear just ask.

  • Cant update apps. asks for password for another account i had on a dell notebook. either i forgot the pass word or its not taking it. i can download apps,music with present mac note book but not apps. how can i update apps on my mac and iphone 4?

    cant update apps on my mac or iphone4. asks for password for another account i had on a dell notebook. either i forgot the pass word or its not taking it  . i can download apps and music.  how can i update apps on my mac and iphone 4?

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

  • I changed my password on Airport Express and now can't connect in iTunes. It does not ask for password ,I just see trying to connect and it fails. How do I enter new password in iTunes when it just keeps trying to connect ?

    When I select the Airport Express as Remote Speaker in Itunes I just see trying to connect and it can't connect.
    I changed my password on the Airport and I don't see where I can put in the new password in Itunes.
    This problem is on my Imac. On my Mac Pro a window came up asking for password to connect because it was the first time.
    I can connect on the Mac Pro but not my Imac.

    Update on my problem connecting in Itunes with my Airport Express. Not sure if anything I tried made a difference
    but I finally got the Pop up window saying this device requires a Password. I entered the password and I can once again use the Airport Express as a remote speaker.

  • Pages 5.2 file is password protected but doesn't ask for password and is locked and not accessible.

    MacBook Pro, OS X 10.9.2, Pages 5.2
    File is password protected but when I go to open it I'm not asked for password and therefore the file can't be opened.  It shows up in the list of files as locked.  I have opened this file with the password many times, but now I can't open it.

    I just got it to work...sorry for the message!

  • ICloud keeps asking for password but will not take it. All other devices work but not my IMac???

    ICloud keeps asking for password but will not take it. All other devices work but not my IMac???

    Exactly which password are you inputting? iCloud looks for your AppleID password.

  • Keeps asking for password when trying to purchase photobook and will not let me proceed - help!

    Iphoto will not let me purchase photo book. Keeps asking for password . Help!

    What iPhoto are you referring to?  iPhoto for iOS or iPhoto on your Mac?

  • How come I'm not asked for password for every app purchase, app auto downloads once I tap install, not good when my kids start buying apps because they are not asked for password, help!!

    How come I'm not asked for password for every app purchase, app auto downloads once I tap install, not good when my kids start buying apps because they are not asked for password, help!!

    Thank you for the help, have sorted it through Restrictions in General settings now : )
    No more mysterious app purchases on my c.card now thank god !!
    You would think they would set as default that Password was required - Imediatly . But they know there likely to get more purchases the way the default set it..
    Thanks again for prompt reply!!!

  • HT4623 on updation to 7.0.6 the instrument is asking for password and I have not been able to remember the pass word

    Dear Sir,
    On updation to 7.0.6 the  i phone (4S) is asking for password, which I am not able to remember. The regular password I have for phone is incorrect, it says. Please help me in this

    Here you go: http://support.apple.com/kb/ht1212.
    Also, is it asking for your Apple ID password, or the device's passcode?

Maybe you are looking for

  • Can an Apple TV support multiple PC at the same time?

    My boss and I were wondering if an Apple TV could help us in a specific situation. Let's say we are having a meeting and we are 3 in the room.  Alternatively, each of us will have to present some slides / share our PC Screen.  Today, we have to unplu

  • I am trying to upgrade to the new iTunes but..

    Hello, My brother got a new iPod for Christmas and it says that we need the newer version of iTunes. I've tried to upgrade but it will not let me because the network resource that im trying to use is unavailable. I don't know if maybe somehow the fil

  • Production Database Crashed

    Dear Members let see a scneario i have a primary database and a standby database my production database crashed how can i recover my standby database until last comitted transaction. how can i get imy transactions from online redo logs which were on

  • Dbms_scheduler.Create_Scheduler Usage.

    Hi all, I am using 10.2.0.4.0 version of oracle. i am supposed to migrate all the Oracle jobs(DBMS_JOBS) to SCHEDULER format in my DB. Below is an example of a job which runs each day at 5 AM. I have coded the start_date value such that, i can execut

  • Put query iresults n tables and columns

    hello , i have this query and should display but i need it to be in a cells like rows and columns . just like a ecxel spread sheet but only in html. here is the code. what do i have to add to make this happen? thanks in adv <cfquery name="GetCompanie