Skip to main content
Paolo Fiorani Personal Blog

Paolo Fiorani Personal Blog

Search
Paolo Fiorani Blog Home Page
Photos
  


Dal 27 Novembre 2007

 Misc Links

collapse Category : Acquisti on-line ‎(4)
Expansys
Kelkoo
Trova Prezzi
twenga.it
collapse Category : Cinema ‎(2)
Cinema Emiro (Rubiera)
Hobby&Work: Collezione film Bud Spencer e Terence Hill
collapse Category : Domotica ‎(4)
Ambrogio Robot Tagliaerba
iRobot Roomba e Scooba International Home Page
iRobot Roomba Home Page Italiana
iRobot Roomba Negozio Online
collapse Category : Giochi di Logica ‎(5)
Fabbri Editori: Giochi D'Ingegno
Interactive Mathematics Games and Puzzles
Test Quoziente Intellettivo
Test Quoziente Intellettivo 2
Tower of Hanoi on the Web
collapse Category : GPS - Geocache ‎(7)
GPS.PI
GPSPins
PoiEdit
poigps.com FAQs in Italiano
TomTom: How to build your custom menu
TomTom: skuX's menubuilder
TomTom: TomTom Menu Designer for .NET
collapse Category : Itinerari e Viaggi ‎(7)
itinerari on line
MapORama
Mappy
Prenotazioni Hotel booking.com
Tenda 3 Seconds air della Quechua
Tutto Città
ViaMichelin
collapse Category : Manga/Anime ‎(5)
City Hunter Fan Site
1 - 30Next
Today is 11/11/11!
Today is 11/11/11!
 
 
 
 
How to easly edit Pictures and Employee details in Active Directory
If you download and install this DLL from Olid you'll got 2 new tab in Active Directory Users & Computer that will let ou easly add pictures (Used by Outlook, SharePoint and Lync) to the user accounts.
 
 
Here a couple of screenshot (Click to enlarge)
 
AD Photo Tab     AD Employee Details
 
 
In the following links you'll find more details in editing and using pictures inside Active Directory:
 
 
How to set default outbound IP in Windows Vista/7/2008/2008R2 machines with multiple IP addresses
Windows Vista/7/2008/2008R2 does not have anymore the concept of primary IP address like in Windows XP/2003.
After installing hotfix http://support.microsoft.com/kb/975808/ (Win2008) or http://support.microsoft.com/kb/2386184 (Win 2008 R2) (This fix is included into Windows 7/2008 R2 SP1) you have to remove then adding again the IP(s) of the "seconday" addresses with the flag skipassource=true as in the example below:
 
netsh interface ip delete address "Local Area Connection" 12.34.56.78
netsh interface ip add address "Local Area Connection" 12.34.56.78 255.255.255.248 skipassource=true
 
This method can be used in TMG machines with Exchange Edge role installed to select the IP used to send the outbound e-mails with the correct IP, because by default those new OS will use the nearest IP adddress to the default gateway (usually the lower IP)
 
From my experience this will not work with TMG with ISP redundancy configured and the lower IP will always be used.
How to change the display language (MUI) in Windows Vista / 7 / 2008 / 2008 R2 through a script
After installing a MUI you can change the default language for new users but not for who has already logged on. To do that users must navigate into Control Panel. If you want to do that for everyboy or want to let user change language in an easyer way, you can create a shortcut to this simple command line:
 
control intl.cpl,, /f:"Italian.xml"
 
And here the file Italian.xml:
 
<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend"> 
<!-- User List--> 
<gs:UserList>   
<gs:User UserID="Current"/>  
</gs:UserList>
<!-- MUI-->   
<gs:MUILanguagePreferences>   
<gs:MUILanguage Value="it-IT"/>    
<gs:MUIFallback Value="en-US"/>   
</gs:MUILanguagePreferences>
</gs:GlobalizationServices>

 
Configure the message expiration time-out interval of SMTP queues in Exchange 2007/2010
In some cases, for example if you want to increase the posssible downtime of your Exchange server, you can change the default lifetime of 2 days in the messages queues into your Exchange Edge Transport role server.
To do that you have to:
  1. Logon to the Edge server with Administrative rights
  2. In the Exchange console select Edge Transport, and then click the Properties
  3. Click the Limits tab
  4. Enter a value in days next to Maximum time since submission (days). In the EMC, the valid input range is from 1 day through 90 days.

