Tuesday, April 27, 2010

Windows Server 2008 RDP and Widows Firewall

This can be an issue when you have some sort of GP in your domain to stop the Windows firewall services. If the windows firewall service is stopped for Windows Server 2008, then the traffic to the server will be blocked. This means when the clients try to establish an RDP session will have issue connecting to the server.


Use the following commands to enable or disable the Windows firewall:

Netsh advfirewall set allprofiles state on or Netsh advfirewall set allprofiles state off

Useful AIX commands

Answere Available Here

AIX FAQ

I found the below wesite very useful:
Click Here

How to check the AIX version

Putty to AIX server and use the following below command:

Use "oslevel -g"

Friday, April 23, 2010

How to clean up the metadata of deleted domain controllers

With Windows Server 2008, when you delete a DC from the Active Directory Sites and Services MMC snap-in, and all the DC's associated metadata is also deleted. However, on earlier versions of Windows Server the metadata is left around if a DC is improperly demoted.

Please refer to MS KB: How to remove data in Active Directory after an unsuccessful domain controller demotion 

Microsoft also provides a script (Remove Active Directory Domain Controller Metadata Script) with a GUI to delete DCs. The script currently support the following platforms: Windows Server 2008/R2, Windows Server 2003, Windows XP and Windows 2000.

Revive Deleted AD Objects with Active Directory Recycle Bin

Answer Available Here

Friday, April 9, 2010

How to reboot/shutdown Windows Servers remotely using PsShutdown utility

You need to copy the PsShutdown file on Windows server in a folder. Say I saved the file under a folder called C:\downloadss. Next open windows command prompt, go to  (Start > Run > cmd) and schedule the  reboot:


c:> at 12:00am c:\downloads\psshutdown.exe -r -f -c -t 10 -accepteula

Above command will reboot the system at 12am. If you want to shutdown system:

c:> at 12:00am c:\downloads\psshutdown.exe -s -f -c -t 10 -accepteula

Where:
  • -s: Shutdown specified server
  • -r: Reboot specified server
  • -f: Forces all running application to exit
  • -c: Allow the shutdown to by cancel by user
  • -t: Specifies the countdown in seconds until the reboot or shutdow process
  • -accepteula (you need to add -accepteula to the psshutdown command, otherwise the task will hang, indicating a “running” state in Scheduled Tasks)