Hi,
i have tasted your code. it doesn´t work. No Printers no network mappings no background :-(

can u help me to debug whats going wrong?




EDIT:
first error when i run: "wkix32.exe login.kix" is:

ERROR: undefined variable [wmiColl]!
Script C:\loginscript\login.kix
Line : 46



This is line 45-47
45 ;Get the current screen resolution using WMI.
46 $wmiColl = GetObject("WinMgmts:root/cimv2").ExecQuery("Select * FROM Win32_DesktopMonitor")
47 For Each $wmiObj in $wmiColl


Edited by backfight (2010-11-16 02:57 PM)