Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents

Table of Contents

Technologies

Microsoft Windows Server

...

Microsoft Windows Server 2003 (R2)

Setup IAS Radius Server for 802.1x Auth

...

  1. Start Registry Editor (Regedit.exe).
  2. Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
  3. On the Edit menu, point to New, and then click Multi-string Value.
  4. Right-click the new value, click Rename, type ReservedPorts, and then press ENTER.
  5. Double-click the ReservedPorts value, type the range of ports that you want to reserve, and then click OK.
    • Note You must type the range of ports in the following format:

      Code Block
      
      xxxx-yyyy
      
    • To specify a single port, use the same value for x and y. For example, to specify port 4000, type 4000-4000.
    • Warning If you specify the continuous ports separately and if one port is reserved and not used, the next port is not correctly reserved, and it is used.
  6. Click OK.
  7. Quit Registry Editor

Microsoft Windows Server 2008 (R2)

Windows Server 2008 R2 Print Logging

  1. Login to the server
  2. From Server Manager, expand Diagnostics and Event Viewer
  3. Expand Applications and Services Logs
  4. Expand the Microsoft folder, expand the Windows folder
  5. Expand the PrintServices folder
  6. Right-click on the Operational Log, and click Enable Log

Disabling UAC via Group Policy

...

  1. Open an elevated command prompt with domain administrative permissions.
  2. Execute the following command line:

    Code Block
    
    certreq -submit -attrib "CertificateTemplate: WebServer" visualsvn.req visualsvn.cer
    
  3. Choose the appropriate Certification Authority in the dialog box and press the OK button.
  4. If you have domain administrator access permissions, the issued certificate will be saved in a file named visualsvn.cer.

...

The Registry subkeys for services are located in the following path and can control how services are loaded.

Code Block

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<Service name>

...

  1. Click Start, click Administrative Tools, right-click Active Directory Module for Windows PowerShell, and then click Run as administrator
  2. Insert the following Command: 

    Code Block
    Enable-ADOptionalFeature -Identity 'CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=contoso,DC=com' -Scope ForestOrConfigurationSet -Target 'contoso.com'

...

  1. Click Start, click Administrative Tools, right-click Active Directory Module for Windows PowerShell, and then click Run as administrator
  2. Insert the following Command: 

    Code Block
    Get-ADObject -Filter {String} -IncludeDeletedObjects | Restore-ADObject

    Example: 

    Code Block
    Get-ADObject -Filter {displayName -eq "Mary"} -IncludeDeletedObjects | Restore-ADObject

...

note: In 2008 you will have to start procexp.exe with "Administrator rights" in order to kill processes.

Notes

How to

...

cleanup the winsxs folder

The winsxs folder in c:\windows can be really big, the only way to cleanup is using the microsoft command line tools :

Windows Server 2003 : VSP1CLEAN.exe
Windows Server 2008 : COMPCLN.exe
Windows 7 and Server 2008 R2 : DISM.exe

I will explain the last one here.  Start you’re command prompt As Administrator.

Usage:

Code Block
themeEmacs
languagepowershell
dism /online /cleanup-image /spsuperseded

You can also run these commands :

Code Block
themeEmacs
languagepowershell
Takeown /f %windir%\winsxs\ManifestCache\*
Icacls %windir%\winsxs\ManifestCache\* /GRANT administrators:F
Del /q %windir%\winsxs\ManifestCache\*

 

Notes

...