Hyper-V – Integration Services on Windows XP giving error 1618.

Posted in Administration, Windows on May 15, 2013 by Jean Doyon

What to do?

Before doing this, why don’t you start by creating a snapshot?

1) Make sure TMP and TEMP environment variables point to a correct location

2) Empty your TMP and TEMP folder(s).

3) 1618 is often caused by an installation already in progress. Make sure nothing is running and reboot your machine.

4) Try deleting / renaming the following files

  • C:\WINDOWS\system32\DRIVERS\wdf01000.sys
  • C:\WINDOWS\system32\DRIVERS\wdfldr.sys

4.1) Re-install integration services.

Advertisements

MassStorage for Windows XP

Posted in Uncategorized on September 26, 2012 by Jean Doyon

If you have worked with XP and imaging, you know that mass storage drivers are very hard to work with. I have spent a whole lot of time in order to understand how to make them work as part of an unattended installation as well as patching a system blue screening with error code 7B. Anyways, those of you who are still working with and deploying Windows XP, might find the following files useful.

Please take a second to read the batch files in order to understand what you are actually doing.

The Intel drivers are current as of the date of this post. They should work for RAID and AHCI.

http://www.mediafire.com/?gayj2hu6515c6k1

I will shortly post some more files for loading an unattended VMWare installation that is able to boot on a physical machine with AMD or Intel controllers as well.

Find what domain a user is on.

Posted in Administration, VBScript, Windows on July 14, 2011 by Jean Doyon
'=================================================================================================
' TITLE:		getDomain
'
' AUTHOR: 		Jean Doyon
' DATE  : 		2011-07-08
'
' PARAMETERS:	strHost = Machine name to reach.
' RETURNS: String
' COMMENT: Get info from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
'=================================================================================================
Function getDomainName(strHost)
	Dim strUser, strKeyPath, strValueName, strValue, oReg

	Const HKEY_LOCAL_MACHINE = &H80000002
	
	'Prevent the script from stoping when wmi is not able to connect
	On Error Resume Next
	'Connect via WMI
	Set oReg = GetObject("winmgmts:" _
   	& "{impersonationLevel=impersonate}!\\" _
   	& strHost & "\root\default:StdRegProv")
   	
   	If Err <> 0 Then
   		getDomain = "Null"
        Else
		strKeyPath = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
		strValueName = "DefaultDomainName"
		oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue
		getDomainName = strValue		
	End If	
End Function

Runnign GPedit on a remote PC

Posted in Uncategorized on April 8, 2011 by Jean Doyon

gpedit.msc /gpcomputer: computername.domain

Some features might be missing.

Active yum throught an HTTP proxy requiring a username and password

Posted in Fedora project, Linux on March 4, 2011 by Jean Doyon

Note that this will be activated for all users.

sudo vi /etc/yum.conf

# The proxy server – proxy server:port number
proxy=http://proxy.company.com:8080
# The account details for yum connections
proxy_username=username
proxy_password=password

Dirty sudo setup.

Posted in Fedora project, Linux with tags on March 4, 2011 by Jean Doyon

echo ‘username ALL=(ALL) NOPASSWD:ALL’ >> /etc/sudoers

OS X – Show all files in the Finder

Posted in OS X Snow Leopard on February 26, 2011 by Jean Doyon

In the command line, run the following:

defaults write com.apple.Finder AppleShowAllFiles YES

Restart the finder:

killall Finder && open /System/Library/CoreServices/Finder.app