Category: Servers
-
Disconnect or block user
If you need to block all network access to a particular user so he/she can’t access or delete any files or emails you have a number of options. 1. Disable user in AD 2. Change user password 3. Disable user in Exchange Management Console 4. Initiate malbox move Windows Server 2003Windows XPExchange 2007
-
Send Email from a .bat script
You can use mailsend.exe to send emails from the command line or a script via a known SMTP server. More information and more ways to use this little useful utility here. In the MS Exchange environment I used this method to send emails from batch jobs to internal email addresses. If you want to use…
-
MS Exchange Server 2007 – Export Message Tracking Results
You can’t export message tracking results from the GUI interface, however, you can from Exchange Management Shell. 1. Open Exchange Management Console > Toolbox > Message Tracking2. Customise your query as required and copy Shell command from the box below.3. Paste the text into Exchange Management Shell and append | Export-Csv C:\Export.csv at the end.For…
-
Renewing MS Exchange 2007 self-signed certificate
By default MS Exchange 2007 uses self-signed certificates for various services (SMTP, IMAP, IIS, POP, etc). Normally these certificates are valid for one year. Once the certificate starts approaching its expiry date following events will be logged in Application Logs on the Exchange server: Event Type: WarningEvent Source: MSExchangeTransportEvent Category: TransportServiceEvent ID: 12018Date: Time: User:…
-
Outlook 2007 and 2010 warning “The name of the security certificate is invalid or does not match the name of the site”
After starting MS Outlook 2007 or 2010 and connecting to Microsoft Exchange 2007 or 2010 server (on a local network) you get the warning “The name of the security certificate is invalid or does not match the name of the site“ This happens because of a certificate name mismatch. For more information read Microsoft article…
-
Check Installed Programs Remotely (vbscript)
This vb script (by Bill James) lists all installed programs (including Windows Updates) on a remote PC (it checks the registry Uninstall Key).Output results to a text file. Download Windows XP
-
Delete old files (vbscript)
This VBScript will delete all files older than 3 months in a specified folder and all subfolders. It will also create a log file with all processed folders and deleted files.Download ‘ Folder pathconst fldname = “\\your\folder\path” set fso = createobject(“scripting.filesystemobject”)set fldr = fso.getfolder(fldname)dttoday = datetmnow = Time‘Calculate trigger date (change according to your requirements)…
-
Configure NTP Time Service on Windows Server DC
The following steps can be used to configure an authoritative NTP Time Server to synchronize with an external NTP time source. Edit the following Windows registry entries: Change the time server type to NTPHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\TypeSet to NTPNTP stands for Network Time ProtocolSet AnnounceFlags to 5HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlagsSet to 5Announce flag values:0 Timeserv_Announce_No, Reliable_Timeserv_Announce_No. The domain controller does not…
-
MS Exchange 2003 ActiveSync Mobile Administration Tool
By using the Exchange ActiveSync Mobile Administration Web tool, administrators can perform the following actions: The tool needs to be installed on an Exchange Server 2003 with Service Pack 2 front-end server. If the [Wipe] option is not available you need to enable the “Enforce Password on Device” in the Exchange System Manager of ExchangeESM…
-
Installing PHP 5.2 on IIS6
Installation 1. Extract php-5.2.10-Win32.zip into C:\PHP 2. Rename “php.ini-recomended” to “php.ini“ 3. Edit php.ini extension_dir = “C:\PHP\ext” [mail function]SMTP = 192.168.0.1 <SMTP server IP address>smtp_port = 25sendmail_from = webmaster@company.com 4. My Computer > System Properties > Advanced > Environment Variables > Path Add <;C:\PHP> at the end. 5. Reboot the server 6. Execute (cmd): cscript…