Oct 23

The following ports are used by default on a BES 10.1 server:

3333 – Blackberry Licensing Service
6443 – UDS Admin Web Console
7443 – Blackberry Management Studio
8088 – Work Connect Notification Service
9081 – UDS.CoreModule
18082 – Blackberry Web Services
31099 – Local JNDI
31100 – HA JNDI
33443 – UDS.CommunicationModule
38180 – HTTP
38443 – BDS Admin Web Console

Aug 28

How do you restart the terminal services service? In MMC (services.msc), it is greyed out. It would be handy to be able to do it if you don’t want to restart the whole server.

The official word from Microsoft is: “The Terminal Services service is an integrated part of the core OS in Windows, that’s why it can’t be stopped or restarted as most other services (it is grayed out).”

The following procedure does the trick:

  1. Open a command prompt
  2. Type in: tasklist /svc /fi “imagename eq svchost.exe”
  3. This will list the different instances of svchost.exe and the associated service and PID
  4. Locate TermService and note the PID for it
  5. Open Task Manager and go to the Processes tab. Then click View > Select Columns and check PID, then click OK
  6. Locate the svchost.exe process with the PID noted in step 4, right click it, select End Process
  7. Open services.msc
  8. Start the Terminal Services service

 

Jun 19

Sometimes it is faster to access Control Panel items via command line that clicking and searching in the UI. To use a command, just press <Windows-Key>-R, which will open the Run window. Then just type the command and press <Enter>.

