wiki:windows/configuration

Version 9 (modified by joergs, on Jan 26, 2012 at 2:32:58 PM) ( diff )

wmic opsi

Windows Configuration

Remarks about how to configure Windows, mainly from generating OPSI packages.

Hardware Information

# get computer system product information
wmic csproduct get

# get computer system product name, eg. Latitude D420
wmic csproduct get name /format:value

From OPSI:

[Actions]
DefStringList $ResultList$
DefVar $HardwareSystemType$
set $ResultList$ = getOutStreamFromSection('DosInAnIcon_get_hardware_system_type')
set $HardwareSystemType$ = trim( getValue( "Name", $ResultList$ ) )

[DosInAnIcon_get_hardware_system_type]
wmic csproduct get name /format:value
systeminfo /?

Bildschirmschoner

user specific

wmic desktop

Powersettings

powercfg

executing program on remote system

wmic /node:"%1" /user:bob.carroll process call create "cmd.exe /c whatever.exe"

Registry

regdiff

# compare 2 registry files and generate a new file which only contains the differences
regdiff  file1.reg file2.reg -4 -d diff.reg

http://p-nand-q.com/download/regdiff.html

Infos

Note: See TracWiki for help on using the wiki.