Kevin Dente's Blog

The Blip in the Noise
Vista Update - No UAC for you, one year!

Unfortunately, I've had to disable UAC on my Vista install. I was hoping to run with it enabled, at least for a while, so I could grok the issues of developing with and for it. Sadly, it seems somewhat broken on my machine. As I described previously Most of my Control Panel applets, as well as some other apps (like RegEdit) simply failed to run with UAC enabled, displaying a "path not found" error. A few I could work around using Run As Administrator, but in many spots I didn't even have that option.

I'm assuming what was supposed to happen was that an elevation prompt was supposed to be displayed (I don't have a clean install of Vista to compare against, so I can't say for sure). If anyway knows a way to fix this problem, drop me a line. Until then, no soup for me.

Published Friday, December 15, 2006 8:13 PM by kevindente

Filed under:

Comments

# re: Vista Update - No UAC for you, one year!@ Saturday, December 16, 2006 8:13 PM

I'm with you. UAC seems to be brokenon Vista Upgrades. Applications either won't run or hang, presumably waiting for UAC permission.

Jon Galloway

# re: Vista Update - No UAC for you, one year!@ Sunday, December 17, 2006 2:19 AM

Vista is nothing but a Unix wannabe and it don't get it right. Just revert like everyone else will.!

PS. I'm a Microsoft guy at heart.

Chris Martin

# re: Vista Update - No UAC for you, one year!@ Monday, December 18, 2006 9:12 AM

Not having any problems with Vista and UAC. All my code is working fine, able to debug, multithreaded apps are fine, socket servers working perfectly. A programs seem to forget some settings - seems to be related to registry write permissions or something...

Karl

# re: Vista Update - No UAC for you, one year!@ Wednesday, December 27, 2006 5:32 AM

An interesting thing I have just noticed after several hours of banging my head on the wall with the VS 2005 debugger is this:

VS2005 runs debugging apps in Vshost as always..Well the vshost runs wiith admin priv. Therefore, when you try to drag and drop from explorer to the app under the debugger, UAC silently prevents the drag and drop.  You see, explorer is running with low priv...my app with high (cuz of VSHOST)..Therefore, this is a bad privledge escalation, and thus it must be prevented.

WOW...I could have got to sleep much earlier tonight, but I am stubborn.

I finally figured it out when I ran my app without the debugger, it worked just fine.....HMM..my app is running with lowest privledge possible by default when its not in VSHOST.

DAMN...That sucks..

Frank Busalacchi Jr