If you prefere you can use PowerShell:

Set-TransportServer <Identity> -MessageExpirationTimeout <Age>

This example changes the message expiration time-out interval to 4 days on the Exchange 2010 computer Exchange01.

Set-TransportServer Exchange01 -MessageExpirationTimeout 4.00:00:00

To specify an age value, enter the value as a time span: dd.hh:mm:ss, where d = days, h = hours, m = minutes, and s = seconds. The valid input range for this parameter is from 00:00:05 through 90.00:00:00.

You can use a similar procdure also for Exchange Edge servers.

Reference:

Technet: Configure Message Retry, Resubmit, and Expiration Intervals http://technet.microsoft.com/en-us/library/aa998043.aspx

Windows 7 Media Center 411 Debug Menu
In 7MC (Windows 7 Media Center) thre is a debug menu for TV Tuners. While you watch live TV press 4-1-1-Info (Like changing the channel number to 411 then press info). You'll get a menu with many pages when you can see informations related to the tuners actvities.
 

Media Center 411 Debug Menu Screenshot

Change Default File Name for recorded TV Program in Windows Media Center
By default the Media Center will save recorded program with file name like "ProgramTitle_StationName_DateTime"
 
To change this you have to open the following registry key:
 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\Recording
 
Then add or edit a REG_SZ Value with name "filenaming" with a string built with the following parameters:
 
%Ch - Channel Number
%Cn - Station Name
%T - Title of show
%Et - Episode Title
%Dt - Date and Time
 
Default: %T_%Cn_%Dt
 
Example: %T_%Et_%Ch_%Cn_%Dt
 
Ths should work with XP MCE, VMC and 7MC
 
Disk Cleanup (cleanmgr.exe) not present in Windows 2008/2008 R2
The Disk Cleanup tool is not installed by default in Windows 2008/2008 R2. You can install it adding the "Desktop Experience" Feature to your installation, but this require a reboot. For that reason if you ned only the Disk Cleanup tool because you need to free space because it's finished, you can copy the required files from the WinSxS folder:
 
Operating System
Architecture
File Location
Windows Server 2008 R2
64-bit
C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe
Windows Server 2008 R2
64-bit
C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui
Windows Server 2008
64-bit
C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_b9f50b71510436f2\cleanmgr.exe.mui
Windows Server 2008
64-bit
C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_c962d1e515e94269\cleanmgr.exe.mui
Windows Server 2008
32-bit
C:\Windows\winsxs\x86_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_5dd66fed98a6c5bc\cleanmgr.exe.mui
Windows Server 2008
32-bit
C:\Windows\winsxs\x86_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_6d4436615d8bd133\cleanmgr.exe
 

Once you’ve located the right files for your installation copy them to the following locations:

  1. Cleanmgr.exe should go in %systemroot%\System32.
  2. Cleanmgr.exe.mui should go in %systemroot%\System32\en-US.

You can now launch the Disk cleanup tool by running Cleanmgr.exe from the command prompt.

 

Reference:

How to free from 1,5GB to 2,5GB in the WinSxS folder after installing SP1 in Windows 7/2008 R2
After installing the SP1 for Windows 7 or Windows Server 2008 R2 you can free some space (the exact size depend on machine configuration) deleting the service pack uninstall files.
After this operation you will not be able anymore to uninstall the Service Pack!
 
