Windows/cmd

Aus SchnallIchNet
Wechseln zu: Navigation, Suche

get service list

net start

print a list of all started services

sc queryex type= service state= all
sc query type= service state= all

print list of all services and their state


force GPO refresh without reboot

gpupdate


extract a CAB-file (Win7)

expand <source>.cab -f:<files> <destination>

e.g.

expand test.cab -f:* .

-f for specifying a file/files to be extracted: -f:*.dll will extract all dll-files


'mount' folder as drive

to get a local folder mapped as a drive in windows

subst X: C:\users\USERNAME\test

this creates a drive X in explorer wich maps to C:\users\USERNAME\test
this mapping is gets lost on shutdown.


IPv6 (XP)

Found VIA

Install IPv6

netsh int ipv6 install


Uninstall IPv6

netsh int ipv6 uninstall


IPv6 (>= Vista/Win7)

ipv6 related commands Found VIA


Show configuration

netsh interface ipv6 show 


Privacy extensions

netsh interface ipv6 set privacy [[state=]enabled|disabled]


disable privacy extension persistent:

netsh interface ipv6 set privacy state=disabled store=active
netsh interface ipv6 set privacy state=disabled store=persistent
netsh interface ipv6 set global randomizeidentifiers=disabled store=active
netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent