Windows Stuff

How to Crack a Windows Login

net user [username] [password]

Here is a working method

Boot the computer into a mode that gives you access to the command prompt. if you use a windows installer, select the repair computer option.

At the command prompt, change directory to C:\windows\system32

copy cmd.exe to replace utilman.exe using the following commands

move utilman.exe utilman.bak
copy cmd.exe utilman.exe

Reboot

Boot in normal mode, at the login screen use crtl+alt+del to open the windows login dialog, then use windowskey+u and the command prompt should open.

In the command prompt window type

net user [username] [password]

Commands for troubleshooting TCP/IP

arp
hostname
ipconfig
nbstat
netsh
netstat
nslookup
ping
route
tracert
pathping
netdiag
telnet
ttcp

Reclaim disk space from system volume information

To see the space allocated

vssadmin list shadowstorage

To see the current restore information

vssadmin list shadows

To resize the maximum allocated space

vssadmin resize shadowstorage /on=[X]: /For=[X]: /maxsize=[X]GB
	Example:
	vssadmin resize shadowstorage /on=c: /for=c: /maxsize =10GB

Management

Remote shutdown

shutdown /r /m \ComputerName /c "Comment" /d [u|p] :

Local users

net user username password
net user /active:yes

Time

net time \ /set /yes

Install schema master (Domain Controller)

regsvr32 schmmgmt.dll

Print Management in Home Premium

printui /s /t2

Terminal Server Has Exceeded the Maximum Number of Allowed Connections

query session /server:[servername]
reset session [ID] /server:[servername]

Remote Desktop Connection

mstsc /v:[computername or IP] /console

Dell service tag, SN, bios

wmic bios get serialnumber
wmic useraccount get name,sid
wmic bios get smbiosbiosversion

Windows Registry Stuff

Enable Net RPC Access to Windows Computers

HKEY\_LOCAL\_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

	Create DWORD LocalAccountTokenFilterPolicy = 1

Redirect user shell folders

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Resolve DNS server issues

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Dns\Client

Can’t join domain (DNS issue)

HKLM\System\CurrentControlSet\Services\LanMan\Workstation\Parameters

	Create DWORD DomainCompatibilityMode = 1
	Create DWORD DNSNameResolutionRequired = 0

Server Manager keeps crashing

Change this key

HKLM\SOFTWARE\Microsoft\ServerManager\ServicingStorage\ServerComponentCache

to

HKLM\SOFTWARE\Microsoft\ServerManager\ServicingStorage\ServerComponentCache.OLD

categories · links · piano · posts · scripts · THEAARBS · home