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) |
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"
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
C:\Windows\Minidump\ 083012-11684-01.dmp 083012-11715-01.dmp ...Analyse with
mklink /d "D:\Pfad1\Linkname" "X:\Pfad2\Reales Verzeichnis"mdlink Hinweise:
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 |
http://support.microsoft.com/kb/315231/de
cmd /c shutdown /s /c "Fernsehaufnahme" /d p:0:0(Augabenplanung = %windir%\system32\taskschd.msc /s)
http://www.aponet.de/notdienst/index.php
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:
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:
netstat -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".
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
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
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.