Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. UAC: Don't be part of the problem

UAC: Don't be part of the problem

Scheduled Pinned Locked Moved The Lounge
htmlcomhelp
90 Posts 36 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Catalin Murariu

    Regardless, not irregardless! Irregardless is not even in the dictionary. Anyway, if the piece of software gets into production like that, it isn't even the developer**'**s fault, it's QA's fault for not testing the product on a restricted user account.

    Asynchronously daydreaming...

    I Offline
    I Offline
    IanPartridge
    wrote on last edited by
    #49

    Please tell me you're joking! Why is it always the testers fault? It seems to me that while developers, requirements managers and project managers are deemed to be human and therefore fallible - hence the existence of the QA department in the first place, testers have to be God-like and incapable of oversight. Last time I checked the QA team I was part of had introduced 0% of all defects in the application under test.

    1 Reply Last reply
    0
    • C Catalin Murariu

      Regardless, not irregardless! Irregardless is not even in the dictionary. Anyway, if the piece of software gets into production like that, it isn't even the developer**'**s fault, it's QA's fault for not testing the product on a restricted user account.

      Asynchronously daydreaming...

      S Offline
      S Offline
      snowlin
      wrote on last edited by
      #50

      As a technical writer, I could not resist! 4 results for: Irregardless[^] View results from: Dictionary | Thesaurus | Encyclopedia | All Reference | the Web Dictionary.com Unabridged (v 1.1) - Cite This Source ir·re·gard·less /ˌɪrɪˈgɑrdlɪs/ Pronunciation Key - Show Spelled Pronunciation[ir-i-gahrd-lis] Pronunciation Key - Show IPA Pronunciation –adverb Nonstandard. regardless. -------------------------------------------------------------------------------- [Origin: 1910–15; ir-2 (prob. after irrespective) + regardless] —Usage note Irregardless is considered nonstandard because of the two negative elements ir- and -less. It was probably formed on the analogy of such words as irrespective, irrelevant, and irreparable. Those who use it, including on occasion educated speakers, may do so from a desire to add emphasis. Irregardless first appeared in the early 20th century and was perhaps popularized by its use in a comic radio program of the 1930s. Dictionary.com Unabridged (v 1.1) Based on the Random House Unabridged Dictionary, © Random House, Inc. 2006.

      1 Reply Last reply
      0
      • C Catalin Murariu

        Regardless, not irregardless! Irregardless is not even in the dictionary. Anyway, if the piece of software gets into production like that, it isn't even the developer**'**s fault, it's QA's fault for not testing the product on a restricted user account.

        Asynchronously daydreaming...

        M Offline
        M Offline
        Machaira
        wrote on last edited by
        #51

        Depends on your dictionary :) http://dictionary.reference.com/browse/irregardless[^]

        1 Reply Last reply
        0
        • J Judah Gabriel Himango

          Ian Griffiths tells it like it is[^]. Excellent article.

          Tech, life, family, faith: Give me a visit. I'm currently blogging about: Torah Answers to Christian Questions The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #52

          I just noticed the little graphic in the UAC dialog box in the article has a little man jumping over a shark. Does anyone else find this mildy ironic? Definition of "Jump the Shark": http://www.urbandictionary.com/define.php?term=Jump+the+shark[^] Useage: "Microsoft really jumped the shark with Vista"

          Regards, Dave

          J 1 Reply Last reply
          0
          • J Judah Gabriel Himango

            Ian Griffiths tells it like it is[^]. Excellent article.

            Tech, life, family, faith: Give me a visit. I'm currently blogging about: Torah Answers to Christian Questions The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

            D Offline
            D Offline
            db_cooper1950
            wrote on last edited by
            #53

            Look, I don't know what I have done different but I run VS 2005 without upgrading my privlages and I do not receive any UAC messages. Yes, I am running SP1 with the Vista fix. The applications I develop do not bug users with unnecessary user elevation messages. So, am I doing something wrong? You folks sort of have me worried because I am hearing that most of you keep being driven nuts by the UAC and VS 2005.

            DB_Cooper1950 Either enjoy life, Or Hate Life, Just quit SITTING ON THE FENCE!

            J 1 Reply Last reply
            0
            • D db_cooper1950

              Look, I don't know what I have done different but I run VS 2005 without upgrading my privlages and I do not receive any UAC messages. Yes, I am running SP1 with the Vista fix. The applications I develop do not bug users with unnecessary user elevation messages. So, am I doing something wrong? You folks sort of have me worried because I am hearing that most of you keep being driven nuts by the UAC and VS 2005.

              DB_Cooper1950 Either enjoy life, Or Hate Life, Just quit SITTING ON THE FENCE!

              J Offline
              J Offline
              Judah Gabriel Himango
              wrote on last edited by
              #54

              I personally don't know. I'm still on XP, and have been developing with Visual Studio under a limited user account for 3 years now. I heard there are some problems running VS under Vista with UAC enabled. This MSDN article[^] covers it a bit.

              Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

              1 Reply Last reply
              0
              • L Lost User

                I just noticed the little graphic in the UAC dialog box in the article has a little man jumping over a shark. Does anyone else find this mildy ironic? Definition of "Jump the Shark": http://www.urbandictionary.com/define.php?term=Jump+the+shark[^] Useage: "Microsoft really jumped the shark with Vista"

                Regards, Dave

                J Offline
                J Offline
                Judah Gabriel Himango
                wrote on last edited by
                #55

                That's Ian's little addition, of course. :)

                Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                1 Reply Last reply
                0
                • T topcatalpha

                  He has a point there, but as administrator i couldn't delete the windows.old directory and other files from my HD... if they think i keep 3G just for fun on my HD they're wrong.

                  J Offline
                  J Offline
                  Judah Gabriel Himango
                  wrote on last edited by
                  #56

                  Then temporarily elevate yourself or a process (like cmd.exe) and delete the files. The point isn't "never elevate yourself as root/admin", but rather, develop your software so that it can run as non-admin. The best way to do this is run as non-admin yourself whilst developing your software, thus, you're immediately aware of any admin-related issues and can deal with them as they're developed.

                  Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                  T 1 Reply Last reply
                  0
                  • P Programit

                    Microsofts BIG security fix for windows - Annoy the users and blame the developers! UAC IS NOT A SECURITY FIX- MS even state that! So why not remove the annoyance and create secure programs from the start? - Linux can, Apple can, Microsoft can't!

                    J Offline
                    J Offline
                    Judah Gabriel Himango
                    wrote on last edited by
                    #57

                    Programit wrote:

                    Microsofts BIG security fix for windows - Annoy the users and blame the developers!

                    You're insane. Users running as non-admins is a big security boon. And MS is not blaming the developers -- Ian Griffiths does not work for Microsoft. But he's right nonetheless; devs should be building software that runs on non-admin accounts.

                    Programit wrote:

                    Linux can, Apple can

                    Both of those operating systems run users in non-admin mode. UAC is a way to help users and developers ween off the admin mode that's been prevalent for the last 10 years on Windows.

                    Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                    P 1 Reply Last reply
                    0
                    • H halfix

                      I agree with the statement of the article, but I believe the basic concept of UAC (do your daily work as a user, just elevate when needed) is not the main problem - nobody who calls himself an IT Pro can seriously disagree with this concept. I think it's more a problem with current implementation details of UAC that makes people hate it (e.g. not being able to share network connections and substs between user session and elevated session, confirm requests if applications are explicitly started with 'run as admin', always elevated start of some applications like regedit, ...) Gerd

                      J Offline
                      J Offline
                      Judah Gabriel Himango
                      wrote on last edited by
                      #58

                      I'm not running Vista yet (haven't since Beta 1), so I can't confirm what you've said, but if what you said is true, I would agree entirely that UAC could be done better.

                      Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                      1 Reply Last reply
                      0
                      • J Judah Gabriel Himango

                        Then temporarily elevate yourself or a process (like cmd.exe) and delete the files. The point isn't "never elevate yourself as root/admin", but rather, develop your software so that it can run as non-admin. The best way to do this is run as non-admin yourself whilst developing your software, thus, you're immediately aware of any admin-related issues and can deal with them as they're developed.

                        Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                        T Offline
                        T Offline
                        topcatalpha
                        wrote on last edited by
                        #59

                        i have to agree with that. :-)

                        1 Reply Last reply
                        0
                        • S SimonRigby

                          It's a bit difficult to decide who to reply to seeing as their are so many replies so I'll reply to OP but my comments are probably more centred on comments that have been made. I agree that developing in a restricted environment is a good way to find these permission issues early on. It really doesn't matter which side of the argument you sit on; but for example, I develop for one client who has a policy that all users run as "standard" users. For anything requiring "admin" rights a member of support will have to do this. I don't agree with it; I believe there are better ways of administering the policy but the bottom line is, if my software doesn't run as a standard user, I don't get paid :). Personally, I run as an admin. I think its a bad habit, but somehow I just haven't got over it :) but I have a machine on my network that is purely for testing (ie a set of VMs with standard accounts). Its odd how this seems a difficult habit to break in Windows, when I have absolutely no issue with running as a standard user in Linux. Just what you get used to I suppose.

                          The only thing unpredictable about me is just how predictable I'm going to be.

                          J Offline
                          J Offline
                          Judah Gabriel Himango
                          wrote on last edited by
                          #60

                          SimonRigby wrote:

                          Just what you get used to I suppose.

                          Precisely. Over time it will change on Windows; we're just used to 10 years of old habit. So is all the software out there; most software assumes an admin account. (I know this because I've been running under a limited XP account for 3 years now.) Now is the time to start breaking that bad habit. I think more managers will start asking, "why the hell is your application bugging me all the time with UAC popups?!" and apps will change over time, to the point that it will be easy to run as a standard user on Windows in 2-3 years. But for the time being, some developers just like to bitch and blame it on Microsoft. :)

                          Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                          1 Reply Last reply
                          0
                          • W WillemM

                            Excellent indeed, but there is one thing I need to add to this. I noticed that windows acts really weird with UAC turned off. Sometimes you get unexplainable errors. I had this with VS2005, copying files to the program files directory and more stuff. After turning on UAC again and right-clicking run as administrator solved the problem. So don't turn it off, it gives you a bigger headache then when you leave it on.

                            WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson

                            J Offline
                            J Offline
                            Judah Gabriel Himango
                            wrote on last edited by
                            #61

                            May very well be true, thanks.

                            Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                            1 Reply Last reply
                            0
                            • S Super Lloyd

                              I don't care about UAC, I have failed to be heated by all the noise it produce... Just press the button baby!

                              J Offline
                              J Offline
                              Judah Gabriel Himango
                              wrote on last edited by
                              #62

                              :-D

                              Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                              1 Reply Last reply
                              0
                              • R RedZenBird

                                Hey this computer belongs to ME! If I want to run all kinds of stuff at any friggen privilege level I want to then that is MY RIGHT. I am getting pretty alienated with M'soft forgetting that fact, and thinking the whole darn thing belongs to them and the friggen OS. Perfect example: I left my w/s running last night as I was late getting out of the office. When I came in today, windows update decided it just "HAD" to reboot my w/s .... My Gawd! Os-es-interruptus is getting too much in the way.... What I want is an application shipped from m'soft to protect me from *them* more than I'm worried about a program I purchased and *want* to use running at some so-called "admin level." This appliance is supposed to be a tool from which I benefit by use of, not some extension of some over hardened security dink that thinks they have any right to determine what I should allowed to do with MY GEAR without needing some "special permission" to do so....Come on, don't be so quick to buy the m'soft party line on this stuff.....They have lost their way....The more power ballman gets, the worse that company gets.....

                                Just trying to keep the forces of entropy at bay

                                J Offline
                                J Offline
                                Judah Gabriel Himango
                                wrote on last edited by
                                #63

                                Yes, the OS is interrupting. Reason? Software that you and me write is doing potentially dangerous things when it doesn't need to be. The point? Write software that doesn't require admin privileges. It's safer for users to run as non-admins; so let's not continue the unfortunate habit of writing software the requires admin privileges when it doesn't really need it. Honestly, it's not that hard.

                                Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                R 1 Reply Last reply
                                0
                                • S Shog9 0

                                  Judah Himango wrote:

                                  The point is, for the things that are under our control, let's not continue the unfortunate tradition of requiring admin rights.

                                  Yeah, i got that. :) The truth is, i've been writing code that doesn't need admin rights for years now. Since around the time XP came out, and i started getting calls from network admins telling me that the app wasn't playing nice with their beautifully configured user accounts. Went to a lot of effort tracking everything the app, satellite apps, and the installers touched during and after installation. And after all the code changes were in, there was still the big steaming pile of stuff i can't touch. So, the installer was modified to grant write permissions to the proper places, and instructions were written to aid the network admins in getting it all working. And now, years later, i'm still seeing 3rd-party engines rolling in that stomp all over the system. Sent a strictly-worded email just this morning to a supplier, asking them to fix their DLL. Do i think it'll happen? No, not really. Because i happen to know that the reason they're having this problem is because they have a 3rd-party library that writes these files wherever it feels like it. It's the library that came with the development tool they use. And i don't think i'll get very far encouraging them to migrate to another dev tool (not that it'll stop me...) So yeah. We have generations of developers who just don't know any better, generations of development tools that actively encourage this poor behavior, and an operating system that thinks a garish user interface and some sketchy compatibility shims are gonna fix everything. But sure, it's up to us. ;)

                                  ----

                                  i hope you are feeling sleepy for people not calling you by the same.

                                  --BarnaKol on abusive words

                                  J Offline
                                  J Offline
                                  Judah Gabriel Himango
                                  wrote on last edited by
                                  #64

                                  Ok, fair enough.

                                  Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                  1 Reply Last reply
                                  0
                                  • C Christian Graus

                                    Yeah, it's wireless and I need to run their connection program.

                                    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                                    J Offline
                                    J Offline
                                    Judah Gabriel Himango
                                    wrote on last edited by
                                    #65

                                    Ah, see? If your ISP would've listened to Ian, they would've developed their software to run under a limited account. ;P That really stinks, though. Can you run the process as admin? I do that under my limited account in XP when some apps do dumb things like write to protected locations at runtime.

                                    Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                    1 Reply Last reply
                                    0
                                    • Richard Andrew x64R Richard Andrew x64

                                      Judah Himango wrote:

                                      But now that home users have non-admin accounts by default

                                      Actually, users STILL have admin accounts by default. The default Vista account is an admin account. You only get a standard user account if you explicitly create one. Yes, even after all of the hype.

                                      -------------------------------- "All that is necessary for the forces of evil to win in the world is for enough good men to do nothing" -- Edmund Burke

                                      J Offline
                                      J Offline
                                      Judah Gabriel Himango
                                      wrote on last edited by
                                      #66

                                      Richie308 wrote:

                                      The default Vista account is an admin account.

                                      That's not true[^].

                                      “In Windows Vista we made numerous changes to our user account model. Standard users are now the default user type....

                                      Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                      Richard Andrew x64R 1 Reply Last reply
                                      0
                                      • V Vikram A Punathambekar

                                        That was what struck me first when I read his post. :laugh: He probably picked it up from Homer Simpson, although George Bush may have said that as well. :~

                                        Cheers, Vıkram.


                                        Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password: byalmightybob

                                        J Offline
                                        J Offline
                                        Judah Gabriel Himango
                                        wrote on last edited by
                                        #67

                                        Vikram A Punathambekar wrote:

                                        although George Bush may have said that as well

                                        He probably said it for stategery reasons. ;)

                                        Tech, life, family, faith: Give me a visit. I'm currently blogging about: A Torah-observer's answers to Christianity The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                        1 Reply Last reply
                                        0
                                        • H hswear3

                                          The reason that Microsoft made home users Admins is historical. Before Windows XP was released, all home users used Windows 9x/Me--operating systems that basically ran on top of MS-DOS and had absolutely no security at all. Most early OEM Windows XP installations also had their hard drives formatted with FAT32, not NTFS which is necessary for file security. So that old Windows 9x/Me and MS-DOS software had to run on Windows XP home or people would not have upgraded to it. Also for YEARS software had to be designed to run on both Windows 9x and Windows XP (Really Windows NT 5.1). And also, for YEARS, many IT departments also continued to use Windows 98 because the hardware for Windows XP was just too expensive. But I do blame Microsoft for rushing Vista out the door with a poorly implemented and tested UAC. Beta testers screamed when it was introduced near the end of the beta without time for proper testing. But they had promised Wall Street and the OEMs that Vista would ship. Major, major design mistakes made Vista late. The first was the attempt to base the file system on SQL. That caused the reset when they had to start over. Another was all of effort that went into AERO at the expense of security. Thankfully many of the people who pushed form over function are no longer part of Microsoft.

                                          Herbert N Swearengen III

                                          P Offline
                                          P Offline
                                          Patrick Etc
                                          wrote on last edited by
                                          #68

                                          hswear3 wrote:

                                          The reason that Microsoft made home users Admins is historical.

                                          I know, it's also exactly why the blame rests with Microsoft. The Unix permission system existed 30 years ago, so Microsoft can't claim they had no basis for comparison. They simply chose to build a system without permissions or security at all. I do agree that developers SHOULD be testing their applications on non-Admin accounts, and always should have been; but the culture of always having admin rights started with Microsoft. That's all I was saying :)


                                          Cheers, Patrick

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups