Private - Guide

Free Tutorial, Guide, Tips, Trik and Application Download..

Minggu, 29 Juli 2012

The WinRM Client Received HTTP server error status (500)


Connecting to remote server failed with the following error message : The WinRM Client Received HTTP server error status (500) Error start up Exchange 2010






Solution :



servermanagercmd.exe -install WinRM-IIS-Ext

Label:

Troubleshooting Exchange 2010 Management Tools startup issues

Resolving WinRM errors and Exchange 2010 Management tools startup failures.
In this blog post, we will be highlighting some of the most common errors that may be seen when attempting to open the Exchange Management tools (Exchange Management Console and Exchange Management Shell).
To start off, you first need to be aware that in Exchange 2010, all management is done via Remote PowerShell, even when opening the Management Tools on an Exchange server. Where this differs from Exchange 2007 is that there is now a much larger dependency on IIS, as Remote PowerShell requests are sent via the HTTP protocol and use IIS as the mechanism for connections. IIS works with the WinRM (Windows Remote Management) service, and the WSMan (Web Services for Management) protocol to initiate the connection.
When you click on the Exchange Management Shell shortcut, a Remote PowerShell session is opened. Instead of simply loading the Exchange snap-in (as we did with Exchange 2007), PowerShell connects using IIS to the closest Exchange 2010 server via WinRM. WinRM then performs authentication checks, creates the remote session and presents to you the cmdlets that you have access to via RBAC (Role Based Access Control).

Since all Remote PowerShell connections go through IIS, we have identified some of the most common errors that may be exhibited when attempting to open the Exchange Management tools along with the most common causes of those errors and how to address these issues. We have attempted to list these in order of frequency.
Issue:
Connecting to remote server failed with the following error message: The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help topic.
Possible causes:
1. Remote PowerShell uses Kerberos to authenticate the user connecting. IIS implements this Kerberos authentication method via a native module. In IIS Manager, if you go to the PowerShell Virtual Directory and then look at the Modules, you should see Kerbauth listed as a Native Module, with the dll location pointing to C:\Program Files\Microsoft\Exchange Server\v14\Bin\kerbauth.dll. If the Kerbauth module shows up as a Managed module instead of Native, or if the Kerbauth module has been loaded on the Default Web Site level (instead of, or in addition to, the PowerShell virtual directory), you can experience this issue. To correct this, make sure that the Kerbauth module is not enabled on the Default Web Site, but is only enabled on the PowerShell virtual directory. The entry type of "Local" indicates that the Kerbauth module was enabled directly on this level, and not inherited from a parent.
2. If the WSMan module entry is missing from the global modules section of the C:\Windows\System32\Inetsrv\config\ApplicationHost.config file, as follows:

          
This will result in the WSMan module displaying as a Managed module on the PowerShell virtual directory.
To correct this, make sure that the WSMan module has been registered (but not enabled) at the Server level, and has been enabled on the PowerShell virtual directory.
3. If the user that is attempting to connect is not Remote PowerShell enabled. To check if a user is enabled for Remote PowerShell, you need to open the Exchange Management Shell with an account that has been enabled, and run the following query.
(Get-User ).RemotePowershellEnabled
This will return a True or False. If the output shows False, the user is not enabled for Remote PowerShell. To enable the user, run the following command.
Set-User -RemotePowerShellEnabled $True
Issue:
Connecting to the remote server failed with the following error message: The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HTTP server that does not support the WS-Management protocol. For more information, see the about_Remote_Troubleshooting Help topic.
Possible Causes:
1. The http binding has been removed from the Default Web Site. A common scenario for this is if you are running multiple web sites, and attempting to set up a redirect to https://mail.company.com/owa by requiring SSL on the Default Web Site, and creating another web site to do the redirect back to the SSL-enabled website.
Remote PowerShell requires port 80 to be available on the Default Web Site. If you want to set up an automatic redirect to /owa and redirect http requests to https, you should follow the instructions located at http://technet.microsoft.com/en-us/library/aa998359(EXCHG.80).aspx and follow the directions under the section "For a Configuration in Which SSL is Required on the Default Web Site or on the OWA Virtual Directory in IIS 7.0".
2. The http binding on the Default Web Site has been modified, and the Hostname field configured. To correct this issue, you need to clear out the Hostname field under the port 80 bindings on the Default Web Site.
Issue:
Connecting to remote server failed with the following error message: The WinRM client received an HTTP server error status (500), but the remote service did not include any other information about the cause of the failure. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true'.
In addition, you may see the following warning event in the System log:
Source: Microsoft-Windows-WinRM
EventID: 10113
Level: Warning
Description: Request processing failed because the WinRM service cannot load data or event source: DLL="%ExchangeInstallPath%Bin\Microsoft.Exchange.AuthorizationPlugin.dll"
Possible Causes
1. The ExchangeInstallPath variable may be missing. To check this, go to the System Properties, Environment variables, and look under the System variables. You should see a variable ofExchangeInstallPath with a value pointing to C:\Program Files\Microsoft\Exchange Server\V14\.
2. The Path of the Powershell virtual directory has been modified. The PowerShell virtual directory must point to the \Program Files\Microsoft\Exchange Server\v14\ClientAccess\PowerShell directory or you will encounter problems.
Issue:
Connecting to remote server failed with the following error message: The connection to the specified remote host was refused. Verify that the WS-Management service is running on the remote host and configured to listen for requests on the correct port and HTTP URL. For more information, see the about_Remote_Troubleshooting Help topic.
Possible Causes:
1. Make sure the MSExchangePowerShellAppPool is running. If it is, try recycling the Application Pool and check for errors or warnings in the Event logs.
2. Make sure that the user that is trying to connect is Remote PowerShell Enabled (see the first error for details on how to check this).
3. Make sure WinRM is properly configured on the server.
a. Run WinRM Quick Config on the server and ensure that both tests pass and no actions are required. If any actions are required, answer Yes to the prompt to allow the WinRM configuration changes to be made.
b. Run WinRM enumerate winrm/config/listener and ensure that a listener is present for the HTTP protocol on port 5985 listening on all addresses.
Issue:
Connecting to remote server failed with the following error message: The WinRM client received an HTTP status code of 403 from the remote WS-Management service.
Possible Causes:
1. The "Require SSL" option has been enabled on the PowerShell Virtual Directory. To resolve this, remove the "Require SSL" option from this Virtual Directory. The Exchange Management Tools connect over port 80, not 443, so if Require SSL is set, when a connection is attempted on port 80, IIS will return a 403 error indicating SSL is required.

