Windows 7

Configure applications as “Run as an Administrator”

User Account Control kicks in when you try to run some applications (Administrative tools for example), you have to click UAC window. Or some times you simple want to run an application with high privileges and your lazy you don’t want to right click and select “Run as an Administrator” option. Here is the easy way.

1. On the Start menu, locate the program that you want to always run as an administrator.
2. Right-click the application’s shortcut, and then click Properties.
3. In the Properties dialog box, click the Compatibility tab.
4. Do one of the following:

  • To apply the setting to the currently logged-on user, select the Run This Program As An Administrator check box, and then click OK.
  • To apply the setting to all users on the computer and regardless of which shortcut is used to start the application, click Change Setting For All Users to display the Properties dialog box for the application’s .exe file, select the Run This Program As An Administrator check box, and then click OK twice.

Location of all user’s desktop and start menu in Windows 7

All user’s desktop: C:UsersPublicDesktop
All user’s start menu: C:ProgramDataMicrosoftWindowsStart Menu

SSH Server and Windows 7 w/ Cygwin

In order to install openssh server correctly for Windows 7, you will need to do the following:

  1. Install Cygwin in the normal way. Make sure you’ve got openssh and cygrunsrv as selected packages to install.
  2. Right-click the Cygwin shell icon, and Run as administrator.
  3. Run ssh-host-config. Follow the prompts carefully: if needed, it will tell you which permissions you need to set and where. Remember to say yes to privilege separation: it will create a user for you called cyg_runsrv which all cygwin services will run under in Windows 7.
  4. You should be able to start the service using cygrunsrv –-start sshd, or by starting it as a normal service under Administrative Tools > Services.
  5. This does not automatically create and open firewall rules, so you will have to do this manually.

Problem Steps Recorder

A quick pffffft:

The Problem Step Recorder (PSR) is a little known feature of Windows 7 which allows you to record your desktop along with applications and activities so you can later show someone such as a tech support person or even give a demo on how to use something in Windows.  This is very handy if you are remote from the user or supporting them during hours where neither of you are able to work together in real time.

Thumbs up to Microsoft for adding this feature!

How-to use:

Click Start and type PSR and press Enter.  A window will open with some basic control features such as ‘record’. Now setup your environment so that you are ready to reproduce your steps and click Start Record.  When completed you stop the recording.  Problem Steps Recorder will record every click and key press, take screen grabs, and package everything up into a single zipped MHTML file.

As you can see, no need for third party apps, because you have what you need.

I hope this helps you one day or helps you help someone else.

 

VHD! Booting Windows 8

Why wipe your system clean to preview Windows 8 developer preview when you can simply use the good old VHD to boot it up on your system.

Here is the quickest method to do this.  <Warning — This is GEEK / not GREEK >

  • Boot from the Win8dev DVD or USB
  • When in setup the disk selection appears where to install to you press SHIFT-F10
  • A cmd window appears.
  • Now your drive letters may have shifted so do some DIR commands where you want the put the VHD file also choose a volume that has enough free space.
  • Then run diskpart:
    • create vdisk file=d:win8dev.vhd type=expandable maximum=50000 (for better performance do not use expandable, but creating the VHD may take some time.
      I choose about 50 GB in size
    • select vdisk file=d:win8dev.vhd
    • attach vdisk
  • Now alt-tab back to the disk selection window and click refresh, the VHD volume should appear, select it to install Windows in it.
  • Click next, Windows will install and reboot into next phase of Windows 8 setup
  • After another reboot the new Metro style boot menu appears where you can choose to boot from Windows 8 or Windows 7. Advanced options lets you set the default and change timeout. Also troubleshooting options are here.
  • The default is Windows 8 and it will run direct on your hardware