Archiv podle štítků: Microsoft - Stránky 2
Co je to GPT disk ?
SCVVM 2008 R2 & DHCP
Měl jsem na testovaní nastavené DHCP na serveru SCVVM 2008 R2 …. nikdy to nedělejte. Chová se to pak naprosto neočekávaně, například při tvorbě templatu napíše
VMM is unable to complete the requested operation because the server name " " could not be resolved.
Stačí přehodit na static IP a vše je v pořádku
2 MS knížky ke stažení zdarma
Introducing Windows Server 2008 R2
http://www.microsoft.com/learning/en/us/training/windowsserver.aspx#offers
Microsoft SQL Server 2008 R2
http://www.microsoft.com/learning/en/us/training/sql-server.aspx#offers
Service overview and network port requirements for the Windows Server system
IIS7 bind na danou IP a port
Pokud potřebujete nastavit IIS aby bindoval pouze na daném portu a IP je nutné mu to říct přes NETSH.
netsh
http
add iplisten address=x.x.x.x:x
exit
iisreset
Pro výpis IP adres slouží příkaz "show iplisten". Ke smazání IP adres "del iplisten address=x.x.x.x:x". Tohoto lze využít pokud máte na serveru více IP address a potřebujete na každé IP adrese použít např. port 80 (IIS, Apache).
EventID 4105 Terminal Server Windows Server 2008 R2
Po nainstalování terminal services v Windows Server 2008 R2 se na licencnim serveru (2008 R2) oběvuje chyba 4105.
The Remote Desktop license server cannot update the license attributes for user „berchin“ in the Active Directory Domain „xxxx.xx“. Ensure that the computer account for the license server is a member of Terminal Server License Servers group in Active Directory domain „xxx.xx“.
If the license server is installed on a domain controller, the Network Service account also needs to be a member of the Terminal Server License Servers group.
If the license server is installed on a domain controller, after you have added the appropriate accounts to the Terminal Server License Servers group, you must restart the Remote Desktop Licensing service to track or report the usage of RDS Per User CALs.
Win32 error code: 0×80070005
I když všechny podmínky splníte chyba se bude opakovat. Našel jsem na internetu script jak toto chování opravit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # Description: This script will add missing permissions for the Terminal #Server License Server group to user objects in Active Directory. # This may solve problems with TS CALs not beeing issued and event id #4105 being logged at the license server. # Constants $URL = "LDAP://DC=mydomain,DC=com"; cls $root = New-Object DirectoryServices.DirectoryEntry $URL $ds = New-Object DirectoryServices.DirectorySearcher $ds.SearchRoot = $root $ds.filter = "objectCategory=Person" $src = $ds.findall() write-host "Found" $src.count "user objects.`n" $src | %{ $de = $_.getdirectoryentry() $accessrules = $de.get_objectsecurity().getaccessrules($true, $false,[System.Security.Principal.SecurityIdentifier]) | ?{$_.ObjectType -eq "5805bc62-bdc9-4428-a5e2-856a0f4c185e"} if ((measure-object -inputobject $accessrules).count -eq 0) { $ar = new-object System.DirectoryServices.ActiveDirectoryAccessRule([System.Security.Principal.SecurityIdentifier]"S-1-5-32-561", 48, "Allow", [guid]"5805bc62-bdc9-4428-a5e2-856a0f4c185e") $de.get_objectsecurity().addaccessrule($ar) $de.commitchanges() write-host -f yellow ("Added:`t" + $de.properties["sAMAccountName"]) start-sleep -m 200 } else { write-host -f green ("OK:`t" + $de.properties["sAMAccountName"]) } } |
Zdroj:
Logon skript Windows 7, Vista – UAC
Malej hint. Pokud ve firmě používáte k mapování sítových disků logon skripty a na klientech máte zapnuté UAC, je důležité nastavit u klientů v klíči
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
EnableLinkedConnections na hodnotu 1. Bez tohoto nastavení se Vám disky nenamapují ( doplnění: někdy nenamapují a uživatel je členem skupiny administrators
)
ADMT v3.2
Vyšla nová verze ADMT s podporou Windows 2008 R2 a Windows 7.
http://blogs.technet.com/b/askds/archive/2010/06/19/admt-3-2-released.aspx