Control Panel Applet Command OS
Accessibility Options control access.cpl XP
Action Center control /name Microsoft.ActionCenter 8, 7
control wscui.cpl 8, 7
Add Features to Windows 8 control /name Microsoft.WindowsAnytimeUpgrade 8
Add Hardware control /name Microsoft.AddHardware Vista
control hdwwiz.cpl XP
Add or Remove Programs control appwiz.cpl XP
Administrative Tools control /name Microsoft.AdministrativeTools 8, 7, Vista
control admintools 8, 7, Vista, XP
Automatic Updates control wuaucpl.cpl XP
AutoPlay control /name Microsoft.AutoPlay 8, 7, Vista
Backup and Restore Center control /name Microsoft.BackupAndRestoreCenter Vista
Backup and Restore control /name Microsoft.BackupAndRestore 7
Biometric Devices control /name Microsoft.BiometricDevices 8, 7
BitLocker Drive Encryption control /name Microsoft.BitLockerDriveEncryption 8, 7, Vista
Bluetooth Devices control bthprops.cpl13 8, 7, Vista
control /name Microsoft.BluetoothDevices Vista
Color Management control /name Microsoft.ColorManagement 8, 7, Vista
Color1 WinColor.exe2 XP
Credential Manager control /name Microsoft.CredentialManager 8, 7
Client Service for NetWare control nwc.cpl XP
Date and Time control /name Microsoft.DateAndTime 8, 7, Vista
control timedate.cpl 8, 7, Vista
control date/time 8, 7, Vista, XP
Default Location control /name Microsoft.DefaultLocation 7
Default Programs control /name Microsoft.DefaultPrograms 8, 7, Vista
Desktop Gadgets control /name Microsoft.DesktopGadgets 7
Device Manager control /name Microsoft.DeviceManager 8, 7, Vista
control hdwwiz.cpl 8, 7, Vista
devmgmt.msc 8, 7, Vista, XP3
Devices and Printers control /name Microsoft.DevicesAndPrinters 8, 7
control printers 8, 7
Display control /name Microsoft.Display 8, 7
control desk.cpl XP
control desktop XP
Ease of Access Center control /name Microsoft.EaseOfAccessCenter 8, 7, Vista
control access.cpl 8, 7, Vista
Family Safety control /name Microsoft.ParentalControls 8
File History control /name Microsoft.FileHistory 8
Flash Player Settings Manager control flashplayercplapp.cpl 8
Folder Options control /name Microsoft.FolderOptions 8, 7, Vista
control folders 8, 7, Vista, XP
Fonts control /name Microsoft.Fonts 8, 7, Vista
control fonts 8, 7, Vista, XP
Game Controllers control /name Microsoft.GameControllers 8, 7, Vista
control joy.cpl 8, 7, Vista, XP
Get Programs control /name Microsoft.GetPrograms 8, 7, Vista
Getting Started control /name Microsoft.GettingStarted 7
Home Group control /name Microsoft.HomeGroup 8, 7
Indexing Options control /name Microsoft.IndexingOptions 8, 7, Vista
rundll32.exe shell32.dll,Control_RunDLL srchadmin.dll 8, 7, Vista, XP
Infrared control /name Microsoft.Infrared 8, 7
control irprops.cpl 8, 7, Vista
control /name Microsoft.InfraredOptions Vista
Internet Options control /name Microsoft.InternetOptions 8, 7, Vista
control inetcpl.cpl 8, 7, Vista, XP
iSCSI Initiator control /name Microsoft.iSCSIInitiator 8, 7, Vista
Keyboard control /name Microsoft.Keyboard 8, 7, Vista
control keyboard 8, 7, Vista, XP
Language control /name Microsoft.Language 8
Location and Other Sensors control /name Microsoft.LocationAndOtherSensors 7
Location Settings control /name Microsoft.LocationSettings 8
Mail4 control mlcfg32.cpl5 8, 7, Vista, XP
Mouse control /name Microsoft.Mouse 8, 7, Vista
control main.cpl 8, 7, Vista
control mouse 8, 7, Vista, XP
Network and Sharing Center control /name Microsoft.NetworkAndSharingCenter 8, 7, Vista
Network Connections control ncpa.cpl 8, 7, Vista
control netconnections 8, 7, Vista, XP
Network Setup Wizard control netsetup.cpl 8, 7, Vista, XP
Notification Area Icons control /name Microsoft.NotificationAreaIcons 8, 7
ODBC Data Source Administrator control odbccp32.cpl XP6
Offline Files control /name Microsoft.OfflineFiles 8, 7, Vista
Parental Controls control /name Microsoft.ParentalControls 7, Vista
Pen and Input Devices control /name Microsoft.PenAndInputDevices Vista
control tabletpc.cpl Vista
Pen and Touch control /name Microsoft.PenAndTouch 8, 7
control tabletpc.cpl 8, 7
People Near Me control /name Microsoft.PeopleNearMe 7, Vista
control collab.cpl 7, Vista
Performance Information and Tools control /name Microsoft.PerformanceInformationAndTools 8, 7, Vista
Personalization control /name Microsoft.Personalization 8, 7, Vista
control desktop 8, 7, Vista
Phone and Modem Options control /name Microsoft.PhoneAndModemOptions Vista
control telephon.cpl Vista, XP
Phone and Modem control /name Microsoft.PhoneAndModem 8, 7
control telephon.cpl 8, 7
Power Options control /name Microsoft.PowerOptions 8, 7, Vista
control powercfg.cpl 8, 7, Vista, XP
Printers and Faxes control printers XP
Printers control /name Microsoft.Printers Vista
control printers Vista
Problem Reports and Solutions control /name Microsoft.ProblemReportsAndSolutions Vista
Programs and Features control /name Microsoft.ProgramsAndFeatures 8, 7, Vista
control appwiz.cpl 8, 7, Vista
Recovery control /name Microsoft.Recovery 8, 7
Region control /name Microsoft.RegionAndLanguage 8
control intl.cpl 8
control international 8
Region and Language control /name Microsoft.RegionAndLanguage 7
control intl.cpl 7
control international 7
Regional and Language Options control /name Microsoft.RegionalAndLanguageOptions Vista
control intl.cpl Vista
control international Vista, XP
RemoteApp and Desktop Connections control /name Microsoft.RemoteAppAndDesktopConnections 8, 7
Scanners and Cameras control /name Microsoft.ScannersAndCameras 8, 7, Vista
control sticpl.cpl XP
Scheduled Tasks control schedtasks XP7
Screen Resolution control desk.cpl 8, 7
Security Center control /name Microsoft.SecurityCenter Vista
control wscui.cpl XP
Software Explorers8 msascui.exe9 XP
Sound control /name Microsoft.Sound 8, 7
control /name Microsoft.AudioDevicesAndSoundThemes Vista
control mmsys.cpl 8, 7, Vista
Sounds and Audio Devices control mmsys.cpl XP
Speech Recognition Options control /name Microsoft.SpeechRecognitionOptions Vista
Speech Recognition control /name Microsoft.SpeechRecognition 8, 7
Speech control sapi.cpl10 XP
Storage Spaces control /name Microsoft.StorageSpaces 8
Sync Center control /name Microsoft.SyncCenter 8, 7, Vista
System control /name Microsoft.System 8, 7, Vista
control sysdm.cpl XP
System Properties control sysdm.cpl 8, 7, Vista
Tablet PC Settings control /name Microsoft.TabletPCSettings 8, 7, Vista
Task Scheduler7 control schedtasks 8, 7, Vista
Taskbar control /name Microsoft.Taskbar 8
rundll32.exe shell32.dll,Options_RunDLL 1 8
Taskbar and Start Menu control /name Microsoft.TaskbarAndStartMenu 7, Vista
rundll32.exe shell32.dll,Options_RunDLL 1 7, Vista, XP
Text to Speech control /name Microsoft.TextToSpeech 8, 7, Vista
Troubleshooting control /name Microsoft.Troubleshooting 8, 7
User Accounts control /name Microsoft.UserAccounts 8, 7, Vista
control userpasswords
control userpasswords2
8, 7, Vista, XP
Welcome Center control /name Microsoft.WelcomeCenter Vista
Windows 7 File Recovery control /name Microsoft.BackupAndRestore 8
Windows Anytime Upgrade control /name Microsoft.WindowsAnytimeUpgrade 7, Vista
Windows CardSpace control /name Microsoft.CardSpace 7, Vista
control infocardcpl.cpl 7, Vista
Windows Defender control /name Microsoft.WindowsDefender 8, 7, Vista11
Windows Firewall control /name Microsoft.WindowsFirewall 8, 7, Vista
control firewall.cpl 8, 7, Vista, XP
Windows Marketplace control /name Microsoft.GetProgramsOnline Vista
Windows Mobility Center control /name Microsoft.MobilityCenter 8, 7, Vista
Windows Sidebar Properties control /name Microsoft.WindowsSidebarProperties Vista
Windows SideShow control /name Microsoft.WindowsSideShow 8,7, Vista
Windows Update control /name Microsoft.WindowsUpdate 8, 7, Vista12
Wireless Link control irprops.cpl XP
Jun 11

