Windows: Difference between revisions
Jump to navigation
Jump to search
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 network== | |||
route -f | |||
ipconfig /release | |||
ipconfig /renew | |||
arp -d * | |||
nbtstat -R | |||
nbtstat -RR | |||
ipconfig /flushdns | |||
ipconfig /registerdns | |||
==Profile== | ==Profile== | ||
# Profile | # Profile |
Revision as of 14:54, 14 March 2013
Configure network
- 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
- Dhcp
netsh interface is set address name="Local Area Connection" dhcp
- extract msi
msiexec /a "C:\software.msi" /qb TARGETDIR="C:\Folder"
restart network
route -f ipconfig /release ipconfig /renew arp -d * nbtstat -R nbtstat -RR ipconfig /flushdns ipconfig /registerdns
Profile
- Profile
C:\Users\abjorklund\AppData\Roaming\Microsoft\Windows\Start Menu
restart via rdesktop
CTRL + ALT + END
alternative shutdown
Shutdown with restart
shutdown /t 0 /r /f
Shutdown
shutdown /t 0 /s /f
change password
Start a command prompt as administrator.
net user username password
is your account locked. bat file
@echo off :again date /t & time /t net user /domain mdinkel > c:\temp\mdinkel find "active" c:\temp\mdinkel timeout 10 goto again