Friday 22 October 2010

Script ile yuklu programlari listelemek

Merhaba asagidaki script ile bir bilgisayarda kurulu uygulamalari Windows Installer i kullanarak cekebilirsiniz, script te de goreceginiz gibi , cikti c:\software.tsv dosyasina Tab bosluklu kolon formatinda yazilmaktadir.

objSoftware parametrelerinden size gerekmeyenleri iptal ederek daha az bilgi alabilir, scriptte bilgisayara baglanma guvenlik ayarini degistirerek ve strComputer degiskenini bir listeden okuyup dondurerek bir den fazla uzak bilgisayardan bu bilgiyi cekebilirsiniz de biraz degisiklikle.
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.CreateTextFile("c:\software.tsv", True)

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSoftware = objWMIService.ExecQuery _
("Select * from Win32_Product")

objTextFile.WriteLine "Caption" & vbtab & _
"Description" & vbtab & "Identifying Number" & vbtab & _
"Install Date" & vbtab & "Install Location" & vbtab & _
"Install State" & vbtab & "Name" & vbtab & _
"Package Cache" & vbtab & "SKU Number" & vbtab & "Vendor" & vbtab _
& "Version"

For Each objSoftware in colSoftware
objTextFile.WriteLine objSoftware.Caption & vbtab & _
objSoftware.Description & vbtab & _
objSoftware.IdentifyingNumber & vbtab & _
objSoftware.InstallDate2 & vbtab & _
objSoftware.InstallLocation & vbtab & _
objSoftware.InstallState & vbtab & _
objSoftware.Name & vbtab & _
objSoftware.PackageCache & vbtab & _
objSoftware.SKUNumber & vbtab & _
objSoftware.Vendor & vbtab & _
objSoftware.Version
Next
objTextFile.Close

Bu ve benzeri daha fazla script e ulasmak icin Microsoft Script Center sitesini tavsiye ederim.

Thursday 21 October 2010