Label:

Jumat, 27 Juli 2012

Speed Up Your Firefox

Gw punya sedikit trik buat browser Firefox biar tambah kenceng saat browsing, gw dapet trik ini forum tapi lupa forum mana soalnya langsung gw paste ke notepad,bukan niat membajak tulisan orang tapi hanya ingin menyebarluaskan kebaikan (alah)…


Untuk mempercepat browsing :
1. Ctrl+Enter, ini untuk membuka domain yang menggunakan .com. caranya adalah ketikkan nama domain kemudian klik ctrl+enter. contohnya, anda ingin membuka “www.yahoo.com” jadi ketiklah “yahoo” kemudian klik ctrl+enter
2. Shift+Enter, ini untuk membuka domain yang menggunakan .net. caranya adalah ketikkan nama domain kemudian klik ctrl+enter. contohnya, anda ingin membuka “www.telkom.net” jadi ketiklah “telkom” kemudian klik shif+enter
3. Ctrl+Shift+Enter, ini untuk membuka domain yang menggunakan .org. caranya adalah ketikkan nama domain kemudian klik ctrl+enter. contohnya, anda ingin membuka “www.dikti.org” jadi ketiklah “dikti” kemudian klik Ctrl+Shift+Enter

Tweeking Firefox :
1. Ketik “about:config” di firefox anda kemudian enter
2. Maka akan keluar sebuah settingan untuk tweaking firefox
3. Untuk merubahnya, klik 2 kali dan masukkan data perubahannya
4. Jika data dibawah tidak terdapat dalam settingan default firefox, klik kanan pilih New. Untuk data berupa angka, pilih Integer, untuk true/false pilih Boolean.
- Untuk pengguna DSL :
1. Set “network.http.pipelining : true”
2. Set “network.http.proxy.pipelining : true”
3. Set “network.http.pipelining.maxrequests : 64?
4. Set “nglayout.initialpaint.delay : 0?
- Untuk pengguna ADSL :
1. Set “network.http.max-connections : 64?
2. Set “network.http.max-connections-per-server : 21?
3. Set “network.http.max-persistent-connections-per-server : 8?
4. Set “network.http.pipelining : true”
5. Set “network.http.pipelining.maxrequests : 100?
6. Set “network.http.proxy.pipelining : true”
7. Set “nglayout.initialpaint.delay : 0?
- Untuk pengguna Dial Up
1. Set “browser.cache.disk_cache_ssl : true”
2. Set “browser.xul.error_pages.enabled : true”
3. Set “network.http.max-connections : 32?
4. Set “network.http.max-connections-per-server : 8?
5. Set “network.http.max-persistent-connections-per-proxy : 8?
6. Set “network.http.max-persistent-connections-per-server : 4?
7. Set “network.http.pipelining : true”
8. Set “network.http.pipelining.maxrequests : 8?
9. Set “network.http.proxy.pipelining : true”
10. Set “plugin.expose_full_path : true”
11. Set “signed.applets.codebase_principal_support : true”
12. Set “content.interrupt.parsing : true”
13. Set “content.max.tokenizing.time : 3000000?
14. Set “content.maxtextrun : 8191?
15. Set “content.notify.backoffcount : 5?
16. Set “content.notify.interval : 750000?
17. Set “content.notify.ontimer : true”
18. Set “content.switch.threshold : 750000?

