Rundll32 printui.dll,PrintUIEntry
Automates many printer configuration tasks. Printui.dll is the executable file that contains the functions used by the printer configuration dialog boxes. These functions can also be called from within a script or a command-line batch file, or they can be run interactively from the command prompt.
http://technet.microsoft.com/en-us/library/cc179062.aspx
Customize Outlook profiles by using an Outlook Profile (PRF) file
http://www.windowsitpro.com/article/internet/jsi-tip-5130-how-can-i-manage-internet-explorer-security-zones-via-the-registry-.aspx
How can I manage Internet Explorer Security Zones via the registry?
Script to change the computer description to "User's Name - Dell Service Tag."
http://www.petri.co.il/forums/showthread.php?t=24425
Set objSysInfo = CreateObject("ADSystemInfo") Set objUser = GetObject("LDAP://" & objSysInfo.UserName) strName = objUser.CN strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2" ) Set colSMBIOS = objWMIService.ExecQuery _ ("Select * from Win32_SystemEnclosure") For Each objSMBIOS in colSMBIOS strService = objSMBIOS.SerialNumber Next Set colOperatingSystems = objWMIService.ExecQuery _ ("Select * from Win32_OperatingSystem" ) For Each objOperatingSystem in colOperatingSystems objOperatingSystem.Description = strName & " - " & strService objOperatingSystem.Put_ Next Set WshNetwork = Nothing
No comments:
Post a Comment