When it comes to Blackberry device software (= OS = Operating System) there is some confusion regarding versions. There are 2 version numbers:

  1. Software Release Version (= Bundle Version)
  2. OS Version

The Software Release Version is the one displayed when you are notified that new device software is available.

Find below a table of the Q10/Z10 device software versions I could find:

Software Release OS Version
10.0.10.85 10.0.10.672
10.0.10.90 10.0.10.690
 .
10.1.0.238 10.1.0.1483
10.1.0.273 10.1.0.1720
10.1.0.2309 10.1.0.2342
10.1.0.2312 10.1.0.2354
10.1.0.4181 10.1.0.4633
10.1.0.4200 10.1.0.4780
.
10.2.0.415 10.2.0.1767
10.2.0.424 10.2.0.1791
10.2.1.537 10.2.1.1925
10.2.1.2102 10.2.1.2141
May 16

If you need to start the services on BES 10.1 manually, do it in the order below:

  1. BES10 – Scheduler
  2. BES10 – BlackBerry Controller
  3. BES10 – BlackBerry MDS Connection Service
  4. BES10 – BlackBerry Dispatcher
  5. BES10 – BlackBerry Secure Connect Service
  6. BES10 – Administration Console
  7. BES10 – BlackBerry Administration Service – Native Code Container
  8. BES10 – BlackBerry Administration Service – Application Server
  9. BES10 – BlackBerry Management Studio
  10. BES10 – BlackBerry Licensing Service

 

