Tag: Windows 2008

Microsoft Student Associates (MSA) – India Program

Microsoft recently announced registrations for the Microsoft Student Associates (MSA) – India Program. If you are a student, have a passion for Microsoft technologies, love social media and are involved at your campus, then this opportunity is sure to interest you. This new initiative from Microsoft, focuses on developing leadership qualities of students in their campus.As a Microsoft Student Associate or MSA, you will represent your local campus as technology enthusiasts and social media/marketing evangelists.

Click to REGISTER

Thanks,
WintelAdmin

Filed under: Windows(2003/2008/2012), x Updates (Wintel Admin)Tagged with: , , , , , , , , , ,

VM Tools installation Error “Setup cannot continue. The Microsoft Runtime DLL installer failed to complete installation”

Recently, I was having issues in upgrading the VM Tools on a Windows 2003 server.Installation was not getting completed successfully. Hence, I tried uninstalling and re-installing the VM Tools. Unfortunately, I was unable to install the VM Tools and the error was “Setup cannot continue. The Microsoft Runtime DLL installer failed to complete installation”.

Luckily, I got an timely idea, I clicked on the setup, and when the error pop-up (before clicking “OK”) I opened %temp% directory and executed vcredist_x64.exe and VMware Tools.msi file manually, this worked perfectly.

Thanks,
WintelAdmin

Filed under: VMware (ESX / vSphere), Windows(2003/2008/2012)Tagged with: , , , , , ,

How to change the TCP port for IIS in Windows 2008?

We have an application team who has an web-based application configured to run on port 80. This application runs on JBoss. Due to someother dependency they had to install IIS on this server. However, their application was not listening to port 80 in JBoss. When checked port 80 was been used by the default website in IIS. We later unbinded the port 80 from IIS, fixed the issue.

1. Open IIS Manager
2. Select web site.
3. Click on “Bindings” under Action pane.
4. Click edit to change the port (we changed 80 as 8000)
5. Click OK to apply changes.

Thanks,
WintelAdmin

Filed under: Windows(2003/2008/2012)Tagged with: , , , , ,

How to identify the SAN Disk in Windows 2008?

In order to perform a storage testing, one of the server were allocated with two different storage XtremIO and FED.
Both the lun were added to server as a drive. However, we had a confusion to find which drive was from which storage. Luckily, we were able to track the luns using diskpart.

1. Open command prompt.
2. Enter “Diskpart”.
3. Enter “list volume”.
4. Type “Select volume *” (* to be replaced with volume ID Ex:C,D,E/0,1,2, etc)
5. Execute “Detail Disk”

You would now be displayed with disk details and more information, which will help you to track your lun.

Thanks,
WintelAdmin

Filed under: Storage (EMC/NetApp), Windows(2003/2008/2012)Tagged with: , , , , , , ,

How to restore Backup ROM version on HP servers using ROM Based Setup Utility.

Recently, we upgraded firmware on all our blade enclosures and servers. This time we got stuck with the Citrix servers. We were informed that the Citrix applications are not working after the recent updates. After lot of struggle it was traced out that the issue was due to the ROM version incompatibility and we had to restore the previous ROM version.

This was achieved using the “Redundant ROM Settings” available under RBSU (ROM Based Setup Utility). Please follow the below steps to restore your previous ROM without searching for the setup files.

1. Access ROM Based Setup Utility by pressing the F9 key during power on.
2. Select “Advanced Options”.
3. Select “Advanced System ROM Options”.
4. Choose “ROM Selection”.
5 Select “Switch to Backup ROM”.
6. Press the Enter key.
7. Press the Esc key to exit the current menu or press the F10 key to exit RBSU. The server restarts automatically.

Thanks,

WintelAdmin

 

Filed under: HP (Servers/products), Windows(2003/2008/2012)Tagged with: , , , , , , , , , , , , , ,

How to enable webclient service on server 2008?

To enable webclient service on server 2008 we need to install desktop experience feature.

