Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

March 27, 2008 12:00 AM

Letters@windowsitpro.com

Windows IT Pro
InstantDoc ID #98306
Rating: (1)

Vista UAC Workaround
Michael Otey mentions the annoyance of frequent User Accounts Control (UAC) prompting in his Top 10 column (“Windows Vista Annoyances,” January 2008, InstantDoc ID 97490). I share his pain. However, I’ve found an interesting fix for the UAC problem.

The reason for all the prompting is that the application in question is being started by the desktop shell (explorer.exe). Winlogon.exe starts explorer.exe as a nonadministrative process. If you can get explorer.exe to run as an administrative process, any application that it starts won’t get the UAC prompt. One solution is to create a file named ElevateExplorer.cmd with the following two lines:

 taskkill /F /IM explorer.exe
  start C:\Windows\explorer.exe

Then, create a shortcut icon on your desktop to execute ElevateExplorer.cmd, and set its properties to make it run in the context of an administrator. Now, each time you log on, double-click the ElevateExplorer icon. Of course, the invocation of ElevateExplorer.cmd will cause a UAC prompt. However, once ElevateExplorer. cmd is finished running, it will have killed the copy of explorer. exe that was running as a nonadministrator and will have started a new explorer.exe instance, which will now be running as an administrator.

Using this method, all the applications that you start from either the desktop, Start menu, or task bar will run as an administrator—with no UAC prompt. This state stays in effect until you log off. If you want to revert back to the normal mode, just log off and log on again. —Ron Wright

PowerShell’s Virtues
I read Robert Sheldon’s “Power- Shell 101, Lesson 1” (February 2008, InstantDoc ID 97742), and I think it’s great that Windows IT Pro is bringing the virtues of Microsoft’s PowerShell to light. I’m an Oracle DBA who just finished migrating to Windows. In my former UNIX environment, I used scripting heavily because it was both a time saver and a necessity when scheduling tasks via CRON. I do rely on GUI tools to some extent, but I still prefer the speed and simplicity of scripts. PowerShell is now a key part of my migration methodology. The ease of scripting at an object level along with the plethora of cmdlets gave me the opportunity to develop and implement new tools for my environment that are far more powerful and flexible than anything I had with UNIX. Combining PowerShell with Oracle’s command-line tools has let me create SQL and RMAN scripts on-the-fly to perform reporting, maintenance, service monitoring, and backup tasks quickly and easily. Drop your batch scripts, and move to PowerShell. It truly rocks! —Stephen Morgan

We appreciate your feedback, Stephen. Stay tuned as Robert Sheldon continues his series of six PowerShell 101 articles. You can tackle Lesson 3 in this issue, page 39. And Robert has already begun writing a Power- Shell 201 series! —Amy Eisenberg

Too Much Server 2008 and Vista
I love your magazine, but lately it seems you’re covering only Windows Server 2008 and Windows Vista. These are cool products, but how much of your reader base actually plans to install/use them in the next few months? Shouldn’t you dedicate some pages to existing software such as Windows Server 2003 and Exchange Server? I need articles that can help me with my current environment. —Robert Singer

Thank you for writing. You’ve touched on one of the most difficult parts of our job as editors. In every issue, we try to balance coverage of new technology with solutions you can implement today. At the same time, we want to include both novice and advanced topics and topics that are appropriate to small, medium, and large IT environments. Incidentally, when we surveyed our readers in September 2007, 14 percent of survey respondents had installed the Server 2008 beta at their workplace. Nearly 40 percent of survey respondents noted that they planned to migrate to the new server OS within a year of its release. That said, feedback from readers like you is crucial to us meeting your needs. Please write to me at letters@windows itpro.com and tell me what you’d like to see! If you prefer to make your comments online, we do review the feedback we receive on every article. —Amy Eisenberg

Related Content:

ARTICLE TOOLS

Comments
  • Chuck
    4 years ago
    Aug 10, 2008

    I tried your Vista UAC Workaround idea but it has caused another problem with Vista. When I run your command, most of my notification icons in the system tray next to the clock disappear. I need some of those for status purposes and such. Is there anyway to fix that?

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.