Apr 17

Find below a list of messages that can appear in the security log of Kerio Connect 8.0 and what they mean:

SMTP Spam attack detected from 85.51.174.157, client closed connection before SMTP greeting

This message only appears if Spam Repellent is switched on. It means that the client (sending mail server) hasn’t waited the 25 seconds (or whatever is configured in Spam Repellent) for the SMTP greeting. It closed the connection too early. This is indicative of bot net Spam as normal mail servers would not do that.

SMTP Spam attack detected from 69.94.153.232, client sent data before SMTP greeting

This message only appears if Spam Repellent is switched on. It means that the client (sending mail server) hasn’t waited the 25 seconds (or whatever is configured in Spam Repellent) until the SMTP greeting appears. It has started to send commands (such as HELO) and data too early. This is indicative of bot net Spam as normal mail servers would not do that.

IP address 93.85.133.206 found in DNS blacklist SPAMHAUS ZEN, mail from <sendername@senderdomain.com> to <myname@mydomain.org> rejected

The IP address of the client (sending mail server) is in the indicated black list and is blocked immediately. It will not be allowed to transmit the mail.

IP address 72.9.146.151 found in DNS blacklist UCEPROTECT L1, mail from <sendername@senderdomain.com> to <myname@mydomain.org>

The IP address of the client (sending mail server) is in the indicated black list, but it is allowed to be delivered. Some Spam score will be added to the message.

Relay attempt from IP address 72.9.146.151, mail from <sendername@senderdomain.com> to <recipient@notmydomain.net> rejected

As the recipient domain is not a domain that the mail server is responsible for it will discard the message. If the client had authenticated, the message would have been allowed. This is to prevent relaying of Spam.

Message from IP address 195.245.231.144, sender <sendername@mydomain.org> rejected: sender domain requires authentication

As the sender domain is hosted on the mail server, the client must authenticate to send the message. This is to prevent sender address spoofing. Without authentication, the message is blocked.

Message from IP address 186.28.185.93, sender <sendername@senderdomain.com> rejected: sender domain does not exist

The message is blocked because the sender domain does not exist.

Message from IP address 72.38.232.36, sender <sendername@senderdomain.com> temporarily rejected: sender domain does not resolve

The message is temporarily blocked because the sender domain does not resolve. This means that the domain exists, but the authoritative DNS servers are not responding.

Attempt to deliver to unknown recipient <unknown@mydomain.org>, from <sendername@senderdomain.com>, IP address 217.200.184.87

The message is blocked as there is no recipient with that name on  the recipient domain.

Client with IP address 202.85.222.166 has no reverse DNS entry, connection rejected before SMTP greeting

The IP address of the client (sending mail server) has no reverse DNS entry (PTR record), the message is blocked. A valid mail server must have a reverse DNS entry.

SPF check failed: The IP address ’210.68.71.113′ is not in permitted set for sender ‘sendername@senderdomain.com’ (FAIL)

The sender domain has an SPF (Sender Policy Framework) record setup in its DNS and it indicates that the client IP address is not a valid sender for that domain. The message is accepted but a Spam score is added to it.

 

Mar 20