You can do that in 2 way:
  1. With a GUI, executing cleanmgr.exe then selecting "Service Pack Backup Files" (Note: Disk Cleanup tool iss not installed by default in Windows Server 2008/2008 R2)
  2. With an Administrative Command Prompt, executing "dism /online /cleanup-image /spsuperseded"

Reference:

Cannot send anonymous e-mails from WSUS using Exchange Server
In case while you're tring setting up alerts in your WSUS Server you got the following error:
 
System.Net.Mail.SmtpException: Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender
   at Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
   at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.SendTestEmail(String emailLanguage, String smtpUserName, String senderEmailAddress, String smtpHostName, Int32 smtpPort, String recipients)
   at Microsoft.UpdateServices.Internal.BaseApi.EmailNotificationConfiguration.SendTestEmail()
   at Microsoft.UpdateServices.UI.SnapIn.Dialogs.EmailNotificationSettingsDialog.backgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
 
If you're using Exchange Server as mail server and your receive connector have enabled both anonymous and integrated authentication, WSUS will authenticate as the computer account, for that reason it doesn0t accept the e-mail addres you've put it in (I suppose will never accept any e-mail adddress, until you got a "mailbox enabled computer account" :-) ).
The 2 possible workaround are:
  • Create a service user account with permission to send e-mail and configure it into WSUS options
  • Modify Exchange connector/SMTP Server in one of the following ways:
    • Disable Integrated Authentication in the current Receive Connector (2007-2010) or SMTP Servwer (2003)
    • (2007-2010) Create a dedicated connector for the IP address of the WSUS Server that allow only TLS authentication and anonymous users
How To Recreate the Birthday and Anniversary reminders in the Outlook Calendar
Sometime you can find multiple or missing reminders about Birthday and Anniversary in the Outlook calendar. The easier way to restore the correct situation is to delete all the current birthdays and anniversaries (easier to do in list view mode) and running the followinf script.
 
Always do a backup of your contacts and calendar folders before running it.
 
Dim objOutlook, objDefaultContactsFolder, objContact
'======================================================
'== Create the outlook object and then get the contacts
'======================================================
Set objOutlook = createobject("Outlook.Application")
Set objDefaultContactsFolder = objOutlook.getnamespace("MAPI").getdefaultfolder(10)
'======================================================
'== here we are looping the entries in the contacts
'== default folder looking for contacts with birtday
'== or annyversary.
'== To recreate the appointments, well delete then restore
'== the birtdays and the anniversaries, in this way
'== Outlook will recreate them
'======================================================
For Each objContact in objDefaultContactsFolder.items
 If TypeName(objContact) = "ContactItem" Then
  Dim birthDate, anniversaryDate
  If (objContact.Birthday <> "01/01/4501") Or (objContact.Anniversary <> "01/01/4501") Then ' seems that this date means no date!!
   birthDate = objContact.Birthday ' save the birth date information
   anniversaryDate = objContact.Anniversary ' save the anniversary information
   objContact.Birthday = "01/01/4501" ' save the birth date as empty string
   objContact.Anniversary = "01/01/4501" ' save the anniversary date as empty string
   objContact.Save
   objContact.Birthday = birthDate ' restore the birthday date
   objContact.Anniversary = anniversaryDate ' restore the anniversary date
   objContact.Save ' saves and generates automatically the appointment
   If birthDate = "01/01/4501"  Then birthDate = "None"
   If anniversaryDate = "01/01/4501"  Then anniversaryDate = "None"
   WScript.Echo objContact.FileAs & " Birtday: " & birthDate & " Anniversary: " & anniversaryDate
  End If
 End If
Next
   
Set objDefaultContactsFolder = Nothing
Set objOutlook = Nothing
XBox Live NAT Port Forwarding (and ISA Issue)
17/04/2008:
In case you have your NAT Moderate or Strict into your XBox 360 Dashboard you have to forward those ports from your router/firewall to make your Xbox Live work correctly:
 
  • UDP 88
  • UDP 3074
  • TCP 3074

