Windows: Difference between revisions
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
Start a command prompt as administrator. | Start a command prompt as administrator. | ||
net user username password | 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 |
Revision as of 10:43, 26 November 2012
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"
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