UAC: Don't be part of the problem
-
Ah, ok.
Judah Himango wrote:
If devs just write software that doesn't require admin priveleges -- honestly, it isn't that hard! -- this problem wouldn't exist.
Well, then please ask Ian: WHY DOES VS2005 UNDER VISTA TELL ME I SHOULD RUN WITH ADMINISTRATIVE PRIVILEGES BECAUSE SOME PARTS OF VS2005 WILL NOT WORK UNDER A NORMAL USER ACCOUNT??? Eh Ian? What say you to that? The very friggin' tool tells you to run as Admin!!! [edit]Oh, but I suppose one could argue that running VS2005 as admin is still different from running the app your developing with VS2005. While technically true, I feel that he is still making up excuses.[/edit] Marc
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh SmithI can't speak for Vista; I'm still on XP. I've been developing under XP using a limited user account for 3 years straight. Ian actually addressed your question in the blog post:
(It's true that Microsoft recently added to the confusion by recommending that developers run Visual Studio 2005 elevated. This doesn't in fact seem to be necessary for an awful lot of scenarios. I regard this recommendation as being just one more contribution to the problem...)
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
The only reason we have UAC at all is because of a cultural problem: many developers run as administrators on Windows. Is Ian trying out for the one-eared rabbit award? I think so. What a stupid statement. Developers are, what, .01% of all the users of Windows? And yet he says that we developers and our culture of running as administrators is the reason we have UAC? What a load of myopic horse manure. Marc
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh SmithMarc Clifton wrote:
What a stupid statement. Developers are, what, .01% of all the users of Windows? And yet he says that we developers and our culture of running as administrators is the reason we have UAC?
Could be, but I would be willing to bet that the number of people developing software is more than .01% developers.
Matt Newman
-
Marc Clifton wrote:
Well, then please ask Ian: WHY DOES VS2005 UNDER VISTA TELL ME I SHOULD RUN WITH ADMINISTRATIVE PRIVILEGES BECAUSE SOME PARTS OF VS2005 WILL NOT WORK UNDER A NORMAL USER ACCOUNT???
Did you read the F'ing article? Obviously you DID NOT!!
Matt Newman
Matt Newman wrote:
Obviously you DID NOT!!
I read it. I forgot he tried to brush off the "elevated" issue. Look. Ian is the master of spin. The real reason we have UAC and other OS's don't is because Microsoft makes an OS that is more vulnerable. It's that simple. It isn't because more people target it, or more people use it. It's that the code is crappier. The sooner he admits that, the better off we'll all be. Marc
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith -
I can't speak for Vista; I'm still on XP. I've been developing under XP using a limited user account for 3 years straight. Ian actually addressed your question in the blog post:
(It's true that Microsoft recently added to the confusion by recommending that developers run Visual Studio 2005 elevated. This doesn't in fact seem to be necessary for an awful lot of scenarios. I regard this recommendation as being just one more contribution to the problem...)
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
Judah Himango wrote:
Ian actually addressed your question in the blog post:
Yes. The "brush off" spin doctoring. Oh well. It's late, I'm tired and cranky, and obviously not in the mood to hear that the reason we have UAC is my g.d.f'ing fault. BS, I say. Marc
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith -
Judah Himango wrote:
Ian actually addressed your question in the blog post:
Yes. The "brush off" spin doctoring. Oh well. It's late, I'm tired and cranky, and obviously not in the mood to hear that the reason we have UAC is my g.d.f'ing fault. BS, I say. Marc
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh SmithMarc Clifton wrote:
Oh well. It's late, I'm tired and cranky, and obviously not in the mood to hear that the reason we have UAC is my g.d.f'ing fault. BS, I say.
:) Ok Marc. Here's to a better day tomorrow :cheers: :beer:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Matt Newman wrote:
Obviously you DID NOT!!
I read it. I forgot he tried to brush off the "elevated" issue. Look. Ian is the master of spin. The real reason we have UAC and other OS's don't is because Microsoft makes an OS that is more vulnerable. It's that simple. It isn't because more people target it, or more people use it. It's that the code is crappier. The sooner he admits that, the better off we'll all be. Marc
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh SmithMarc Clifton wrote:
Look. Ian is the master of spin. The real reason we have UAC and other OS's don't is because Microsoft makes an OS that is more vulnerable. It's that simple. It isn't because more people target it, or more people use it. It's that the code is crappier. The sooner he admits that, the better off we'll all be.
Late nite with Marc Clifton. I love it! :)
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Marc Clifton wrote:
Look. Ian is the master of spin. The real reason we have UAC and other OS's don't is because Microsoft makes an OS that is more vulnerable. It's that simple. It isn't because more people target it, or more people use it. It's that the code is crappier. The sooner he admits that, the better off we'll all be.
Late nite with Marc Clifton. I love it! :)
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
Judah Himango wrote:
Late nite with Marc Clifton. I love it!
It's not too different from regular daytime hours, you know. :) Marc
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith -
Matt Newman wrote:
Obviously you DID NOT!!
I read it. I forgot he tried to brush off the "elevated" issue. Look. Ian is the master of spin. The real reason we have UAC and other OS's don't is because Microsoft makes an OS that is more vulnerable. It's that simple. It isn't because more people target it, or more people use it. It's that the code is crappier. The sooner he admits that, the better off we'll all be. Marc
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh SmithMarc Clifton wrote:
It's that the code is crappier.
Pretty tall charge... Oh right, I forgot you were perfect now.
Matt Newman
-
Marc Clifton wrote:
It's that the code is crappier.
Pretty tall charge... Oh right, I forgot you were perfect now.
Matt Newman
Matt Newman wrote:
Oh right, I forgot you were perfect now.
For the next 10 minutes. Then I turn into a pumpkin. ;P Marc
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith -
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
Of course, my ISP won't let me connect with UAC active, I wonder how many other vendors will do that rather than work out their UAC problems ?
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 )
-
Of course, my ISP won't let me connect with UAC active, I wonder how many other vendors will do that rather than work out their UAC problems ?
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 )
Christian Graus wrote:
Of course, my ISP won't let me connect with UAC active
:omg::wtf: That's one of the biggest WTFs I've ever heard. Have you submitted it to thedailywtf yet? ;) Actually, there may be a reasonable explanation: do you have to run some ISP software to connect?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah 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
...that's a quick count of 3rd-party simulation / biz-logic DLLs are used by my app right now. These are written either by consultants hired by suppliers, or in-house by engineers. Most of them are not maintained, and of the few that have source available, it's almost always in rough shape, very, very difficult to build or fix. Some of them are over twenty years old, written in FORTRAN, and last compiled for Win95. Oh yeah, and most of them assume they have admin rights for one reason or another. Maybe they try to write or lock files in their installation directory, or maybe they try to write to HKLM registry keys. Doesn't matter. I can't change them, and i can't replace them. Wanna blame the developers? Yeah, me too. But it doesn't help to bitch at someone who's long gone. As luck would have it, i got wind of a support call today, an external user asking if they could run our app on Vista. So, tonight or tomorrow, i'll install it, running as a normal user with UAC enabled, and see just how many hoops i have to jump through to make it work. If UAC can stay on, then i'll pass that along. If it can't, then i'll describe how to disable it. If there are changes needed to the installer to throw the whole mess into some sort of compatibility mode, then i'll suggest them to the installer guy. If it's just too much trouble, i'll simply state that it won't run on Vista, and they'll just have to stick with XP for the time being. No big deal, really. Frankly, i couldn't care less if not a single one of them upgrades to Vista...
----
i hope you are feeling sleepy for people not calling you by the same.
--BarnaKol on abusive words
-
...that's a quick count of 3rd-party simulation / biz-logic DLLs are used by my app right now. These are written either by consultants hired by suppliers, or in-house by engineers. Most of them are not maintained, and of the few that have source available, it's almost always in rough shape, very, very difficult to build or fix. Some of them are over twenty years old, written in FORTRAN, and last compiled for Win95. Oh yeah, and most of them assume they have admin rights for one reason or another. Maybe they try to write or lock files in their installation directory, or maybe they try to write to HKLM registry keys. Doesn't matter. I can't change them, and i can't replace them. Wanna blame the developers? Yeah, me too. But it doesn't help to bitch at someone who's long gone. As luck would have it, i got wind of a support call today, an external user asking if they could run our app on Vista. So, tonight or tomorrow, i'll install it, running as a normal user with UAC enabled, and see just how many hoops i have to jump through to make it work. If UAC can stay on, then i'll pass that along. If it can't, then i'll describe how to disable it. If there are changes needed to the installer to throw the whole mess into some sort of compatibility mode, then i'll suggest them to the installer guy. If it's just too much trouble, i'll simply state that it won't run on Vista, and they'll just have to stick with XP for the time being. No big deal, really. Frankly, i couldn't care less if not a single one of them upgrades to Vista...
----
i hope you are feeling sleepy for people not calling you by the same.
--BarnaKol on abusive words
Shog, of course there are things out of our control. The point is, for the things that are under our control, let's not continue the unfortunate tradition of requiring admin rights. That way, in the year 2022 when Shog18 comes around and has to maintain dad's crappy code, he won't be forced to require admin privileges for his whole application. :) Now is the time to break the tradition; if you write code, don't require admin privileges.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Shog, of course there are things out of our control. The point is, for the things that are under our control, let's not continue the unfortunate tradition of requiring admin rights. That way, in the year 2022 when Shog18 comes around and has to maintain dad's crappy code, he won't be forced to require admin privileges for his whole application. :) Now is the time to break the tradition; if you write code, don't require admin privileges.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
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
-
Patrick Sears wrote:
The blame rests squarely on Microsoft's shoulders for not making the default account a USER account instead of an ADMIN account in all prior versions of Windows.
Perhaps. But now that home users have non-admin accounts by default, let's not continue the problem by continuing our unfortunate tradition of writing software that requires admin privileges.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
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
-
Christian Graus wrote:
Of course, my ISP won't let me connect with UAC active
:omg::wtf: That's one of the biggest WTFs I've ever heard. Have you submitted it to thedailywtf yet? ;) Actually, there may be a reasonable explanation: do you have to run some ISP software to connect?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
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 )
-
...that's a quick count of 3rd-party simulation / biz-logic DLLs are used by my app right now. These are written either by consultants hired by suppliers, or in-house by engineers. Most of them are not maintained, and of the few that have source available, it's almost always in rough shape, very, very difficult to build or fix. Some of them are over twenty years old, written in FORTRAN, and last compiled for Win95. Oh yeah, and most of them assume they have admin rights for one reason or another. Maybe they try to write or lock files in their installation directory, or maybe they try to write to HKLM registry keys. Doesn't matter. I can't change them, and i can't replace them. Wanna blame the developers? Yeah, me too. But it doesn't help to bitch at someone who's long gone. As luck would have it, i got wind of a support call today, an external user asking if they could run our app on Vista. So, tonight or tomorrow, i'll install it, running as a normal user with UAC enabled, and see just how many hoops i have to jump through to make it work. If UAC can stay on, then i'll pass that along. If it can't, then i'll describe how to disable it. If there are changes needed to the installer to throw the whole mess into some sort of compatibility mode, then i'll suggest them to the installer guy. If it's just too much trouble, i'll simply state that it won't run on Vista, and they'll just have to stick with XP for the time being. No big deal, really. Frankly, i couldn't care less if not a single one of them upgrades to Vista...
----
i hope you are feeling sleepy for people not calling you by the same.
--BarnaKol on abusive words
Yeah, remote capture of Canon cameras is dead in Vista, thus killing one of the apps I work on.
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 )
-
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
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
-
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
I don't care about UAC, I have failed to be heated by all the noise it produce... Just press the button baby!
-
But on Windows we have an unfortunate history of ordinary applications that demand admin privileges for no good reason. If the Windows development culture hadn’t gone down this road we would never have needed UAC.
This is the basis for his entire argument, and it sounds convincing, except that it is entirely wrong. The blame rests squarely on Microsoft's shoulders for not making the default account a USER account instead of an ADMIN account in all prior versions of Windows. Developers only ever developed to the admin account, because - TADA! - that's all the users ever used unless they were working in a corporate environment where the IT staff actually bothered to apply a group policy. Microsoft should NEVER have made the home users have an Admin account by default.
Cheers, Patrick
Patrick Sears wrote:
The blame rests squarely on Microsoft's shoulders for not making the default account a USER account instead of an ADMIN account in all prior POOR versions of Windows.
Fixed that for ya :)
"The difficulty lies, not in the new ideas, but in escaping from the old ones." -- John Maynard Keyes, 1936