MDT Properties




























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Properties that can be overwritten (last value wins) and are automatically set by the BDD scripts
Property IDTypeOverwrite ?Description
DeployRootstringTRUEThe UNC path to the deployment share
ResourceRootstringTRUEThe UNC path to resources (drivers, packages) kept separate from the deployment share
DeployDrivestringTRUEThe drive letter mapped to the deployment share (Lite Touch only)
ResourceDrivestringTRUEThe drive letter mapped to resources (drivers, packages) kept separate from the deployment share (Lite Touch only)
DeploymentMethodstringTRUEThe method being used for the deployment (NETWORK, MEDIA, OSD, etc.)
DeploymentTypestringTRUEThe type of deployment (NEWCOMPUTER, REFRESH, REPLACE, UPGRADE) being performed
PhasestringTRUEThe current phase of the deployment (NEWCOMPUTER, STATECAPTURE, PREINSTALL, INSTALL, POSTINSTALL, STATERESTORE)
DeploySystemDrivestringTRUEThe drive (e.g. C:) that Windows should be deployed to
DestinationDiskstringTRUEDisk Number that the image will be deployed to
DestinationPartitionstringTRUEDisk Partition that the image will be deployed to
DestinationLogicalDrivestringTRUELogical Drive that the image will be deployed to
DestinationVariablestringTRUEVariable that contains the logical drive that the image will be deployed to
Properties that cannot be overwritten (first value wins)
Property IDTypeOverwrite ?Description
UserIDstringFALSEUser ID used for connecting to network paths
UserDomainstringFALSEDomain for the user ID used to connect to network paths
UserPasswordstringFALSEPassword for the user ID used to connect to network paths
UDSharestringFALSEUser data share used for capturing user state to a network path
UDDirstringFALSEDirectory on the user data share where user state should be placed
UDProfilesstringFALSEList of profiles that should be captured by USMT as part of the user state
SLSharestringFALSEScript log share where all BDD scripts should be copied at the end of the deployment process
EventSharestringFALSEEvent share UNC where all BDD scripts should write events for MOM management pack
OSInstallstringFALSEFlag to indicate whether this machine is authorized for an OS deployment (if set, it must be YES or Y to proceed)
ComputerNamestringFALSEThe new computer name to assign to the computer
OSDComputerNamestringFALSEThe new computer name to assign to the computer (used with ConfigMgr)
Home_PagestringFALSEThe Internet Explorer home page that should be used on the computer
JoinDomainstringFALSEThe name of the domain that should be joined (do not set if using JoinWorkgroup)
JoinWorkgroupstringFALSEThe name of the Workgroup that should be joined (do not set if using JoinDomain)
DomainAdminstringFALSEAccount used to join to Domain (may be in 'Domain\UserName' or 'UserName@Domain.com' format)
DomainAdminDomainstringFALSEDomain of Account used to join to Domain (Vista Only, must be blank if 'DomainAdmin' conains domain)
DomainAdminPasswordstringFALSEPassword of Account used to join to Domain
MachineObjectOUstringFALSEThe OU that should be used when the computer is joined to the domain (only if the computer account does not already exist)
OSDINSTALLSILENTstringFALSEOSD flag to indicate that no OSD new computer wizard should be displayed
OSDINSTALLPACKAGEstringFALSEOSD variable to indicate which SMS OSD package should be installed (only used for new computer)
OSDINSTALLPROGRAMstringFALSEOSD variable to indicate which program should be used for the specified OSD package (only used for new computer)
OSDNEWMACHINENAMEstringFALSEOSD variable that specifies the computer name that should be assigned (only used for new computer)
ScanStateArgsstringFALSECommand line arguments that should be added to the USMT Scanstate command line
LoadStateArgsstringFALSECommand line arguments that should be added to the USMT Loadstate command line
ComputerBackupLocationstringFALSESpecifies where the computer backup should be stored (AUTO, NETWORK, NONE, specific path, default is AUTO)
BackupSharestringFALSENetwork share (UNC) where the computer backup should be stored
BackupDirstringFALSEDirectory on the network share where the computer backup should be stored
BackupDrivestringFALSEDrive to include in the backup (defaults to the drive with disk 0 partition 1, can be set to ALL)
UserDataLocationstringFALSEFull path to the USMT user state store that should be restored onto a particular machine
DoCapturestringFALSEFlag to indicate that the machine should be Sysprepped and captured as a new WIM image
ProductKeystringFALSEProduct key string that should be inserted into unattend.xml, sysprep.inf, or unattend.txt
OverrideProductKeystringFALSEMultiple activation key (MAK) that should be applied after Windows Vista is deployed
WDSServerstringFALSEName of the WDS server that should be used when installing WDS images (default is the server that contains the original image)
CaptureGroupsstringFALSESpecifies whether to capture the local group membership from the machine (default is YES; ALL can also be specified)
AdminPasswordstringFALSESpecifies the local administrator password to assign (default is to use existing value)
OrgNamestringFALSESpecifies the organization name (default is none)
FullNamestringFALSESpecifies the full name (default is none)
TimeZonestringFALSETimeZone Identifier for Windows XP Builds (example: PST = 004 )
TimeZoneNamestringFALSETimeZone Identifier for Windows Vista Builds (example: PST = 'Pacific Standard Time')
TaskSequenceIDstringFALSETaskSequence ID used to automate LTI/ZTI build selection (default is blank)
BuildIDstringFALSEBuild ID used to automate LTI/ZTI build selection (default is blank)
InputLocalestringFALSELocale used for Keyboard, (XP only, example: 0409:00000409, default is OS Default)
KeyboardLocalestringFALSELocale used for Keyboard, can be either 0409:00000409 or en-US format (default is OS Default)
UserLocalestringFALSELocale used for user when logged in, en-US format (default is OS Default)
UILanguagestringFALSEDefault Locale used for OS before user is logged in, en-US format (default is OS Default)
XresolutionstringFALSEThe Horizontal Resolution of the screen (example: 1024, default is OS Default)
YresolutionstringFALSEThe Vertical Resolution of the screen (example: 768, default is OS Default)
BitsPerPelstringFALSEThe Color Depth of the screen in Bits Per Pixel (example: 32, default is OS Default)
VrefreshstringFALSEThe vertical Refresh rate of the monitor in Hz (example: 60, default is OS Default)
AreaCodestringFALSEArea code for the computer's location.
CountryCodestringFALSECountry/region code to use for telephony.
LongDistanceAccessstringFALSENumber to dial to gain access to an outside line, such as 9.
DialingstringFALSEType of dialing to use for the telephony device in the computer, such as 'Tone' or 'Pulse' (XP only).
OSDBitLockerModestringFALSESpecifies the type of BDE install. (KEY|TPMKey|TPMPin|TPM)
BdeInstallSuppressstringFALSEBoolean to indicate whether a BDE Install should be attempted.
BdeInstallstringFALSE(Deprecated) Specifies the type of BDE install. (KEY|TPMKey|TPMPin|TPM)
OSDBitLockerTargetDrivestringFALSESpecifies the drive to be encrypted (default OS Drive)
OSDBitLockerStartupKeyDrivestringFALSESpecifies the location of Key files (Drive)
BdeKeyLocationstringFALSE(Deprecated) Specifies the location of Key files (Drive)
OSDBitLockerCreateRecoveryPasswordstringFALSEIndicates whether a recovery password should be generated for AD.
BdeRecoveryKeystringFALSE(Deprecated) Indicates whether a recovery password should be generated for AD.
OSDBitLockerWaitForEncryptionstringFALSEBoolean (any value) indicated whether process should be held to wait for drive encryption to complete.
BdeWaitForEncryptionstringFALSE(Deprecated) Boolean (any value) indicated whether process should be held to wait for drive encryption to complete.
BdeDriveLetterstringFALSEDrive Letter for BDE partition (default S:)
BdeDriveSizestringFALSEDrive size for BDE partition (default 2048MB)
BdePinstringFALSEBdePin for TPMPin (numeric only)
WinREInstallstringFALSEInstall Windows Recovery Environment.
WinREDriveLetterstringFALSEDrive Letter for BDE partition (default R:)
WinREDriveSizestringFALSEDrive size for BDE partition (default 10000MB)
TpmOwnerPasswordstringFALSESpecifies the TPM Password for setting Ownership
OSDBitLockerRecoveryPasswordstringFALSESpecifies the password to use for BDE Password scenarios
OSDBitLockerStartupKeystringFALSESpecifies the value to use for startup key.
OSDMPstringFALSEOSD variable to indicate which SMS management point should be used (only needed for new computer)
OSDSITECODEstringFALSEOSD variable to indicate which SMS site code should be used (only needed for new computer)
ServerAstringFALSEServer name to be used during the deployment process
ServerBstringFALSEServer name to be used during the deployment process
ServerCstringFALSEServer name to be used during the deployment process
USMTConfigFilestringFALSEUSMT configuration XML file that should be used when running Scanstate and Loadstate
WipeDiskstringFALSESpecifies whether the disk should be wiped.
_SMSTSORGNAMEstringFALSECustomizes the Task Sequencer engine's display banner.
WsusServerstringFALSEThe URL of the WSUS server that should be used (optional, will use Windows Update or policyt settings by default)
Wizard control variables (first value wins)
Property IDTypeOverwrite ?Description
SkipWizardstringFALSEFlag to skip the deployment wizard altogether (if set to YES, default is blank)
SkipCapturestringFALSEFlag to skip the capture of an image (if set to YES, default is YES)
SkipAdminPasswordstringFALSEFlag to skip the Administrator User Account Password wizard page(if set to YES, default is blank)
SkipApplicationsstringFALSEFlag to skip the wizard pane that asks for applications to be installed (if set to YES, default is blank)
SkipAppsOnUpgradestringFALSEFlag to skip the wizard pane that asks for apps to be installed only for upgrades (if set to YES, default is blank)
SkipComputerBackupstringFALSEFlag to skip the computer backup wizard pane (if set to YES, default is blank)
SkipDomainMembershipstringFALSEFlag to skip the domain membership wizard pane (if set to YES, default is blank)
SkipComputerNamestringFALSEFlag to skip the Computer Name wizard pane (if set to YES, default is blank)
SkipDeploymentTypestringFALSEFlag to skip the initial deployment type wizard pane (if set to YES, default is blank)
SkipUserDatastringFALSEFlag to skip the user data wizard pane (if set to YES, default is blank)
SkipPackageDisplaystringFALSEFlag to skip the packages (language packs) wizard pane (if set to YES, default is blank)
SkipLocaleSelectionstringFALSEFlag to skip the locale selection wizard pane (if set to YES, default is blank)
SkipProductKeystringFALSEFlag to skip the product key wizard pane (if set to YES, default is blank)
SkipSummarystringFALSEFlag to skip the final wizard summary screen (if set to YES, default is blank)
SkipFinalSummarystringFALSEFlag to skip the Summary_Definition_XXX.xml screen (if set to YES, default is blank)
SkipBDDWelcomestringFALSEFlag to skip the BDD Welcome screen (if set to YES, default is blank)
SkipTimeZonestringFALSEFlag to skip the TimeZone screen (if set to YES, default is blank)
SkipTaskSequencestringFALSEFlag to skip the Task Sequence (OS Selection) screen (if set to YES, default is blank)
SkipBuildstringFALSEFlag to skip the Build (OS Selection) screen (if set to YES, default is blank)
SkipBitLockerstringFALSEFlag to skip the BitLocker (if set to YES, default is blank)
SkipBitLockerDetailsstringFALSEFlag to skip BitLocker details screen (if set to YES, default is blank)
Action Properties (commonly defined within Management Console)
Property IDTypeOverwrite ?Description
OSDAdapterCountstringFALSENumber of Adapters defined here( either blank, 0 or 1)
OSDAdapter0NamestringFALSEIf present, match all settings to the adapter with this name.
OSDAdapter0MacAddressstringFALSEIf present, match all settings to the adapter with this MAC address.
OSDAdapter0EnableDHCPstringFALSEIf false, will disable DHCP, otherwise True (true if blank).
OSDAdapter0IPAddressListstringFALSEComma delimited list of IPAddress Lists
OSDAdapter0SubnetMaskstringFALSEComma delimited list of Subnet masks
OSDAdapter0GatewaysstringFALSEComma delimited list of Gateway cost metrics
OSDAdapter0GatewayCostMetricstringFALSEComma delimited list of Gateway Cost MEtrics as either integers, or the string 'Automatic' (if empty, uses automatic)
OSDAdapter0DNSServerListstringFALSEComma delimited list of DNS Servers
OSDAdapter0DNSSuffixstringFALSEDNS Suffix, example Frabrikam.com
OSDAdapter0EnableDNSRegistrationstringFALSETrue/False to enable FULL DNS registration.
OSDAdapter0EnableFullDNSRegistrationstringFALSETrue/False to enalbe DNS Registration
OSDAdapter0EnableLMHOSTSstringFALSETrue/False to enable LMHosts
OSDAdapter0EnableWINSstringFALSETrue/False to enable WINS
OSDAdapter0TcpipNetbiosOptionsstringFALSENetBIOS OPtions 1 or 0
OSDAdapter0WINSServerListstringFALSEComma delimited list of WINS Servers
OSDAdapter0EnableTCPIPFilteringstringFALSETrue/False to enable TCP/IP Filtering.
OSDAdapter0TCPFilterPortListstringFALSEComma delimited list of TCP Filters
OSDAdapter0UDPFilterPortListstringFALSEComma delimited list of IDP Filters
OSDAdapter0IPProtocolFilterListstringFALSEComma delimited list of IP Protocol FIlters
OSDDiskIndexstringFALSEDisk index used for Partitioning (Default is 0)
OSDPartitionsstringFALSENumber of Partitions listed here (Default is None, max of 2, use Default configuration)
OSDPartitions0TYPEstringFALSEType of partition (Default: Primary, can be Logical or extended)
OSDPartitions0FILESYSTEMstringFALSEType of File System (Default: NTFS, can be FAT32)
OSDPartitions0BOOTABLEstringFALSETrue/False - Is the partition bootalbe (default: True if 1st partition)
OSDPartitions0QUICKFORMATstringFALSETrue/False - Shall the format be quick (default: True)
OSDPartitions0VOLUMENAMEstringFALSEVolume name
OSDPartitions0SIZEstringFALSESize of partition
OSDPartitions0SIZEUNITSstringFALSESize units of partition (default: MB, can be GB or %)
OSDPartitions0VOLUMELETTERVARIABLEstringFALSEVariable Name to receive DriveLetter
OSDPartitions1TYPEstringFALSEType of partition (Default: Primary, can be Logical or extended)
OSDPartitions1FILESYSTEMstringFALSEType of File System (Default: NTFS, can be FAT32)
OSDPartitions1BOOTABLEstringFALSETrue/False - Is the partition bootalbe (default: True if 1st partition)
OSDPartitions1QUICKFORMATstringFALSETrue/False - Shall the format be quick (default: True)
OSDPartitions1VOLUMENAMEstringFALSEVolume name
OSDPartitions1SIZEstringFALSESize of partition
OSDPartitions1SIZEUNITSstringFALSESize units of partition (default: MB, can be GB or %)
OSDPartitions1VOLUMELETTERVARIABLEstringFALSEVariable Name to receive DriveLetter
Roles
Property IDTypeOverwrite ?Description
OSRolesstringFALSEComma-delimited list of role IDs to be installed
OSRoleServicestringFALSEComma-delimited list of role service IDs to be installed
OSFeaturesstringFALSEComma-delimited list of features to be installed
Configure ADDS
Property IDTypeOverwrite ?Description
ReplicaOrNewDomainstringFALSEChooses whether the domain controller will be a replica or part of a new domain
NewDomainstringFALSEChoice between a new forest or new domain in an existing tree or a new domain in a new tree
NewDomainDNSNamestringFALSEDNS domain name of new domain
ParentDomainDNSNamestringFALSEParent DNS domain
ReplicaDomainDNSNamestringFALSEReplica DNS domain
ChildNamestringFALSEName of child domain
DomainNetBiosNamestringFALSENetBios Name
ForestLevelstringFALSEForest Level
DomainLevelstringFALSEDomain functional level
AutoConfigDNSstringFALSEChooses to auto configure DNS
ConfirmGCstringFALSEChooses whether to Confirm communication to GC
CriticalReplicationOnlystringFALSEChooses to only replicate critical information
ADDSUserNamestringFALSEUsername chosen to run dcpromo
ADDSUserDomainstringFALSEDomain for user chosen to run dcpromo
ADDSPasswordstringFALSEPassword for user chosen to run dcpromo
ReplicationSourceDCstringFALSEDC used to replicate content
DatabasePathstringFALSEPath to store the AD database
LogPathstringFALSEPath to store the AD database logs
SysVolPathstringFALSEPath to store the SYSVOL
SafeModeAdminPasswordstringFALSEPassword used for safemode recovery
SiteNamestringFALSEAD SiteName
Configure DHCP
Property IDTypeOverwrite ?Description
DHCPServerOptionRouterstringFALSERouters for the DHCP Server Option
DHCPServerOptionDNSServerstringFALSEDNS Server for the DHCP Server Option
DHCPServerOptionWINSServerstringFALSEWINS Server for the DHCP Server Option
DHCPServerOptionDNSDomainstringFALSEDNS domain for the DHCP Server Option
DHCPServerOptionNBTNodeTypestringFALSENBT NodeType for the DHCP Server Option
DHCPServerOptionPXEClientstringFALSEPXE Client option for the DHCP Server Option
DHCPScopesstringFALSENumber of DHCP Scopes to Configure
DHCPScopes0SubnetMaskstringFALSESubnet mask for the first DHCP Scope
DHCPScopes0IPstringFALSEIP Subnet for the first DHCP Scope
DHCPScopes0NamestringFALSEName for the first DHCP Scope
DHCPScopes0DescriptionstringFALSEDescription for the first DHCP Scope
DHCPScopes0StartIPstringFALSEStarting IP address the first DHCP Scope
DHCPScopes0EndIPstringFALSEEnding IP for the first DHCP Scope
DHCPScopes0ExcludeStartIPstringFALSEStart of the excluding IP range for the first DHCP Scope
DHCPScopes0ExcludeEndIPstringFALSEEnd of the excluding IP range for the first DHCP Scope
DHCPScopes0OptionRouterstringFALSERouter of the excluding IP range for the first DHCP Scope
DHCPScopes0OptionDNSServerstringFALSEDNS Server for the first DHCP Scope
DHCPScopes0OptionWINSServerstringFALSEWINS Server for the first DHCP Scope
DHCPScopes0OptionDNSDomainNamestringFALSEDNS Domain Name for the first DHCP Scope
DHCPScopes0OptionNBTNodeTypestringFALSENBT Node Type for the first DHCP Scope
DHCPScopes0OptionLeasestringFALSELease Duration for the first DHCP Scope
DHCPScopes0OptionPXEClientstringFALSEPXE Client for the first DHCP Scope
Authorize DHCP
Property IDTypeOverwrite ?Description
UserNamestringFALSEUsername used to authorize DHCP
PasswordstringFALSEPassword used to authorize DHCP
Configure DNS
Property IDTypeOverwrite ?Description
DNSZonesstringFALSENumber of DNS Zones to Configure
DNSZones0NamestringFALSEName of the first DNS Zone
DNSZones0TypestringFALSEType of Zone
DNSZones0MasterIPstringFALSEPrimary IP for the zone
DNSZones0DirectoryPartitionstringFALSEAD Partition to store the zone
DNSZones0FileNamestringFALSEFile Name of the first DNS Zone
DNSZones0ScavengestringFALSEEnables scavenging
DNSZones0UpdatestringFALSEEnables dynamic updates
DNSServerOptionDisableRecursionstringFALSEDisables recursion on the DNS server
DNSServerOptionBINDSecondariesstringFALSEAllows BIND secondaries
DNSServerOptionFailOnLoadstringFALSEToggles fail on load
DNSServerOptionEnableRoundRobinstringFALSEEnables Round Robin
DNSServerOptionEnableNetmaskOrderingstringFALSEEnables netmask ordering
DNSServerOptionEnableSecureCachestringFALSEEnables cache security
DNSServerOptionNameCheckFlagstringFALSEName Check Flag
Configure WINS
Property IDTypeOverwrite ?Description
WINSPartnersstringFALSENumber of WINS Partners to Configure
WINSPartners0NamestringFALSEName of the first WINS partner
WINSPartners0TypestringFALSEType of the WINS partner
WINSPartners0IPstringFALSEIP address of the first WINS partner
Values used for SCCM Scenarios
Property IDTypeOverwrite ?Description
OSDImageIndexstringFALSEIndex of installation image within WIM (Used for OEM Scenario).
OSDInstallEditionIndexstringFALSEIndex of installation image within WIM (Used for OEM Scenario).
ConfigFileNamestringFALSEFilename of config file (example: unattend.xml (Used for OEM Scenario).
OSDAnswerFilePathstringFALSEpath for answer file (example: c:\unattend.xml) (Used for OEM Scenario).
OSDImageCreatorstringFALSEUser ID of installation account (Used for OEM Scenario).
OSDInstallTypestringFALSEInstallation Type (example: SysPrep ) (Used for OEM Scenario).
OSDTargetSystemDrivestringFALSEDisk Drive used to install OS (Used for OEM Scenario).
OSDTargetSystemRootstringFALSEInstall path for OS (Used for OEM Scenario).
OSDiskstringFALSEDisk drive used to install OS, typically written by ZTIDiskPart.wsf (Used for OEM Scenario).
OSVersionNumberstringFALSEOS Major and Minor version number (example: 6.0) (Used for OEM Scenario).
OSArchitecturestringFALSEOS CPU Architecture Type (example: x86 or x64) (Used for OEM Scenario).
ImagePackageIDstringFALSEPackage ID for the OS image to install (Used for OEM Scenario).
InstallPackageIDstringFALSEPackage ID for the OS image to install (Used for OEM Scenario).
OSDImagePackageIDstringFALSEPackage ID for the OS image to install (Used for OEM Scenario).
ConfigFilePackagestringFALSEPackage ID for the Configuration Package to use for installation (Used for OEM Scenario).
Lists
Property IDTypeOverwrite ?Description
PackageslistList of SMS packages that should be installed
ApplicationslistList of applications (GUIDs) that should be installed
MandatoryApplicationslistList of applications (GUIDs) that will be installed
AdministratorslistList of groups and users to add to the Administrators group
PowerUserslistList of groups and users to add to the Power Users group
DriverPathslistDriver path UNCs that should be used (no default)
DriverGrouplistDriver groups that should be used (default is All Drivers)
StorageDriverGrouplistStorage Driver groups that should be used for XP/2003 (default is All Drivers)
StorageDriverSysPrepGrouplistStorage Driver groups that should be used XP/2003 during SysPrep (default is All Drivers)
DomainOUslistOptional list of Domain OU's to be displayed to users.
USMTMigFileslistFALSEUSMT XML files that should be used when running Scanstate and Loadstate
GroupslistFALSEList of local security groups to capture and restore (default is 'Administrators' and 'Power Users')
LanguagePackslistList of language packs (GUIDs) to be installed
PackageGrouplistPackage groups that should be used (default is All Drivers)
RolelistFALSESpecifies roles that should be assigned to the computer
LocationlistFALSELocations for the computer (typicaly resolved via a database lookup based on the default gateway)
WUMU_ExcludeKBlistList of Windows Update/Microsoft Update patches to ignore (by associated KB Articles)
WUMU_ExcludeIDlistList of Windows Update/Microsoft Update patches to ignore (by associated Update ID)

Saturday 9 October 2010

Netsh ile TCP/IP ayarlarinizi kaydetmek ve yuklemek.

Netsh.exe yi IP adresi, subnet mask, default gateway, dns ve wins adresleri TCP/IP ayarlarini yapmak icin kullanabilirsiniz, Netsh komut satirinda calisan bir arac olup, script yazarken kullanabileceginizden oturu oldukca kullanisli bir aractir. Ayni zamanda hem uzerinde calistigi hem de uzaktaki bir bilgisayarin TCP/IP konfigurasyonunu ayarlamak icinde kullanilabilir.

Asagida basit bir sekilde mevcut ag ayarlarinizi nasil yedeklebileceginiz ve gerektiginde nasil geri
yukleyebileceginiz ile ilgili bir ornek bulacaksiniz. Ornegin dizustu bir bilgisayariniz ve bu bilgisayari hem evde hem is yerinde kullaniyorsunuz, netsh yardimi ile asagida iki farkli lokasyonun IP ayarlarini yedekleyecegiz.

Bilgisayarinizda devamli kullandiginiz aglardan birinin ev digerinin ise isyeriniz oldugunu farzedelim, ve bu iki lokasyonda da calisan duzgun ag ayarlanizi ayri dosyalara yedekleyelim.

Ilk olarak bilgisayarimizin ev agimiza bagli oldugunu ve arzuladigimiz sekilde calistigini varsayarak mevcut konfigurasyonun yedegini asagidaki sekilde alalim.
NetshDumpEv

Daha sonra ayni komutla mevcut is yerimizdeki konfigurasyonumuzuda diledigimiz bir isimle kaydedelim

 

Bundan sonra bu konfigurasyon ayarlarini katdettigimiz lokasyonlar arasinda yer degistirdigimizde sadece bulundugumuz yerin daha once kaydettigimiz ayarlarini asagidaki sekilde geri yukleyerek, rahatca TCP/IP ayarlarimizi yapabiliriz, hatta isterseniz, geri yukleme komutlari icin birer kisayol yaratip bu isi daha da kolaylastirabilirsiniz.

NetshLoadIs

Thursday 7 October 2010

How to install HP Quick Launch Button Application and Driver silently via MDT

1. Download the driver pack from HP, the version I used is SP44777.exe
2. Extract the package to a folder, e.g : C:HPQLBD
3. Run CMD and CD to C:HPQLBD
3. Run setup.exe -r -f1"c:setup.iss" and install the application as you wish
4. Uninstall the application if you don't need on your work computer.
5. Copy the newly generated C:setup.iss file to C:HPQLBD folder, confirm to overwrite the old one.
6. Compress the folder with WinRAR
7. Open the .RAR file with WinRAR and select ToolsConvert Archive to SFX
8. Select Advanced SFX Options
9. Write setup.exe -s to Run after extraction section
2009-10-07 16.00-01
10.Modes TAB : Select Unpack to temporary folder box, and Hide all button.
11.Select OK, and close Winrar.
2009-10-07 16.04-02
12.Ready, create the application on MDT , use just your sfx rar package name as silent installation command.
2009-10-07 16.00-01