Posted in Windows, Windows Server

Windows 2008 R2 on VMWare: “Unable to contact IP driver. General failure”


I have cloned (Deployed) new image from a template in VMWare of Windows Server 2008 R2 server. And joined to a domain (and domain controller is another VM deployed from same template). Then this frigging error message creped up in Command Prompt whenever I try any network commands (ping, ipconfig, etc.,): “Unable to contact IP driver. General failure”

After spent few minutes on Bing, I found the solution myself. It’s frigging duplicate SID. Usually duplicate SID is not an issue (according to Microsoft). But in my case, the domain controller and standalone server has same SID (deployed from same VM image template).  My solution is to run SysPrep to generate a new SID and it’s resolved the issue for me.

  1. Open Command Prompt in elevated mode (right click and select “Run as Administrator”)
  2. Change your path to C:\Windows\System32\SysPrep
  3. Type SysPrep and select the defaults.
  4. Reboot the VM and re-join to the domain.

There. If that resolved your issue, leave me a comment. Smile

Posted in Windows, Windows Server

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_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon
  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 Documentsscripts 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!

Posted in Windows

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_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon
  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 Documentsscripts 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!

Posted in Windows

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.

Posted in Windows

Little “Performance Monitor” in beautiful colors


Performance Monitor is a small program that shows you the CPU, Memory, Disk and Network utilization under all versions of Windows Systems.

It’s composed by four fully configurable small graphs and it can work in the tray area also. The windows are fully anchor able and by moving the "CPU" window you’ll move the other attached windows.

PerfMon can become transparent and permits you to forward left-mouse clicks so you can place it anywhere. You can also change the program priority saving CPU work and double its size for big monitor resolutions.

image 

Get it HERE.

Posted in Windows

MonitorES – Monitor Energy Saver


MonitorES is a small utility helps you to turnoff monitor display when you lock down your machine.Also when you lock your machine, it will pause all your running media programs & set your IM status message to "Away" / Custom message(via options) and restore it back to normal when you back.

According to this research statistics we could save lot of energy by turning off monitor display.

FEATURES

  • Automatically turnoff monitor
  • Automatically pause running media programs.
  • Automatically IM away status message
  • Mute Master sound
  • Turn-On Monitor for Remote Machines.
  • Hot key to PAUSE only media programs
  • Customizable Away Message
  • Support 15+ Media Players
  • Customizable Options

SUPPORTED MEDIA PLAYERS

SUPPORTED MESSENGERS

MORE DETAILS : Click Here

Posted in Windows

Sync: Flush all Disk Cache to Disk


In some cases, Windows might cache data before writing it to the disk. When a computer is shut down normally, all cached data is written to the disk. If you plan to shut down a computer forcibly (by initiating a Stop error or disconnecting the power), you can run the Sync command to flush all file system data to the disk. Sync, which is available as a free download, is also useful to ensure that all data is written to removable disks.
The simplest way to use Sync is to run it with no parameters and with administrative privileges, which flushes data for all disks:

sync 

Sync 2.2: Disk Flusher for Windows 9x/Me/NT/2K/XP
Copyright (C) 1997-2004 Mark Russinovich
Sysinternals - www.sysinternals.com

Flushing: C E F

To flush data for the F drive removable disk and then eject it, run the following command:

Sync -r -e F: 

Sync 2.2: Disk Flusher for Windows 9x/Me/NT/2K/XP
Copyright (C) 1997-2004 Mark Russinovich
Sysinternals - www.sysinternals.com

Flushing: F
Posted in Windows

Windows 7: How to search Active Directory?


In Windows XP, There was “Windows Address Book” program preinstalled. You can use Windows Address Book to search Active Directory for users, computers, printers, contacts, etc.,

Too Bad, Windows 7 doesn’t have “Address Book” program. Well there is, but it is not listed in programs menu. The following trick works for every domain user.

  1. Click Start Orb Menu, and type %SystemRoot%SYSTEM32rundll32.exe dsquery,OpenQueryWindow (I would recommend create a shortcut and place it in programs menu)
  2. Select your domain in dropdown box and search away.

image

Posted in Windows

Standalone Stack (for all Windows Versions)


image

If you have ObjectDock or RocketDock,
you certainly know the infamous stack docklet .Now, if you don’t want any dock and simply use your taskbar, you can have stack view too.

Just get StandaloneStack 2, create a shortcut  and voilà, run it to show the stack.

Download it Here.

 

image So, once you have downloaded StandaloneStack 2, unzip the files in a real directory ( for example c:standalonestack2 ).

Just run standalonestack2.exe to create and customize your stack !

When you have created your stack, you can open option with it, just hold CTRL key when you run it.

To navigate thru folder in stack, hold CTRL when you click on it (for now, you can’t go back).