Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


April 2008

Letters@windowsitpro.com

RSS
Subscribe to Windows IT Pro | See More Windows OSs Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

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

End of Article



Reader Comments
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?

chuckt3 August 10, 2008 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Ballmer: Xbox 360 'an Unqualified Success'

It's a product line that has consumed tens of billions of dollars of R&D, money that can never be recouped. The most recent version of the product is so endemically buggy that it has suffered from an historic product recall whose value exceeds $1 billion ...

More fun TechEd 2005 Resources

Kevin points out some more TechEd resources ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Are You Satisfied?

A Preliminary Look at Deployment Plans for Microsoft Windows Vista

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Microsoft Exchange & Windows Connections event returns to Las Vegas Nov 10 - 13
Connections returns to Las Vegas for this exciting event where each attendee will receive SQL Server 2008 standard with 1 CAL. Co-located with Microsoft ASP.NET, SQL Server, and SharePoint Connections with over 250 in-depth sessions.

Free Online Event! Virtualization:Get the Facts!
Register now and attend this free, live in-depth online conference on November 13 and 20, 2008, produced by Windows IT Pro. All registrants are eligible to receive a complimentary one-year digital subscription to Windows IT Pro (a $49.95 value)!

Check Out Hyper-V Video on ITTV
Watch Karen Forster's interview on Hyper-V's performance on ITTV.net.

Ease Your Scripting Pains with the Flexibility of PowerShell!
Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer!

PASS Community Summit 2008 in Seattle on Nov 18-21
The don’t-miss event for Microsoft SQL Server Professionals. Register now and you’ll enjoy top-notch Microsoft and Community speakers and more.



Speed Up Your PC!
Try Diskeeper 2008 with InvisiTasking Free Now!

Get Protected -- Data Protection Manager 2007
Protect your virtualized environment with Data Protection Manager

Agent-less Remote Backup Service, Free 30 Day Trial
Award winning remote backup service at a competitive price with no min GB/month. Sign up Now!

ScriptLogic Cartoon Caption Contest
Submit your caption and you will be entered to win $198.42

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

List Your Products in Our Technology Resource Directory
Don't miss the chance to post your free listing in this comprehensive directory for IT and developer professionals, powered by Windows IT Pro. But hurry! Deadline ends Oct. 9.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing