Windows 7: Auto Login to Domain Account and lock the desktop right away

I saw this blog post in Life Hacker (Make Windows load your desktop before you log in) and see the interesting idea which I used to do few years ago. That Life hacker post is for home users. It doesn’t apply to the domain computers, obviously. So I decided to explain how to auto logon with Domain account and lock your desktop on start up. Here it is.

  1. Open Registry Editor (Start Orb –> type Regedit.exe)
  2. Browse to this location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Edit DefaultUserName key and type your domain user name
  4. If doesn’t exist, Create DefaultDomainName (string or REG_SZ) key and edit it with your domain name
  5. If doesn’t exist, create DefaultPassword (string or REG_SZ) key and edit it with your password
  6. If doesn’t exist, create AutoAdminLogon (string or REG_SZ) key and edit with “1”.
  7. Close Registry Editor
  8. Open Notepad
  9. Type this: WScript.CreateObject("WScript.Shell").Run("rundll32 user32.dll,LockWorkStation")
  10. Save it as “LockDesktop.vbs” (NOTE: you have to type script name in double quotes, or it will save it with “.txt” in the end) to a known location (would say Documents\scripts in your profile)
  11. Click Start –> All Programs. Right click on Startup and select Open.
  12. On Startup Folder, right click on empty space and select New –> Shortcut.
  13. Select your script (LockDesktop.vbs) on your saved location and create a shortcut.
  14. That’s it. Reboot your computer and watch your computer auto login with your account and locks the desktop right away.

Make sure have a plan to change the password when your password expires in the registry (DefaultPassword key). I would create a local user account and have it handy just in case. Enjoy!

Advertisements

Windows 7: Turn your Laptop as Wireless Router (Wi-Fi Hotspot)

All you need is wireless network adaptor from known manufacturers (Intel, Broadcom, etc.,) and Windows 7 on your laptop. Your can provide Internet access from Wired connection or AT&T 3G/Sprint 4g like modem to other devices.

  1. Open Command Prompt with Administrator privileges (right click and select “Run as Administrator”
  2. In the command window, type: netsh wlan set hostednetwork mode=allow ssid=KickAss-Wifi key=KickAss-Password
    Replace “KickAss-Wifi” with the name you want to use for the wireless network and replace “KickAss-Password” with your chosen password for accessing it)
  3. Press Enter.
  4. Now type: netsh wlan start hostednetwork
  5. Press Enter.
  6. Open Control Panel and go to Network and Sharing Center.
  7. Click Change Adapter Settings.
  8. Right click your Internet connection and select Properties.
  9. Click the Sharing tab.
  10. Check the box that says “Allow other network users to connect.”
  11. Choose your virtual wi-fi adapter and click OK.

Check other devices seeing your KickAss-WiFi network in Wireless Network Connection list.

Send Screenshots via Outlook 2010 with ease

Do you send screenshots via email time to time? how do you do it? Here is a easy way if you are using Outlook 2010.

1. Click New Email to compose a new message.

2. On the ribbon, select Insert tab and select Screenshot.

3. The current compose window will minimize automatically. Select the portion of the screen, voila!

image

Outlook 2010 has many more tricks under the sleeve. More coming in this blog.