Pages

Thursday, July 14, 2011

Restore Show Desktop Icon to Quick Launch on Taskbar

Manual Fix

To re-create the Show desktop icon yourself, follow these steps:
Click Start, click Run, type notepad in the Open box, and then click OK.
Carefully copy and then paste the following text into the Notepad window:

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

On the File menu, click Save As, and then save the file to your desktop as "Show desktop.scf". The Show desktop icon is created on your desktop.
Click and then drag the Show desktop icon to your Quick Launch toolbar.

How to Fix Desktop Wallpaper Issue in Windows 7

Today i had a Problem with my Wallpaper in Windows 7 which was showing me a black screen instead of the Desktop Wallpaper i applied
through Group Policy in Windows Server 2008.I worked Around to solve this issue and came to a conclusion that enables me to solve the issue.
So, I decided to share this on my own Blog for Viewers.

This Error occurs every now and then almost to everyone using Windows 7 as Client and Windows Server 2008 as a Domain Controller.

Microsoft has verified this and released a Fix for both 64 bit and 32 bit Operating Systems.

Download the Fix and Apply to the Affected Systems.

Steps to Follow :

1. Download the Fix.
2. Copy to Affected System.
3. Extract to a Folder.
4. Run the Setup

After the Fix is applied restart your computer and you will have your problem resolved.

Hope this solves your issue.

List all OU's and Sub OU's using VBS

Simple Script to list all OU's and Sub OU's using a VBScript

On Error Resume Next

Const ADS_SCOPE_SUBTREE = 2

Set objConnection = CreateObject("ADODB.Connection")
Set objCommand = CreateObject("ADODB.Command")
objConnection.Provider = "ADsDSOObject"
objConnection.Open "Active Directory Provider"
Set objCommand.ActiveConnection = objConnection

objCommand.Properties("Page Size") = 1000
objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE

objCommand.CommandText = _
"SELECT Name FROM 'LDAP://ou=finance,dc=fabrikam,dc=com' WHERE objectCategory='user'"
Set objRecordSet = objCommand.Execute

objRecordSet.MoveFirst
Do Until objRecordSet.EOF
Wscript.Echo objRecordSet.Fields("Name").Value
objRecordSet.MoveNext
Loop

HP Server Hardware Diagnostics

You have a HP server you wish to perform hardware diagnostics on to identify any potential problems with the server components. What tool do you use? Where do you get it from?

Well HP provide two tools for this:
- HP Insight Diagnostics Online Edition
- HP Insight Diagnostics Offline Edition

Ideally you wish to run the Offline scan as it is more comprehensive and can detect problems the online scan cannot. Where do you get the offine edition however? This is not downloadable from the HP site anymore without a cost. However when you buy a HP server you get a "Smart Start HP CD" with the server which is bootable. If you boot of this disk it has the Offline diagnostics tool on the disk.

As of this writing its up to version 8.3 of the tool. If you cannot find a smart start disk anywhere I found an old copy of the tool (version 8.0) which can be downloaded from the following FTP link:

ftp://ftp.compaq.com/pub/products/Servers/supportsoftware/ZIP/