Label: ,

Active Directory Windows Time


Ada kalanya jika dalam sebuah jaringan network berbasis domain, terjadi kesalahan jam antar servernya untuk menangani hal tersebut anda bisa lakukan langkah2 dibawah ini.

Untuk mengkonfiguras DC (Domain Controller) yang memegang roles PDC Emulator pastikan untuk sync ke external NTP Server , jalankan command sbb :

w32tm /config /manualpeerlist:PEERLIST /syncfromflags:manual /reliable:yes /update

Jika sebelumnya pernah terjadi perubahan Roles / Transfer PDC Ke Server DC yang baru maka DC yang sudah tidak lagi memegang roles PDC tersebut harus dirubah agar dia tidak lagi mengupdate time ke NTP External. Caranya ketik :

w32tm /config /syncfromflags:domhier /reliable:no /update

Untuk lebih dari NTP server :

w32tm /config /manualpeerlist:”0.asia.pool.ntp.org 1.asia.pool.ntp.org..” /syncfromflags:manual /reliable:yes /update

Label: ,

Senin, 02 Juli 2012

Disable Print Screen & USB

There are times when we need to do almost disable print screen and usb pc when it has data secret and very important, so we need to block data that can not be dicopy out or in print screen,

In this article a number of changes were made to change the registry settings sehingg ensure that the registry has terbackup perfect.

Way to do this rare copy and paste the following script into notepad, then save with the extension. Reg, then double-click the file. These reg.

Disable Print Screen :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,04,00,00,00,00,00,2a,e0,00,00,37,e0,\
00,00,54,00,00,00,00,00


Disable USB :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbstor]
"Type"=dword:00000001
"Start"=dword:00000004
"ErrorControl"=dword:00000001
"DisplayName"="USB Mass Storage Driver"
"ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
  52,00,49,00,56,00,45,00,52,00,53,00,5c,00,55,00,53,00,42,00,53,00,54,00,4f,\
  00,52,00,2e,00,53,00,59,00,53,00,00,00
"massfilter"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbstor\Enum]
"Count"=dword:00000001
"NextInstance"=dword:00000001
"0"="USB\\Vid_0930&Pid_6544\\001D92D8F17DC93064210588"


Demikian Semoga Bermanfaat.

Regard
C.A

Label: