Windows: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Configure network:
==Configure network==
# Static ip.
# Static ip.
  netsh interface ip set address name="Local Area Connection" static 192.168.122.41 255.255.255.0 192.168.122.1 1
  netsh interface ip set address name="Local Area Connection" static 192.168.122.41 255.255.255.0 192.168.122.1 1
Line 6: Line 6:
# extract msi
# extract msi
  msiexec /a "C:\software.msi" /qb TARGETDIR="C:\Folder"
  msiexec /a "C:\software.msi" /qb TARGETDIR="C:\Folder"
# restart via rdesktop
==restart via rdesktop==
  CTRL + ALT + END
  CTRL + ALT + END
==alternative shutdown==
==alternative shutdown==
  shutdown -t 0 -r -f
  shutdown -t 0 -r -f

Revision as of 10:21, 26 June 2012

Configure network

  1. Static ip.
netsh interface ip set address name="Local Area Connection" static 192.168.122.41 255.255.255.0 192.168.122.1 1
  1. Dhcp
netsh interface is set address name="Local Area Connection" dhcp
  1. extract msi
msiexec /a "C:\software.msi" /qb TARGETDIR="C:\Folder"

restart via rdesktop

CTRL + ALT + END

alternative shutdown

shutdown -t 0 -r -f