|
Hi All
I'm Paolo Fiorani and this is my blog/website, I will use it to put things I want to remeber, usefully things in an easly reachable place: Internet, and also somebody might find something useful ;) When I'll have time I'll add also some photos of things and places I like and I visited! :) I'd like also to add something about mi interest, as soon as I found a bit of free time ;)
Ciao a tutti
Sono Paolo Fiorani e questo è il mio blog/website, lo utilizzerò per metterci le cose che mi voglio ricordare, cose utili in un posto facilmente raggiungibile: Internet, inoltre qualcuno potrebbe anche trovare qualcosa di utile ;) Quando avrò tempo aggiungerò anche alcune foto di "cose" che mi piacciono e posti che ho visitato! :) Voglio anche mettere alcune pagine sugli argomenti che mi interessano, appena trovo un po' di tempo ;)
|
|
|
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)
In the following links you'll find more details in editing and using pictures inside Active Directory:
|
|
Windows Vista/7/2008/2008R2 does not have anymore the concept of primary IP address like in Windows XP/2003.
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. |
|
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>
|
|
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:
- Logon to the Edge server with Administrative rights
- In the Exchange console select Edge Transport, and then click the Properties
- Click the Limits tab
- 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 |
|
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.

|
|
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
|
|
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 |
|
|
64-bit |
C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_b9f50b71510436f2\cleanmgr.exe.mui |
|
|
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:
- Cleanmgr.exe should go in %systemroot%\System32.
- 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:
|
|
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:
- 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)
- With an Administrative Command Prompt, executing "dism /online /cleanup-image /spsuperseded"
Reference:
|
| 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
|
| 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
|
| 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:
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
|
|
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.
|
|
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
|
|
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. |
|
|
|
|