Fix Windows 11 (System File Checker)#
- Windows + S, type cmd, run as administrator
- sfc /scannow
Windows BIOS öffnen#
- <DEL>, <F10> or <BS>
- Windows 10: hold <Shift> and click "Restart"
- Windows 10: ???
- hold <F2> and start system
Windows Server#
Fehler bei der Installation eines Programms:Die Vertrauensstellung zwischen der primären Domäne und der vertrauenswürdigen Domäne konnte nicht hergestellt werdenGlossary
PDC | Primary Domain Controller |
BDC | Backup Domain Controller |
Domäne | xy.firma.com (Siehe Systemsteuerung > System) |
Server | servername (ohne .xy.firma.com) |
1. cmd
2. PDC ermitteln
C:\> nltest /dsgetdc:xy.firma.com /PDC Domänencontroller: \\dc12345.xy.firma.com Adresse: \\123.234.456.678 Domänen-GUID: 1abc5678-1234-987a-9876-1234abcd1234 Domänenname: xy.firma.com Gesamtstrukturname: firma.com DC-Standortname: stabc100 Unserer Standortname: stabc200 Kennzeichen: PDC GC DS LDAP KDC TIMESERV BESCHREIBBAR DNS_DC DNS_DOMAIN DNS_FOREST=> also "dc12345.xy.firma.com"
3. Den PDC explizit setzen
C:\> nltest /SC_RESET:xy.firma.com\dc12345.xy.firma.com
Andere Versuche (erfolglos)
gpupdate /Force /Boot SECEDIT /REFRESHPOLICY MACHINE_POLICY /ENFORCE SECEDIT /REFRESHPOLICY USER_POLICY /ENFORCE nltest.exe /? nltest /sync nltest /dcname:xy.firma.com nltest /dclist:xy.firma.com /PRIMARY nltest /DOMAIN_TRUSTS /PRIMARY /V nltest /sc_reset:xy.firma.com nltest /SERVER:<servername> /sync
Windows 8#
Blue Screen * Minidump#
Stored underC:\Windows\Minidump\ 083012-11684-01.dmp 083012-11715-01.dmp ...Analyse with
- BlueScreenView
- Windows Debug-Tools WinDbg from SDK, see here
Windows Gadgets#
The microsoft gadgets download page has been disabled.Alternatives:
- You have to go to the Micsrosoft apps gallery now.
- Search in Google with "Windows Minianwendung"
- Visit http://windows7gadgets.net/gadgets
Symbolische Links#
Seit Windows Vista bzw. Windows 2008 geht folgender Befehl (siehe Wikipedia)mklink /d "D:\Pfad1\Linkname" "X:\Pfad2\Reales Verzeichnis"mdlink Hinweise:
- Hardlinks sind nur für Dateien möglich
- Juntions sind auch für Verzeichniss möglich
mklink /j "D:\Pfad1\Linkname" "X:\Pfad2\Reales Verzeichnis"
Use cases
mklink /j "C:\Users\Markus\AppData\Local\Microsoft\Windows\Themes" "D:\Shared\WindowsThemes" mklink /j "C:\Users\Markus\Documents\Anno 1404" "M:\Spiele\ANNO 1404\MarkusSaveGames"
Alternativen: subst, fsutil
fsutil hardlink create c:\foo.txt c:\bar.txtoder junction
junction [-d] <Verbindungsverzeichnis> [<Verbindungsziel>]
DNS Server wechseln
Windows Icons, see {Window-Home}\System32
Shell32.dll |
DDORes.dll |
Imageres.dll |
wmploc.dll |
Anmeldebildschirm deaktivieren#
http://support.microsoft.com/kb/315231/de
Shutdown#
Aufgabenplanung > Aufgabenplanungsbibliothek > Shutdown2cmd /c shutdown /s /c "Fernsehaufnahme" /d p:0:0(Augabenplanung = %windir%\system32\taskschd.msc /s)
Mixed#
64bit@Windischhttp://www.aponet.de/notdienst/index.php
Network#
Connect Windows 7 Prof. with Windows XP Home#
I wanted to use my old WinXP computer as backup solution and had some difficulties to connect both over a router via network. Here are some hints to look for:
1. You cannot use the new homegroup in Windows 7 when Windows XP is the destination, use the old workgroup
2. Put both computers into a workgroup with the same name.
3. You can use the DHCP from the router, static IP addresses are not necessary (often suggested in the internet)
4. You also do not need the same username on both computers, nor the guest account
5. You need to delete all the IP6to4 adapters. I had suddenly over 600 (!) devices of it and they blocked the connection somehow. There is a tool called devcon. If you have a 386 (32bit) or an Intel Itanium (64bit) then you can download it here. But if you have a general Intel/AMD 64bit System you need the special 64bit version:
- Download Windows Server 2003 Service Pack 2, x64 Editions - ISO-9660 CD Image File
- You find it in the ..\w2k3sp2_3959_usa_x64fre_spcd\SUPPORT\TOOLS\SUPPORT.CAB file
- Start Windows 7 in the safe mode with command line (hit F8 during boot), then the removal is much faster (otherwise it took around a minute each)
- I renamed this devcon to devcon64 and used this command line
devcon64 remove *6TO4MP*
6. Make sure your network card properties match on both computers. I had a problem with jumbo frames, simply use the default, if any is marked as default.
7. If you have multiple network cards (or a additional TV card using TCP/IP like I) make sure the LAN card of choice is top of the priority list under Menu/Advanced/Advanced in the network settings. This helps by the way also for UPnP (in my case to the PS3).
There are some other hints in the internet, but I did not needed them:
- secpol.msc > Lokale Sicherheitseinstellungen.Sicherheitseinstellungen. Lokale Richtlinien.Sicherheitsoptionen.Netzwerksicherheit : LAN-Manager und Authetifizierungsebene auf LM- und NTLM-Antworten senden (NTLMv2-Sitzungssicherheit verwenden, wenn ausgehandelt) setzen
- Do not use special characters like "@" in the work group or computer name (I never would think of it)
- General Network Tutorial
- devcon from Windows Driver Kit (WDK) 7.1.0 ..\GRMWDK_EN_7600_1\WDK\setuptools_x64fre_cab001.cab
Port Check#
You can check port usage withnetstat -anoand find the related program via the pid with
tasklist /FI "PID eq 6012"If netstat does not show anything, it is definetly not blocked by a service. Then it is a security issue. Most probably it is blocked by the virus scanner.
You can use also wireshark to listen to a port, but if the related process is not using it, you will not see who is using it. To do choose "Capture Options", "Capture option" = "tcp port 8080" and click "Start".
Administration Tools#
Computerverwaltung: %SystemRoot%\system32\compmgmt.msc /s
Datenträgerverwaltung: %SystemRoot%\system32\diskmgmt.msc
Defragmentierung: %SystemRoot%\system32\dfrg.msc
Dienste: %SystemRoot%\system32\services.msc /s
Ereignisanzeige: %SystemRoot%\system32\eventvwr.msc /s
Gerätemanager: %SystemRoot%\system32\devmgmt.msc
Gruppenrichtlinieneditor: %SystemRoot%\system32\gpedit.msc
Komponentendienste: %SystemRoot%\system32\Com\comexp.msc
Leistung: %SystemRoot%\system32\perfmon.msc /s
Lokale Sicherheitsrichtlinie: %SystemRoot%\system32\secpol.msc /s
Lokale Benutzer und Gruppen: %SystemRoot%\system32\lusrmgr.msc /s
Policy-Editor: %SystemRoot%\system32\secpol.msc
Software-Installation appwiz.cpl
Windows 7 GodMode#
Create Folder with name "GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}" and open it.Windows ftp#
FTP [-v] [-d] [-i] [-n] [-g] [-s:Dateiname] [-a] [-A] [-x:Sendepuffer] [-r:Empfa ngpuffer] [-b:Asynchronpuffer] [-w:Fenstergröße] [Host] -v Unterdrückt das Anzeigen von Remoteserverantworten. -n Unterdrückt automatische Anmeldung bei erster Verbindung. -i Schaltet die interaktive Aufforderung während der Übertragung von mehreren Dateien aus. -d Aktiviert Debugging. -g Deaktiviert Dateinamenglobbing (siehe Befehl GLOB). -s:Dateiname Legt eine Textdatei fest, die FTP-Befehle enthält. Befehle werden automatisch nach dem Start von FTP ausgeführt. -a Verwendet beliebige lokale Schnittstelle bei der Herstellung der Datenverbindung. -A Als anonym anmelden. -x:Sendepuffer Überschreibt die SO_SNDBUF-Standardgröße (8192). -r:Empfangpuffer Überschreibt die SO_RCVBUF-Standardgröße (8192). -b:Asynchronpuffer Überschreibt den Standard Asynchronpuffer (3) -w:Fenstergröße Überschreibt die Standardübertragungsgröße (65535). Host Legt den Hostnamen bzw. die IP-Adresse des Remotehosts fest, mit dem die Verbindung hergestellt wird. Hinweise: Die Befehle - mget und mput erfordern y/n/q für yes/no/quit. - Verwenden Sie STRG+C, um Befehle abzubrechen.
Access ftp site with url
ftp://<user>:<password>@<server>
Batch script:
Note: On Windows Server you have to use "-n" and then put username, password as follows.
If you do not use "-n" you can omit "user" as command.
ftp -d -n -s:ftp_cmd.txt <server>ftp_cmd.txt:
user <user> <password> ascii lcd cd /myfolder dir bye
Windows Credentials / Users#
Credential Manager | control /name Microsoft.CredentialManager | Systemsteuerung > Anmeldeinformationsverwaltung |
KeyStore Dialogue | rundll32.exe keymgr.dll, KRShowKeyMgr | |
Users & Groups | lusrmgr.msc | |
Connect drive letter | net use X: <path> /USER:<domain>\<username> /savecred /p | |
List of saved credentials | cmdkey.exe /list |
If the computer is joined to the domain, DNS is properly configured, and you can communicate with a domain controller you do not have to add domain users as a local user. You just need to logon with the domain user account. At the logon screen pick Switch user. For the account name specify the domain user account in the following format: domain\user where domain is the NETBIOS name of the domain. You can add domain users to local groups (like Administators) but you can't make a domain user a local user.