In earlier version of windows webclient service could be installed by enabling WebDAV component if IIS.

  1. Start the Windows Server Manager.
  2. In the tree view, highlight the Features node.
  3. In the details pane, click Add Features.
  4. In the Add Features Wizard, check the Desktop Experience box, and then click Next.
  5. Click Install.
  6. When the Add Features Wizard has finished, click Close.
  7. Click Yes when promoted to restart the computer.

Thanks,
WintelAdmin

Filed under: Windows(2003/2008/2012)Tagged with: , , , , ,

Rejoin a computer to domain without restart

We have been in the situation where we find that the Windows Server has its security relationship with the domain failed. In the past we had to remove the computer from the domain and then join it back again to reestablish the relationship.

This involved two reboots (one to leave, one to join). If it was a server that took a while to boot, the process could take so long.

However, I recently came across an article today which mention a PowerShell command to rejoin a computer to the domain without restarting it

Test-ComputerSecureChannel is one of those cool little PowerShell cmdlets that doesn’t get the recognition it deserves. Running the cmdlet by itself checks whether the relationship with the domain controller is still good. If it comes back True then everything is okay. If it comes back False then the relationship needs to be fixed.

Using Test-ComputerSecureChannel with the –credential –Repair options allows you to repair the relationship with the domain without any restarts. You run the command, sign out and then can sign in with your domain credentials. For example, to repair the relationship with the WINDOWSITPRO domain, issue the command:

Test-ComputerSecureChannel –credential domain\Administrator –Repair

When signed on as a local administrator.

Test-ComputerSecureChannel has been around since Windows Server 2008 R2.

Filed under: Windows(2003/2008/2012)Tagged with: , , , , , ,

How to check SID on windows 2008?

NewSid is officially not supported by Microsoft anymore. There are chances where you get stuck up during cloning, have multiple machines with same SID. How do you find the existing SID? Its simple. This can be achieved using free tool from Sysinternals called PsGetSid.

First you have to download PsGetSid from PsGetSid download page. Then extract it from the archive PsTools on your machine. You should see PsGetSid among the exe files available in the folder.

Execute the command PsGetSid and you should get the output.

Utility download link:
http://technet.microsoft.com/en-us/sysinternals/bb897417.aspx

Thanks,
WintelAdmin

Filed under: Windows(2003/2008/2012)Tagged with: , , , , , ,

Robocopy: How to copy files to a another drive, or server – only if they have changed?

With the robocopy, we can use the below syntax to copy everything from “x:\source” to “\\server\x\dest” including sub-directories:

robocopy x:\source \\server\x\dest /e /r:0 /w:0

Robocopy will look for the date and time stamp of each file. If the file has not changed, it will skip it.

Usage of parameters is as follows:

/e – This will include sub-folders, even if empty

/r:0 – Retry on failure zero times. No retries in this example. It will keep restarting the copy on failure

/w:0 – The number of seconds to wait between failures

Above won’t do is delete files on the destination if they have been deleted on the source. This can be attained by using /purge option:

robocopy X:\source \\server\X\dest /e /r:0 /w:0 /purge

Note: Usage of /purge will delete files on the destination. If you have an empty directory in source, you will end up with an empty directory on the destination.

-WintelAdmin

Filed under: Storage (EMC/NetApp), Windows(2003/2008/2012)Tagged with: , , , , , , ,

Backup and Restore Network Configuration on Windows Servers

While server re-image you would need to make a note of existing network configuration settings and then manually complete the configuration once the server is completed with OS Deployment. This is bit uneasy task and Sometimes, this is more tough while using ILO.

Therefore, it is good to use command to backup and restore the settings. This should complete the task in seconds.

Use the following command to backup your network configuration:
netsh interface dump > netcfg.dat

Use the following command to restore your network configuration:
netsh exec netcfg.dat

Filed under: Windows(2003/2008/2012)Tagged with: , , , , , , ,