Archive for the Category »Windows 2003 «
If you receive this error when accessing Kayako SupportSuite-
Parse error: syntax error, unexpected ‘{’ in support\includes\SmartyLight\class.template.php on line 351
Please make sure ‘short_open_tag‘ is set to ‘On‘ in php.ini this will fix the problem.
…Advantages of Windows 2003
1. Domains can be renamed or moved to a different level in an AD tree.
2. Schema attributes can be deleted as well as added.
3. Any Domain Controller can cache the Global Catalog thus preventing user logon problems if no Global Catalog server is available.
4. AD Replication can be set not to use compression.
5. Cross-Forest Transitive Trusts can be created.
6. Many administrative tools allow drag-and-drop and there are more configuration and management wizards.
7. Most services are disabled by default in 2003 instead of enabled as in Windows 2000.2003
allows partial synchronizations of the Global Catalog 2000 had always to have full synchronizations.
8. Support for IPv6. Ping and Tracert have extra IPv6 options.
9. Supports XML web services.
10. A new service called Volume Shadow Copy takes periodic snapshots of a hard drive making it easier to take backups and recover deleted files. Users can even be allowed to recover previous versions of files by themselves by using the Previous Versions client.
11. A Global Catalog server can be built from backup media instead of by replication.
12. IPSec Nat Traversal – NAT-T – allows IPSec VPN clients and servers to pass through NAT firewalls. This is likely to lead to the wider adoption of L2TP VPNs.
13. Distributed File System DFS has had significant improvements made to it. For example DFS replicas can now be prestaged to avoid excessive initial file replication.
14. Multiple DFS Roots per server can be created (Enterprise and Datacenter editions only).
15. Print queue redundancy can be achieved by storing them on multiple servers.
16. Active Directory Migration Tool v.2.0 can now migrate users, computers, groups and passwords from an NT domain and can also perform the cross-forest migration of objects.
17. Terminal Server allows clients to map their local drives and printers
18. The FTP server allows different default directories to be assigned to different users.
19. There’s a Security Configuration and Analysis tool to check a server’s security settingsDNS AD-integrated zones are stored in the Application Partition of a forest so aren’t replicated to domain controllers which aren’t DNS servers.
20. Regedit.exe and Regedt32.exe have been amalgamated into a single utility which takes the best features of each. Both files still exist but run the same utility.
21. The DNS server has added flexibility with the new options of stub zones and conditional forwarding.
22. Internet Information Server 6 (IIS 6) has the ability to keep worker processes from different websites and web applications separate so that if one application crashes then other websites running on the same server remain unaffected.
…IIS SMTP not available in IIS Snap-in-
Please make sure IIS SMTP is installed in the server. If you find it’s installed but not visible in IIS Snap-in can be fixed by registering the dll using this code-
regsvr32 C:\Windows\System32\inetsrv\smtpsnap.dll
or
regsrv32 %systemroot%\system32\inetsrv\smtpsnap.dll
Once done IIS SMTP virtual server node will be listed in IIS Snap-in.
…To enable Full trust mode for ASP.NET sites please follow these steps-
Locate web.config file at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG
or
%systemroot%\Microsoft.NET\Framework\v2.0.50727\CONFIG
Add the following entries at the top of the page before the entry ‘<location allowOverride=”false”>’ (Without quotes)-
<location path=”your website name here” allowOverride=”true”>
<system.web>
<trust level=”Full” originUrl=”.*”/>
</system.web>
</location>
Finally restart IIS.
***Note: Please take a copy of web.config before making the above changes***
Problem description-
Server Error in ‘/virtual directory name’ Application.
Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Error in File UNKNOWN.RPT: The request could not be submitted for background processing.
Solution-
This is most likely a permission error in C drive. To fix this please follow these steps-
Open My Computer > Right click ‘C’ drive then properties > Security tab > Click Advanced > in ‘Permissions tab’ click ‘Add’ > Add ‘Network Service’ > in the ‘Apply onto’ drop down list make sure ‘This folder only’ is selected and no other should be selected > Make ‘Read Attributes’ and ‘Read Permissions’ are checked > Click Ok > Also make sure ‘Replace permission entries on all child objects’ is NOT checked.
***Note: If you incorrectly set to anything other than ‘This folder only’ in ‘Apply onto’ dropdown list will result in severe permission issues and all of your sites will prompt for authentication so handle withe extra care.***
To change Terminal Service/RDP port please follow these steps-
*****You are about to make changes in server’s registry so any incorrect changes will result in severe problem*****
1. Open registry editor by running this command in run – regedit
2. Locate for HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
3. Locate the ‘PortNumber’ subkey and find the value of d3d (in hexadecimal), change the ‘Base’ radio button to ‘Decimal’ and modify the port no. from 3389 to new one.
Note: If your server is behind hardware/software firewall please make sure to add this port in allow list so that you can establish connection from outside.
To prevent synattack in Windows server 2003 please follow this-
Save the following in synattackprotect.reg and double click it to merge-
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
“EnableTCPChimney”=dword:00000000
“SynAttackProtect”=dword:00000002
“TcpMaxHalfOpen”=dword:00000064
“TcpMaxHalfOpenRetried”=dword:00000050
“TcpMaxPortsExhausted”=dword:00000005
“TcpMaxConnectResponseRetransmissions”=dword:00000003
To fix the application popup-
Warning : Unknown(): Unable to load dynamic library ‘C:\Program Files\SWsoft\Plesk\Additional\Php\extensions\php_curl.dll’ – The specified module could not be found
Make sure libeay32.dll and ssleay32.dll exist in the Windows system32 folder. These 2 files can be found in a folder called dll in the PHP folder.
To enable HTTP compression and Conditional GET please follow these steps-
1. You need to open Metabase.xml from the location – C:\Windows\System32\inetsrv
******Please take much care in handling this since you are doing this in Metabase file. Any incorrect actions can lead to severe problems. Do it at your own risk******
**Before doing this please make sure your IIS Metabase is directly editable without stopping IIS. If this option is not enabled you can enable it in IIS > properties of server name > under ‘Internet Information Services’ tab > check ‘Enable Direct Metabase Edit’ check box > hit Ok. Otherwise you will have to stop IIS then open Metabase.xml to proceed further. Either things will work according to your convenience**
And look for the following parameters-
<IIsCompressionScheme Location =”/LM/W3SVC/Filters/Compression/deflate”
HcCompressionDll=”%windir%\system32\inetsrv\gzip.dll”
HcCreateFlags=”0″
HcDoDynamicCompression=”TRUE”
HcDoOnDemandCompression=”TRUE”
HcDoStaticCompression=”FALSE”
HcDynamicCompressionLevel=”0″
HcFileExtensions=”htm
html
txt”
HcOnDemandCompLevel=”10″
HcPriority=”1″
HcScriptFileExtensions=”asp
dll
exe”
>
</IIsCompressionScheme>
<IIsCompressionScheme Location =”/LM/W3SVC/Filters/Compression/gzip”
HcCompressionDll=”%windir%\system32\inetsrv\gzip.dll”
HcCreateFlags=”1″
HcDoDynamicCompression=”TRUE”
HcDoOnDemandCompression=”TRUE”
HcDoStaticCompression=”TRUE”
HcDynamicCompressionLevel=”0″
HcFileExtensions=”htm
html
txt”
HcOnDemandCompLevel=”10″
HcPriority=”1″
HcScriptFileExtensions=”asp
dll
exe”
>
</IIsCompressionScheme>
<IIsCompressionSchemes Location =”/LM/W3SVC/Filters/Compression/Parameters”
HcCacheControlHeader=”max-age=86400″
HcCompressionBufferSize=”8192″
HcCompressionDirectory=”%windir%\IIS Temporary Compressed Files”
HcDoDiskSpaceLimiting=”FALSE”
HcDoDynamicCompression=”FALSE”
HcDoOnDemandCompression=”TRUE”
HcDoStaticCompression=”FALSE”
HcExpiresHeader=”Wed, 01 Jan 1997 12:00:00 GMT”
HcFilesDeletedPerDiskFree=”256″
HcIoBufferSize=”8192″
HcMaxDiskSpaceUsage=”100000000″
HcMaxQueueLength=”1000″
HcMinFileSizeForComp=”1″
HcNoCompressionForHttp10=”TRUE”
HcNoCompressionForProxies=”TRUE”
HcNoCompressionForRange=”FALSE”
HcSendCacheHeaders=”FALSE”
>
</IIsCompressionSchemes>
Change the above to the following-
<IIsCompressionScheme Location =”/LM/W3SVC/Filters/Compression/deflate”
HcCompressionDll=”%windir%\system32\inetsrv\gzip.dll”
HcCreateFlags=”0″
HcDoDynamicCompression=”TRUE”
HcDoOnDemandCompression=”TRUE”
HcDoStaticCompression=”TRUE”
HcDynamicCompressionLevel=”10″
HcFileExtensions=”htm
xml
css
rdf
js
html
txt”
HcOnDemandCompLevel=”10″
HcPriority=”1″
HcScriptFileExtensions=”asp
php
cgi
dll
aspx
asmx
exe”
>
</IIsCompressionScheme>
<IIsCompressionScheme Location =”/LM/W3SVC/Filters/Compression/gzip”
HcCompressionDll=”%windir%\system32\inetsrv\gzip.dll”
HcCreateFlags=”1″
HcDoDynamicCompression=”TRUE”
HcDoOnDemandCompression=”TRUE”
HcDoStaticCompression=”TRUE”
HcDynamicCompressionLevel=”10″
HcFileExtensions=”htm
html
xml
css
rdf
js
txt”
HcOnDemandCompLevel=”10″
HcPriority=”1″
HcScriptFileExtensions=”asp
php
cgi
aspx
asmx
dll
exe”
>
</IIsCompressionScheme>
<IIsCompressionSchemes Location =”/LM/W3SVC/Filters/Compression/Parameters”
HcCacheControlHeader=”max-age=86400″
HcCompressionBufferSize=”8192″
HcCompressionDirectory=”%windir%\IIS Temporary Compressed Files”
HcDoDiskSpaceLimiting=”TRUE”
HcDoDynamicCompression=”FALSE”
HcDoOnDemandCompression=”TRUE”
HcDoStaticCompression=”FALSE”
HcExpiresHeader=”Wed, 01 Jan 1997 12:00:00 GMT”
HcFilesDeletedPerDiskFree=”256″
HcIoBufferSize=”8192″
HcMaxDiskSpaceUsage=”100000000″
HcMaxQueueLength=”1000″
HcMinFileSizeForComp=”1″
HcNoCompressionForHttp10=”FALSE”
HcNoCompressionForProxies=”FALSE”
HcNoCompressionForRange=”FALSE”
HcSendCacheHeaders=”FALSE”
>
</IIsCompressionSchemes>
Once the changes are done please save the metabase file.
2. Now goto command prompt and to the following location and type-
C:\Inetpub\AdminScripts>
adsutil set w3svc/filters/compression/parameters/HcDoSta
ticCompression false
HcDoStaticCompression : (BOOLEAN) False
C:\Inetpub\AdminScripts>adsutil set w3svc/filters/compression/parameters/HcDoDyn
amicCompression false
HcDoDynamicCompression : (BOOLEAN) False
C:\Inetpub\AdminScripts>adsutil set w3svc/1234/root/DoStaticCompression true
DoStaticCompression : (BOOLEAN) True
C:\Inetpub\AdminScripts>adsutil set w3svc/1234/root/DoDynamicCompression true
DoDynamicCompression : (BOOLEAN) True
Note: The value ‘1234′ is website’s identifier. You can note this in IIS Manager > locate the website > note the identifier or you can find it in site’s logfile folder name for ex- w3svc1234
3. Finally restart IIS.
Microsoft has released the Windows Server 2003 ‘Server Performance Advisor’ tool designed to help troubleshoot Windows 2003 performance problems. Neither Windows XP nor Windows 2000 platforms support this tool. The tool is available here: http://www.microsoft.com/downloads/details.aspx?familyid=61a41d78-e4aa-47b9-901b-cf85da075a73&displaylang=en
Once downloaded please run the msi file and follow the instructions and these steps-
1. Click Next to go to the “Welcome to the Server Performance Advisor Setup Wizard” introduction screen.
2. Click “I accept” on the license page, then click Next.
3. Accept the default installation location and select whether the tool will be used by just the person installing the tool or by all administrators, as the figure shows. Click Next.
4. The wizard prompts you for a location for the temporary storage of performance log files. Accept the default C:\perflogs\data location and click Next.
5. The wizard prompts you for a reports folder location. Again, accept the default location (C:\perfLogs) and click Next. Click Next to begin the installation. When the installation is finished, click Finish.
7. You’ll now have a new Start menu item, Server Performance Advisor, which you can use to start the advisor process.

Recent Comments