Wednesday, June 19, 2013

Install ActiveX control from specified Web Site using GPO (Group Policy)

Issue: ActiveX control should be installed from Web Site which is in Trusted sites. Other Web sites located in Trusted sites should not be able to install ActiveX controls.

Solution is to enable following two GPO settings:



      Download signed ActiveX Controls for Trusted Sites Zone

      Approved Installation Sites for ActiveX Controls
 


Wednesday, March 20, 2013

VBScript to check if DNS Suffix check box on Network Adapter on IPv4 is enabled

' Checking if DNS Suffix check box on Network Adapter on IPv4 is enabled. Results are exported to C:\Windows\Support\Testing\CTTestImageLog1.txt
On Error Resume Next
Dim NetworkInterfaceID, RegKeyValue, Temp
Function KeyExists(key)
    Dim objShell
    On Error Resume Next
    Set objShell = CreateObject("WScript.Shell")
        objShell.RegRead (key)
    Set objShell = Nothing
    If Err = 0 Then KeyExists = True
End Function
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile("C:\Windows\Support\Testing\CTTestImageLog1.txt")
set objFile = objFSO.OpenTextFile(strFile, 8, True)
objFile.WriteLine("Checking if DNS Suffix check box on Network Adapter on IPv4 is enabled. 1 - True; 0 - False ")
For i = 0 to 20
RegistryKeyName = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\" & i & "\"
If KeyExists(RegistryKeyName) Then
Reg= RegistryKeyName + "ServiceName"
NetworkInterfaceID = ReadReg(Reg)
RegKeyValue1 = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\" + NetworkInterfaceID
'MsgBox(RegKeyValue1)
Reg1= RegKeyValue1 + "\RegisterAdapterName"
'MsgBox(Reg1)
NetworkInterfaceID1 = ReadReg(Reg1)
'MsgBox(NetworkInterfaceID1)
'Output results to a file
strFile = "C:\Windows\Support\Testing\CTTestImageLog1.txt"
set objFSO = CreateObject("Scripting.FileSystemObject")
set objFile = objFSO.OpenTextFile(strFile, 8, True)
IF NetworkInterfaceID1 = 1 Then
'MsgBox("True")
objFile.WriteLine(Reg1 & " = " & NetworkInterfaceID1 & " - TRUE")
Else
'MsgBox("False")
objFile.WriteLine(Reg1 & " = " & NetworkInterfaceID1 & " - FALSE")
End If
objFile.Close
'MsgBox "Done"
End If

Next

 'WScript.Echo Temp
 Function ReadReg(RegPath)
       Dim objRegistry, Key
       Set objRegistry = CreateObject("Wscript.shell")
       Key = objRegistry.RegRead(RegPath)
       ReadReg = Key
 End Function

Friday, February 22, 2013

Friday, February 3, 2012

"To free up disk space, Outlook Express can compact messages. This may take up to a few minutes." issue

This issue appears when Windows Search 4.0 is installed on Windows XP SP3 and the registry key Compact Check Count in HKEY_CURRENT_USER\Identities\{identity}\Software\Microsoft\Outlook Express\5.0 is incremented more then 100.

Microsoft doesnt support hotfix or any solution regarding this issue.
Only proposed solution to reset this registry key to 0 using GPO.

Wednesday, November 16, 2011

Storage Drivers for ESX 3.5.x and Microsoft Windows XP When Using the VMware LSI Logic Storage Adapter

Details
You have to download the storage drivers for ESX 3.5.x and Windows XP when using the VMware LSI Logic Storage Adapter. Solution
Go to www.lsi.com/support and download the LSI driver for LSI20320-R. Make sure you get the Windows Hardware Quality Labs (WHQL) 1.20.18.00 driver for Windows XP (LSI20320-R_xp_50700_01034132IT_1201800_1005239.zip ).


Note: The newer driver, 1.28.03, works for ESX 4.0.

The driver download contains another zip file named symmpi_wXP_1201800.zip . Make a floppy image of the contents of symmpi_wXP_1201800.zip and insert this floppy disk when you are prompted for a driver disk during the Windows XP installation process.

Wednesday, August 17, 2011

Adding Mas Storage Drivers in WinPE Image

To Add a mass storage driver, you need 4 informations...

1-PCI ID String
2-INF file name
3-SYS file name
4-Device driver description quoted

Copy INF files in [WinPE CD]:\i386\inf
Copy SYS files in [WinPE CD]:\i386\system32\drivers
Copy the remaining files in [WinPE CD]:\i386\system32

Once you did that...

Open the file [WinPE CD]:\i386\txtsetup.sif

Locate the section named "HardwareIdsDatabase"

Add each PCI ID like this...

[PCI ID String] = [SYS File name (Without .sys)]


Then locate the section named "SCSI.Load"

Add each INF File name without .inf like this...

[SYS File name (Without .sys)] = [SYS File name],4

the ",4" means that the file is in [WinPE CD]:\i386\system32\drivers

Then locate the section named "SCSI"

Add each INF File name without .inf like this...

[SYS File name (Without .sys)] = [Device driver description quoted]