I have to see users struggle to connect to their laptops to the projector. Most laptop vendors provide a hotkey (e.g., Function + F8 is to switch between laptop screen and projector) and it mostly works. When it doesn’t work, user usually lost. In Windows 7, I would say press Windows ÿ key + P. … Continue reading Windows 7: Connect your Laptop to Projector or second monitor
Author: --Anand--
SCOM 2007 R2 – RMS server not seeing the Agents or Agents are not talking to the server
My SCOM 2007 R2 agents are stopped talking to the RMS server from one fine day. I don’t remember doing anything on SCOM servers like no new management packs. The following event ids were getting my nerves. Servers show up a “Not monitored” and with blank circle icon. Event ID 21016 OpsMgr was unable to … Continue reading SCOM 2007 R2 – RMS server not seeing the Agents or Agents are not talking to the server
Get Active Directory Group member list
I found this single command line gets the members of a group with their display name and user name. dsquery group -name "My AD Group Name" | dsget group -members | dsget user -display –samid Check DSGet User /? to get more information about the users. Check DSGet Group /? to get more information about … Continue reading Get Active Directory Group member list
How to delete huge directory with millions of files?
I had to delete 8 millions files and folders. Opening up Windows Explorer and hitting delete key would take days to delete the whole directory structure. Killer of this deletion is ENUMERATION. That’s right, it takes forever to enumerate directory structure and file. I came up with Power Shell command that can delete the whole … Continue reading How to delete huge directory with millions of files?
Windows Server 2008: Default Gateway disappears upon Reboot, every time
I had a battle with a Windows Server 2008 machine. It’s TCP/IP default gateway disappears upon reboot. I tried to retype the default gateway and reboot many times. It seemed like a strange issue. I found this forum discussion here. Essence of the discussion is TCP/IP stack or file might be corrupted and the solution … Continue reading Windows Server 2008: Default Gateway disappears upon Reboot, every time
Windows 7: Drag N Drop Directory and File to a Command Prompt Window
Hate typing long path names in Command Prompt window. Open up the path location in Explorer window. Drag and drop the folder or file into command prompt window. Voila! You can drop a file on command prompt. It will paste the file name. Enjoy.
Windows 7: Changing Command Prompt Windows Title
I thought Microsoft investing big time on new child Power Shell and let go of old school Command Prompt. It’s not the case. They did improve many things in Command Prompt. One of them is “Title” command. Title “Your title name” It changes your Command Prompt window title. How cool it is. If I run … Continue reading Windows 7: Changing Command Prompt Windows Title
Disk2vhd : P2V solution for Microsoft Virtual PC users
Check it out here: Disk2vhd
SCOM: The crazy “MomUIGeneratedRule” with crazy numbers in reports, What’s up Microsoft SCOM Dev team?
This is really bad! Microsoft SCOM dev team. I mean really really bad. After I installed the SCOM product and we started using it. My boss have high hopes on this product. Here is what happened. I created new Performance collection rules for specific counters on our few servers. After few days I can right … Continue reading SCOM: The crazy “MomUIGeneratedRule” with crazy numbers in reports, What’s up Microsoft SCOM Dev team?
How to Delete folders by wildcard search? Answer: use PowerShell
I had a requirement to delete directories by wildcard. Unfortunately RMDIR User* will not work in command prompt. I found the answer in PowerShell. The following command delete a bunch of folders by wildcard selection. The following command deletes all folders starting with "2008*" under C:program FilesDBappLogs. get-childitem -path 'C:Program FilesDBappLogs' -filter 2008* | … Continue reading How to Delete folders by wildcard search? Answer: use PowerShell