In case you're using ISA (and after all few people should have this problem because few people use ISA at home :-) ) and you're doing NAT with ISA and you're getting Strict NAT...you can't use NAT for XBox Live, instead use routing from your router to your XBox and everything will work.

To get this you have to:

  • In your external (Internet) router, add a ROUTE for the single XBox IP (behind ISA, the internal IP) with a netmask /32 pointing to your external ISA IP as gateway.
  • In your external router, create a NAT rule for the 3 XBoxLive ports to the XBox IP (behind ISA, the internal IP) (ATTENTION: Some home routers do not allow to specify a full IP address but only the last digit. In this case this process can't work. :-( )
  • In your ISA, configure a network rule from your route to the XBox (and vice-versa)  with a Route Relation.
  • In your ISA, create the access rules from for the 3 XBoxLive ports from the external network to the XBox IP

07/05/2010 Update:

With TMG finally I successfully got Open NAT with a Publishing rule for the 3 XBoxLive ports, and the NAT rules in the router pointing to the external TMG IP. Of course you also need an Access rule for the same protocols. With the latest XBox firmware updates you also need additional ports. So, to summarize:

XBox Access Rule (From the XBox IP to the Internet)

  • Kerberos-Sec UDP 88
  • XBoxLive UDP 3074
  • XBoxLive TCP 3074
  • HTTP TCP 80
  • HTTPS TCP 443
  • Live Messenger TCP 1863 (If you want to use Messenger on your XBox 360)

XBox Publishing Rule (Ports published to the Internet, allowing access to the XBox IP):

  • Kerberos-Sec UDP 88
  • XBoxLive UDP 3074
  • XBoxLive TCP 3074
[WORKAROUND] How to specify default Tuner Priority in Windows 7 Media Center
In Windows Media Center if you want to change the tuner priority for a single channel it's pretty simple: insode MC go into Tasks => Settings => Guide => Edit channels.  Select channel => Edit sources.  Here you can choose the prioroty for the associated tuner or even remove a tuner, creating a new channel.
 
Unfortunatly there is no option to apply this change to all the channels nor to change the priority during the initial scan.
 
Fortunatly there is a workaround: during TV Setup, when you are asked wich tuner to use, leave selected only one (the one that will be the primary) and finish the procedure, then when you are asked to add more channel reply Yes, and repeat the procedure again and again, for all the tuners.
 
The tuner priorities will be set in the order that you setup the tuners.
 
How To Upgrade the Default E-Mail Address Policies and Address Lists from Exchange 2003 to 2007
Before be able to edit the default E-Mail Address Policies and the default Address Lists after an upgrade from Exchange 2003 to Exchange 2007, you have to upgrade them from powershell:
 
Default E-Mail Address Policy:
Set-EmailAddressPolicy "Default Policy" -IncludedRecipients AllRecipients -ForceUpgrade
 
Default Address Lists:
Set-AddressList "All Contacts" -IncludedRecipients MailContacts -ForceUpgrade
Set-AddressList "All Groups" -IncludedRecipients MailGroups -ForceUpgrade
Set-AddressList "All Users" -IncludedRecipients MailboxUsers -ForceUpgrade
Set-GlobalAddressList "Default Global Address List" -RecipientFilter {(Alias -ne $null -and (ObjectClass -eq 'user' -or ObjectClass -eq 'contact' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass -eq 'publicFolder'))} -ForceUpgrade
Set-AddressList "Public Folders" -RecipientFilter { RecipientType -eq 'PublicFolder' } -ForceUpgrade
 
How to grant SendAs or SendOnBehalf permission to Distribution Group in Exchange 2007
In Exchange 2007 SP1 GUI you have the option to manage the SendAs privilege for users. Unfotunatly in the Distribution Groups it's not available, so you have to use the PowerShell:
 
Get-DistributionGroup "Distribution List Name" | Add-ADPermission -user "DOMAIN\Username" -extendedrights Send-As
 
In case you want that all the mebers of the DG have the SendAs permission, you have first to convert the Distribution Group into Security Group, then you can use the previous command specifying the DL as the username:
 
Get-DistributionGroup "Distribution List Name" | Add-ADPermission -user "Distribution List Name" -extendedrights Send-As
About the SendOnBehalf privilege, you have to always use the PowerShell for both users and DL:
 
Set-DistributionGroup -Identity "Distribution List Name" -GrantSendOnBehalfTo "DOMAIN\Username"
 
ATTENTION: You can assign SendOnBehalf privilege only to mail enabled user accounts, you can't use Distribution Groups.
1 - 15Next
Site Logo
Locations of visitors to this page
View Paolo Fiorani's profile on LinkedIn
MCTS Logo
MCITP Logo
MCSE Logo
MCSA+Messaging Logo
MCP Logo

 Technical Links

collapse Category : Active Directory ‎(6)
Best Practices for Delegating Active Directory Administration
Funzionamento e Diagnostica di Active Directory
LDAP search strings samples
Microsoft Windows Server 2003 Active Directory Resources and Documentation
MSKB: How to query Active Directory by using a bitwise filter
OldCmp - Tool to cleanup AD from old accounts
collapse Category : Beta ‎(1)
MSKB: How to change the Volume Licensing product key on a computer that is running Windows XP SP1 and later versions of Windows XP
collapse Category : Clients ‎(2)
HACK: XP SP2 Concurrent Remote Desktop Sessions
Remote Desktop Client 6.1 for Windows XP Download
collapse Category : Debugging ‎(2)
Blue Screen (BSOD) Analyzer Tool (NirSoft)
WinDBG: Basic MEMORY.DMP debug
collapse Category : EFS ‎(6)
AEFSDR: Advanced EFS Data Recovery (elcomsoft.com)
EFS Key (lostpassword.com)
Encrypted File System Recovery (beginningtoseethelight.org)
MSKB: Best practices for the Encrypting File System
MSTech: Encrypting File System in Windows 2000
MSTech: Encrypting File System in Windows XP and Windows Server 2003
collapse Category : Emulatori ‎(2)
Arcade - MAME
ScummVM
collapse Category : Exchange ‎(21)
Customizing the OWA 2003 Forms-Based Authentication Logon Page
Exchange ActiveSync Errors and Solutions
Exchange Server 2007 Prerequisite Updates
FreePOPs
How can I reset the language for the folder names inside my mailbox?
IMF Managers
Microsoft Exchange Server Public Folder DAV-based Administration Tool
Misc Good Exchange Softwares
MSKB: Error message when you try to synchronize a mobile device with Exchange Server 2003: "HTTP_403"
MSKB: How to configure RPC over HTTP in Exchange Server 2003
MSKB: How to configure the size limit for both (.pst) and (.ost) files in Outlook 2003
MSKB: Message tracking event IDs in Exchange Server 2003
MSTech: Creating and Deploying Outlook Web Access Themes
MSTech: Customizing the Outlook Web Access Logon Page
MSTech: Step-by-Step Guide to Deploying Windows Mobile-based Devices with Microsoft Exchange Server 2003 SP2
MX Lookup, diagnostic and blacklist checker
PopRoute
Slipstick
SMTP Telnet Test
SSLTunnel
Using Microsoft Exchange Intelligent Message Filter
collapse Category : Hardware ‎(6)
CPU-Z
CrystalDiskMark
CrystalMark 2004R2
MemTest86
SecurAble: Determine Processor Security Features (Virtualization...)
Windows Memory Diagnostic
collapse Category : IIS ‎(3)
How IIS6 Process Requests
MSKB FIX: You experience various problems when you use the Password Change pages in IIS 6.0
Online SSL Converter
collapse Category : ISA ‎(8)
Customize the OWA 2003 Forms-based logon page in your ISA Server 2004
Jim Harrison's www.isatools.org
Microsoft ISA Web Proxy service event messages
MSKB: Enterprise firewall configuration for Exchange ActiveSync Direct Push Technology
MSKB: Network ports and URLs that are used by Windows Live Messenger
MSTech: Outlook Web Access Server Publishing in ISA Server 2004
Publishing SharePoint with ISA 2006
Supporting Both Basic and Forms-based Authentication with a Single External IP Address and Web Listener
collapse Category : MediaCenter ‎(7)
Converting DVR-MS Files to MPEG2
Digital Media Converter
Fun with DVR-MS (Sample Code + Binaries of "DVR-MS Editor")
Media Center guide download errors and suggested fixes
MediaControl MCE PlugIn
Transcode 360
WebGuide 3
collapse Category : MOM ‎(2)
How to Install MOM 2005 on SQL 2000 SP4
MOMResources.org
collapse Category : Money ‎(2)
Microsoft Money Patches & Fixes
XL2QIF
collapse Category : Other ‎(3)
Depicus Wake On Lan
ImgBurn - CD / DVD / HD DVD / Blu-ray burning application
TomTom Custom Cars
collapse Category : PKI ‎(2)
MSTech: Certificate Autoenrollment in Windows XP
MSTech: Managing Server Certificates Programmatically in IIS 6.0 (IIS 6.0)
collapse Category : Scripting ‎(4)
Microsoft PowerShell Blog
PowerShell Custom Prompt
PowerShell Scripting Examples
VBScript 800xxxxx error codes
collapse Category : Security ‎(2)
Nessus Vulnerability Scanner (Free, OpenSource)
Winfingerprint
collapse Category : Servers ‎(1)
Tardis NTP Time Server
collapse Category : Sharepoint ‎(3)
Plan alternate access mappings (Office SharePoint Server) for Reverse Proxy scenario
What every SharePoint administrator needs to know about Alternate Access Mappings
WSS FAQ & Tutorials
collapse Category : SmartPhones-PocketPC ‎(3)
Automatic Keylock & CellProfileSwitcher
Crtimprt, P7B Certificates import for Pocket PC & Windows Mobile 5.0
PFX Import utility for Pocket PC 2003 and Windows Mobile 5.0
collapse Category : Videogames ‎(6)
GLTron
IAGTG - Il Pollo Di Gomma (Traduzioni)
Monkey Island World (Ita)
Sito Senza Nome (Abandonware)
Soundfont Island
WipeOut Zone
collapse Category : VirtualServer ‎(2)
How to Install Windows Server 2008 Hyper-V
MSKB: Guest operating systems that are supported on a Hyper-V virtual machine
collapse Category : VoIP ‎(4)
Lista provider VoIP per l'Italia con prezzi
Skypho - Free SIP Provider
VoIP Software Comparison
VoipBuster - Free SIP Server
collapse Category : VPN ‎(1)
VPN Client Error Codes
collapse Category : Windows ‎(5)
BootDisk.Com, Free Boot Disks
iRotate - Rotate your desktop
MS KB: How to troubleshoot unknown devices that are listed in Device Manager in Windows XP
MSKB: Remote Desktop Connection 7.0 client for Windows XP SP3, Windows Vista SP1 and Windows Vista SP2
Remote Desktop Connection 6.1 client for Windows XP Service Pack 2
collapse Category : WindowsMediaPlayer ‎(7)
Bynasoft MP3 Tester
EncSpot Media Analyzer
Goom Visualization Effect
id3-TagIT
Tag&Rename
Windows Media Player Plug-ins
Windows Media Player: WMP mini FAQ
collapse Category : WSUS ‎(2)
Error messages that you may receive when you try to download and install updates from the Windows Update & C. "0x800704DD" or "0x80240020"
MSKB: How to read the Windowsupdate.log file
collapse Category : XBox ‎(2)
Gestione account e fatturazioni XBoxLive
MSKB: The Diagnostic Server shows Network Address Translation (NAT) type problems when using Xbox Live

 Useful Tools

 HashTab 3.0
 Free PDF to Word Converter
Mosca