Solving “e-mail address already exists in this organization” using LDAP query in ADUC

Using the Windows 2003 Active Directory Users and Computers utility, right click on the domain, choose Find. In the Find: dropdown list, choose “Custom Search” and in the In: dropdown list, choose “Entire Directory”. Click the Advanced property page and enter the following LDAP query (in my example, at least):

proxyaddresses=smtp:user@domain.com

Click Find and you should find the object that already has that SMTP address.

How To Turn Your Windows 8 Computer into A Wireless Hotspot Access Point

Since Windows 7, Microsoft has built in the virtual WiFi technology into Windows that gives the ability to turn any Windows machine with the supported wireless adapter into a wireless hotspot natively without the helps from any 3rd party tools. A pretty feature could be very useful and handy but lacks of a pretty and easy-to-use user interface.

Let’s take look how it works first.

Open Command Prompt window as Administrator

You can do so press Win+X and choose command prompt (admin) from the list.

Type the following command to check if you have a supported wireless device.

netsh wlan show drivers

“hosted network supported” : yes”

If yes, type the following command to set wireless parameters such as SSID, and passcode, and start the service

netsh wlan  set hostednetwork mode=allow ssid=myssid key=password

replace myssid and password with your own choice.

netsh wlan start hostednetwork

Turn on Internet Connection Sharing on the network adapter that has the access to the Internet. You can do so by

  1. Going to Control Panel, Network & Internet, and Network Connections.
  2. Right click the adapter and go to properties.
  3. Turn on the option “Allow other network users to connect through this computer’s Internet connection” under Sharing tab. Make sure to pick the enabled Wireless virtual adapter as the Home networking connection.

This may be a bit cumbersome as once you restart your pc, the settings are reverted. You can run the attached script as administrator after having completed the above steps once and you’re off to the races.

EnableHotSpot

 

white-list PGP Universal Server to over ride cached time limit

“key search user@domain.com [keys.domain.com]: error getting recipient encryption key: Skipping keyserver keys.domain.com because it was down the last time it was checked”

you can force to not mark a keyserver as down if you put the entry in a white list in /etc/ovid/prefs.xml at the proxy section:

http://pastebin.com/mJAkjKP7

  1. <proxy>
  2.  <keyserver-white-list>
  3.     <hostname> keys.domain.com</hostname>
  4.  </keyserver-white-list>
  5. </proxy>

Restart services

Blackberry Enterprise Activation OTA without Appworld

This post is for anyone that has to deploy blackberry to users in a company and are subscribed to only a blackberry BIS data plan. Typically, you would need to install appworld, then assign a blackberry ID to the berry. If this is a corporate berry, then it will take a lot of time doing this individually. Here you go, from your blackberry browser, click on the link below and install RIMs application –  Enterprise Activation.

This can only be done via OTA download and install the app.

http://apnaguy.com/m

 

Forgot admin password for windows 7

 

Boot from Windows DVD/PE and access the cmn prompt.

Find the drive letter of the partition where Windows is installed. XP/Vista is normally C:\, Win7 is normally D:\

copy c:\windows\system32\sethc.exe c:\

copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe

Reboot to windows

At the logon screen, press the SHIFT key 5 times.

You will see a cmd prompt, enter the following command to reset the password

net user your_user_name new_password (replace with ur user name and new pass)

Done

Windows 2003 SBS high memory usage sqlservr.exe culprit SBSMonitoring

sqlservr.exe high memory usage for SBSMonitoring process

 

This seems to be a common issue with my SBS2003 installs. The administrative user will get an E-mail entitled: Allocated Memory Alert on ‘ServerName’ which directs you to the process table to find the culprit. In most of my cases I see two hogs. store.exe (Exchange) and sqlservr.exe. We will cover the issues surrounding store.exe in a later post, but for know here are my finding for the sqlservr.exe process. I found the fix in this thread on DogRiley (c/p verbatim)

First verify that the sqlservr process at fault is in fact the SBSMonitoring one. First open Windows Task Manager, choose the processes tab, click the view menu and choose Select Columns. Check the PID column. This will show you the process ID of the entries in the process table. Sort this list by Mem Usage column and get the PID of the offending sqlservr.exe process. The to confirm the PID is SBSMonitoring at a command prompt type:

tasklist /svc

Look for the PID that matches your memory hog. It will look something like this. My PID was 376:

sqlservr.exe 376 MSSQL$SBSMONITORING

If this is the case, you can alter the memory settings for SBSMonitoring process with the following commands from the command line. (Thanks to David Copland)

osql -E -S servername\sbsmonitoring

sp_configure ‘show advanced options’,1
reconfigure with override
go
sp_configure ‘max server memory’, nnnn
reconfigure with override
go

My session looked like this:

C:\Documents and Settings\Administrator>osql -E -S file-server\sbsmonitoring
1> sp_configure ‘show advanced options’,1
2> reconfigure with override
3> go
DBCC execution completed. If DBCC printed error messages, contact your system
administrator.
Configuration option ‘show advanced options’ changed from 0 to 1. Run the
RECONFIGURE statement to install.
1> sp_configure ‘max server memory’,100
2> reconfigure with override
3> go
DBCC execution completed. If DBCC printed error messages, contact your system
administrator.
Configuration option ‘max server memory (MB)’ changed from 2147483647 to 100.
Run the RECONFIGURE statement to install.
1> quit

I set my server to use a maximum of 100MB of memory, and so far all seems well with it. I am planning on adding this to the normal maintenance cycle for all of our supported SBS2003 servers.

Till Next Time,