Network Administrator Knowledgebase

June 27, 2008  11:22 PM

BESadmin and ‘Send As’ Right

Michael Khanin Michael Khanin Profile: Michael Khanin

If you are working with BES (BlackBerry Enterprise Server) you can get a problem, when users cannot send emails from their Blackberry. And, I guess you already familiar with a “Send As Permission” problem :).

So, I created a script, that allows set all neccesasry right to the BESADMIN account. When you run script, you should provide an OU, where the particular user exist and user’s email address.

NOTE: In my script I used linex.exe and dsacls.exe. Just use Google to download those very POWERFUL tools 😉

@echo off
SET Tools=C:\Tools

SET ou4user=

DSQUERY OU domainroot > %TEMP%\ou.txt
%Tools%\linex -n < %TEMP%\ou.txt

SET /p SOU=”Please type # of OU where the user located: ”
SET /p BES=”Please type user’s email address: ”

FOR /F “TOKENS=* delims==,OU” %%a in (‘%Tools%\LINEX -l %SOU% ^<%TEMP%\OU.txt’) do set ou4user=%%~a

FOR /F “TOKENS=2 delims==,” %%a in (‘dsquery * “%ou4user%” -attr mail distinguishedName^|find /i “%BES%”‘) do set BES-USER=%%~a

@echo “%BES-USER%”

dsacls “CN=%BES-USER%,%ou4user%” /G “%USERDOMAIN%\BESADMIN:GR”
dsacls “CN=%BES-USER%,%ou4user%” /G “%USERDOMAIN%\BESADMIN:CA;Send As”

June 27, 2008  10:56 PM

Send a Message to All Users in an OU

Michael Khanin Michael Khanin Profile: Michael Khanin

By using the DSQUERY command and “Net Send” we can send a message to all users in a given OU.
It’s really simple, create a script, name it NetSendOU.bat and use the following syntax:

NetSendOU OU Message

Where OU is the organizational unit, like “OU=Users,DC=AdminInfo,DC=Ca”, and Message is the message text, like “Hello from”.

NetSendOU.bat contains:
@echo off
if {%2}=={} @echo Syntax: NetSendOU OU “Message”&exit /b 1
set query=dsquery user %1 -o samid
set message=%2
for /f %%u in (‘%query%’) do (net send “%%u” %message%)
exit /b 0

June 26, 2008  6:59 PM

It’s here! Windows Server 2008 Hyper-V is available for download…

Michael Khanin Michael Khanin Profile: Michael Khanin

Just recieved anonce about this and here it is:


Today, Microsoft reaches a significant milestone for customers and partners with the release of Windows Server 2008 Hyper-V, the hypervisor-based virtualization feature included in select versions of Windows Server 2008. Those who have already deployed the x64 versions of Windows Server 2008 can receive Hyper-V from Windows Update beginning July 8, while new customers and partners can download Hyper-V later today (12:00 pm PT). The Windows Virtualization team will be counting down the days to download from Windows Update, so be sure to visit the Windows Virtualization Team blog to see daily spotlights on specific features and benefits of Hyper-V technology, as well as to read about customer stories and see postings from guests.


Since the beta release of Hyper-V in February, more than 250 customers have participated in Hyper-V’s early adoption program. Microsoft’s own deployment and results with Hyper-V is showcased today in Rob Emanuel’s guest blog and video on the Windows Server Division blog, specifically on customers using Hyper-V and partner benefits, visit the Microsoft PressPass site.

June 25, 2008  2:58 AM

Microsoft Active Directory Topology Diagrammer

Michael Khanin Michael Khanin Profile: Michael Khanin

Quite old (released 10/2/2007) but very powerful and useful tool, Microsoft Active Directory Topology Diagrammer. Additionally, I discovered that many IT Admins are not using it. The Microsoft Active Directory Topology Diagrammer reads an Active Directory configuration using ActiveX Data Objects (ADO), and then automatically generates a Visio diagram of your Active Directory and /or your Exchange 200x Server topology. The diagramms include domains, sites, servers, administrative groups, routing groups and connectors and can be changed manually in Visio if needed.

June 25, 2008  2:45 AM

Windows 2008 Server and Wireless Network Card

Michael Khanin Michael Khanin Profile: Michael Khanin

If you are going to use Wireless Network Card in Windows 2008 Server, keep in mind to install Wireless LAN features under Server ManagerFeatures Add Features. After that then install all updated drivers.

June 25, 2008  2:39 AM

Sorry, Windows Live programs cannot be installed on Windows Server 2008 :)

Michael Khanin Michael Khanin Profile: Michael Khanin

Recently, I’ve installed a Windows 2008 Server on my notebook. Then, I started to install all software that I’m using daily. Of course, MSN Messenger is on my ‘Must to have” list. As you may or may not know, Windows 2008 Server doesn’t support Windows Live Messenger. When you try to install it you’ll get the following error:

Sorry, Windows Live programs cannot be installed on Windows Server, Windows XP Professional x64 Edition, or Windows operating systems earlier than Windows XP SP2

I have no idea why MS decided to do that, however after some searching I found the following MSI package which really works in Windows 2008 Server. It’s a silent install. It will install Messenger Live silently, just remember to reboot your system.

June 25, 2008  2:27 AM

A reliability and performance update is available for Windows Vista SP1-based computers

Michael Khanin Michael Khanin Profile: Michael Khanin

An update is available that will help improve the performance and reliability of Windows Vista.


June 23, 2008  12:27 AM

Windows NT Backup – Restore Utility on Vista or Windows 2008

Michael Khanin Michael Khanin Profile: Michael Khanin

I guess it’s impossible to find IT person who doesn’t know very old and at the same time very powerful program, NTBACKUP. For me, it a best program to backup and restore Windows systems, like NT, 2000, XP and 2003 :).

If you have an old backups that was made by NTBACKUP and you want to restore it on Windows Vista or Windows 2008 you can use recently released Windows NT BackupRestore Utility.

If you have a reason ( I do) to use the old NTBACKUP program to do backup on Windows 2008 it’s also possible, but I’ll talk about how to do that in one of my next articles :).

June 18, 2008  4:40 PM

Plug-in for Exchange backups on Windows Server 2008

Michael Khanin Michael Khanin Profile: Michael Khanin

Scott Schnoll’s announced a new Microsoft plugin that will do Exchange VSS Backups on Windows Server 2008. Windows Server 2008’s new Windows Server Backup utility, the replacement for NTBackup, doesn’t do Exchange backups out of the box.

June 8, 2008  12:20 AM

Microsoft Exchange Server Error Code Look-up

Michael Khanin Michael Khanin Profile: Michael Khanin

Use the Error Code Lookup tool to determine error values from decimal and hexadecimal error codes in Microsoft Windows® operating systems. The tool can look up one or more values at a time. All values on the command line will be looked up in Exchange’s internal tables and presented to you. If available, informational data associated with the value or values will also be shown.

Download HERE

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: