Dec 07

IIS 7 did not carry over many of the VBS scripts that IIS 6 came with. In particular, IISAPP.vbs which was a tool used to list the running worker processes, is no longer available on IIS 7 / Windows Server 2008. IISAPP.vbs was often used to determine which IIS process to attach your Visual Studio debugger to.

Fortunately, AppCmd.exe, which is a more powerful tool, can be used to accomplish the same task. For instance, to list the running worker processes, issue the following command: C:\Windows\System32\inetsrv\appcmd.exe list wp

A good write up on AppCmd.exe can be found at: http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe

Tagged with:
Nov 29

In Windows 7 the QuickLaunch toolbar is no longer present by default nor is it an option in the toolbars menu.

To enable the QuickLaunch toolbar in Windows 7 do the following:

  1. Right-click the taskbar and choose Toolbars –> New Toolbar.

    clip_image002

  2. Navigate to the folder ‘C:\Users\[YourUserName]\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch’  and click the ‘Select Folder’ button.
  3. Now within your taskbar you should see a new toolbar labeled ‘QuickLaunch’.
  4. Right-click on your taskbar again and uncheck ‘’Lock the taskbar’.
  5. Drag the QuickLaunch over near your Start Menu.

    clip_image004

  6. Right-click on the QuickLaunch text and uncheck ‘Show text’ first and then uncheck ‘Show title’.
  7. Size your toolbars the way you like and right-click the taskbar again and check ‘Lock the taskbar’.

You should now have your QuickLaunch toolbar!

clip_image006

Tagged with:
Nov 29

With UAC (User Account Control) enabled in Windows Server 2008 or Windows 7 you will often find the need to run a command prompt using the “Run as Administrator” option. Using the typical method of Start –> Run and typing ‘cmd’ does not allow you to run as administrator.

However, you can now use the search box to start a cmd session as administrator:

 

  1. Open your Start menu and type ‘cmd’ in the search box. Then rather than just hitting enter, use Ctrl + Shift + Enter.

    clip_image002

  2. The User Account Control dialog box will be shown requesting permission.  

    image

  3. Use Alt + ‘C’ (Continue) in Windows Server 2008 or Alt + ‘Y’ (Yes) in Windows 7 to continue.

Your cmd prompt will then be open with administrative privileges.

Tagged with:
preload preload preload