idk, if i go to the remote machine and run the script localy it returns all the printers on that machine, it just does not seam to want to work remotely. The strainge thing is, that this is the suggested script by microsoft to look at remote computers. I think they have changed something and they are not admiting to it.

I have also tried to look at the remote registry with the same results:
Code:
$SubKeys = GetPrinterList("NetAdmin2")
$SubKeys = Split($SubKeys,",")
For Each $Key in $SubKeys
	? $Key
Next

Function GetPrinterList($Computer)
	If @INWIN = 1
		;$GetPrinterList = GetSubKeyValues("\\"+$sComputer+"\HKCU\Software\Microsoft\Windows NT\CurrentVersion\Devices")
		$GetPrinterList = GetSubKey("\\"+$Computer+"\HKCU\Printers\Connections")
	Else
		
	EndIf
EndFunction

Function GetSubKey($SubKey)
	Dim $Index
	
	$Index = 0
	$Key = EnumKey($Subkey,$Index)
	While @ERROR = 0
		If $GetSubKey = ""
			$GetSubKey = $Key
		Else
			$GetSubKey = $GetSubKey + "," + $Key
		EndIf
		$Index = $Index + 1
		$Key = EnumKey($Subkey,$Index)
	Loop
EndFunction
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)