The modes in the Blackberry Z10 device are different than for previous devices (OS 7.1, e.g. Bold 9900). There are five modes:

  • On
    Screen: On
    Notifications: On
    Alarm: On
    Network: On
    How to invoke: Press the standby button or swipe from bottom to top
  • Standby (or Screen Lock)
    Screen: Off
    Notifications: On
    Alarm: On
    Network: On
    How to invoke: Press the standby button
  • Password Lock  (only if device password is set)
    Screen: Off
    Notifications: On
    Alarm: On
    Network: On
    How to invoke: Press the standby button and release it before the countdown ends, then click the lock icon
  • Bedside (or Sleep)
    Screen: Off (when on battery), Dimmed clock (when on power)
    Notifications: Off
    Alarm: On
    Network: On
    How to invoke: Swipe from top to bottom
  • Shutdown
    Screen: Off
    Notifications: Off
    Alarm: Off
    Network: Off
    How to invoke: Press the standby button until countdown ends (from 3 to 1)

In addition to this, you can restart (reboot) the Z10 by pressing the standby button and release it before the countdown ends, then click the restart icon.

Mar 19

When upgrading the Sharepoint Server Farm with Security Patch MS13-024, the upgrade went fine on the first server in the farm, but on the second server, the “Sharepoint Products and Configuration Wizard” was displaying:

Server Farm Product and Patch Status

Security Update for Microsoft Sharepoint Foundation 2010 (KB2687418) 64-Bit Edition (14.0.6134.5001) ==> Missing on <localhost>

Error: Some farm products and patches were not detected on this or other servers. If products or patches are missing locally, you must quit this program and install the required products and patches on this server before restarting this wizard.

I have checked if the security update was installed and it was there. Trying to install it again resulted in “The update is already installed”. I also restarted the box, but the same “Missing on <localhost>” error came up again. In the end, I used the following command line to upgrade the server (start cmd as Administrator):

psconfig -cmd upgrade -inplace b2b -force -cmd -installcheck -noinstallcheck

This completed successfully without errors.

Feb 25

Sometimes it is convenient to cleanup some disk space by deleting unneeded files like service pack files, the temporary folder an so on. On Windows 7 workstation, you have the Disk Cleanup Utility to do this:

image

By default, this tool is not enabled on Windows Server 2008 R2. To enable it, there are two possibilities:

  1. (Not recommended) Install the Desktop Experience feature. I don’t recommend this as installing the Desktop Experience feature will not only install Disk Cleanup, but a lot of other utilities you likely don’t need on a server (sound recorder, desktop themes, etc). Also, installing the Desktop Experience feature will require a reboot of your server.
  2. (Recommended) Copy 2 files to specific system folders and you can immediately use the tool:
  3. Copy Cleanmgr.exe to %systemroot%\System32.
    Copy Cleanmgr.exe.mui to %systemroot%\System32\en-US.
    The 2 files are located in
    - C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe
    - C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui

You can then start the tool by executing Cleanmgr.exe

Nov 14

I come from a Windows and physical keyboard world, so things that are simple in Windows seem very complicated or undoable in iOS. For example, shutting down an App (as simple as clicking the red X in the upper right corner of a window) didn’t seem possible in iOS.

Find below some shortcuts that show how to do the “impossible”:

  • Go to Standby: Press the Standby button shortly.
  • Wake up from Standby: Press the Standby button shortly.
  • Go to Home screen: Press the Home button shortly.
  • Shutdown the device (Power off): Press the Standby button for several seconds until “Slide to power off” appears. Then slide to the right and the device will power off.
  • Switch on the device: Press the Standby button shortly.
  • Reboot the device: Press the Standby and the Home button simultaneously for several seconds until the screen goes black and the Apple logo appears.

 

  • Go to a different App, but leave the current App open: Press the Home button and choose a different App from the Home screen.
  • Close an App completely: Press the Standby button for several seconds until “Slide to power off” appears. Then press the Home button for several seconds until the current App appears. When you release the Home button, the App will close completely (will be removed from memory).
  • Delete an App: Tap on an App icon for several seconds. The App icons will start to shake. Tap on the small X on the upper left corner of the App icon to delete it.
  • Take a screenshot: Press and hold the standby button and press the home button shortly. The screen will go white shortly and you will hear a shutter. Release the standby button. The screen shot can be found in the camera app under the camera roll.
preload preload preload