Difference between revisions of "Windows"

From Blue-IT.org Wiki

(Reset winsock)
(Gain admin access on cmd)
Line 5: Line 5:
  
 
== Gain admin access on cmd ==
 
== Gain admin access on cmd ==
 +
 +
The so called "elevated" command prompt can be gained in a few ways:
  
 
1. open cmd as admin
 
1. open cmd as admin

Revision as of 07:08, 15 May 2014

Windows 7

Trouble, trouble, trouble ...

But some people want to have trouble, so I will help them, and get some money for it!

Gain admin access on cmd

The so called "elevated" command prompt can be gained in a few ways:

1. open cmd as admin

net user administrator /active:yes

Reboot

Now the admin is in the login window

2. Enter cmd.exe in startmenu and open it with rightclick "run as admin"

3. open cmd and add yourself to the admin group (DANGEROUS!!!)

net localgroup administratoren %username% /add

Networking

  • 4sysops.com/archives/if-wifi-is-not-working

Reset winsock

Sometimes the windows network stack (winsdock) ist broken.

To solve the problem: open a cmd window (you need an "elevated" command prompt: right click as admin!).

netsh winsock reset
#netsh int ip reset catalog
#netsh int ip reset reset.log

netsh int ipv4 reset

Reboot

Same with Fix-Link

Repair missing system services

This will reinstall important system

sfc /scannow