Windows Tips &amp Tricks UPDATE, July 3, 2006
Subscribe to Windows IT Pro: https://store.pentontech.com/index.cfm?s=1&promocode=eu205xxL

Make sure your copy of Windows Tips & Tricks UPDATE isn't mistakenly blocked by antispam software! Be sure to add Windows_TipsandTricks_UPDATE@list.windowsitpro.com to your list of allowed senders and contacts.

These advertisers help bring you Windows Tips and Tricks for free

Argent Software
http://www.argent.com/w/whitepapers_mom.html?Source=WNT

Hewlett-Packard
http://www.windowsitpro.com/go/whitepapers/HP/exchange2003?code=T&Tmid0703

TNT Software
http://www.tntsoftware.com/wintip070306


Sponsor: Argent Software

NETWORK TESTING LABS COMPARES ARGENT TO MOM 2005 Network Testing Labs, one of the world's leading independent research companies, concluded that "Argent's suite had a smaller footprint, was more scalable, supported more platforms, had a more responsive and intuitive user interface and gave us more useful reports," the report says. "Argent's suite of monitoring products emerged from our testing with flying colors." Download this FREE Comparison Paper now:
http://www.argent.com/w/whitepapers_mom.html?Source=WNT


FAQs

  • Q. How can I copy Windows Server 2003 R2 File Server Resource Manager (FSRM) templates between servers?
  • Q. How can I change the 60-minute flood setting for Windows Server 2003 R2 File Server Resource Manager (FSRM) templates?
  • Q. How can I use Windows Live OneCare to check my system status?
  • Q. How can I force a net use command to remember the credentials to use for a server?
  • Q. How can I use a script to add email addresses to a distribution group in Active Directory (AD)?

Sponsor: Hewlett-Packard

Many things can affect your messaging system's availability, including component failure, power outages, operator errors, and natural disasters. Plan and implement reliable strategies to maintain highly available Exchange Server 2003 messaging systems.
http://www.windowsitpro.com/go/whitepapers/HP/exchange2003?code=T&Tmid0703


FAQs

Q. How can I copy Windows Server 2003 R2 File Server Resource Manager (FSRM) templates between servers?

A. Currently, there's no way to use the GUI to copy templates between servers, but you can use command-line tools to export and import templates. For example, to export a specific file-screening template, use the datascrn.exe command-line utility, as the following example shows (use dirquota.exe to export quota templates):

C:\>filescrn template export /file:e:\filescreenmp3.xml /template:"Block MP3"

To import the template, substitute import for export with the same syntax, as this example shows:

C:\>filescrn template import /file:e:\filescreenmp3.xml /template:"Block MP3"
Note that you can use the /remote switch to import a template to or from a remote server.

If a file screen operates on nonstandard file groups, you need to export and import them also or the file groups the template references won't exist on the target server. You do this via the "filescrn filegroup" export and import command using the same format as we used to import and export templates.

Q. How can I change the 60-minute flood setting for Windows Server 2003 R2 File Server Resource Manager (FSRM) templates?

A. The 60-minute flood setting limits the system to performing actions associated with a quota or file screen to once an hour no matter how many violations of the quota or file screen occur. The simplest way to modify the setting is to export the template to XML, as explained in the FAQ "How can I copy Windows Server 2003 R2 File Server Resource Manager (FSRM) templates between servers?" (http://www.windowsitpro.com/windowsnt20002003faq/Article/ArticleID/53917/windowsnt20002003faq_53917.html ); modify the RunLimitInterval value in the FileGroupActions section to the number of minutes for flooding, as the figure shows; then import the template with the new run limit in place.

If you set the RunLimitInterval to 0, there will be no suppression of actions, which in the case of email, might result in the user being flooded with violation messages.

Q. How can I use Windows Live OneCare to check my system status?

A. When you use the Windows Live OneCare service, an icon in the notification tray will appear either red (computer is at risk), orange (status fair but requires some actions) or green (good), as the figure shows.

If you double-click the OneCare icon, the main management interface will launch and display any items that you need to address. Or you can trigger manual actions such as an antivirus or spyware scan, as the figure shows.

You can click "View or change settings" in the left pane under "Other Tasks" to configure options such as how often to run the system tune-up; set backup prompts; enable antivirus, antispyware, and firewall functionality; and set logging options. You can find more information about Windows Live OneCare at http://www.windowsonecare.com/ .

Q. How can I force a net use command to remember the credentials to use for a server?

A. Ordinarily, you're prompted for credentials when you access a remote server that's outside of your regular account domain. However, if you use the /savecred switch with the net use command, it will prompt for the credentials to use and store the credentials for any future connection, as the following example shows:

net use * \\savdaldc02\temp /savecred

Q. How can I use a script to add email addresses to a distribution group in Active Directory (AD)?

A. The following script, which you can download at http://www.windowsitpro.com/articles/download/addtodg.zip , will add email addresses to a distribution group. In the script, the first LDAP path is the location where the contacts will be created; you need to change it to a valid path for your environment. The second LDAP path is the distinguished name (DN) of the distribution group to which the contact will be added.

' Check whether all required arguments have been passed.
If Wscript.Arguments.Count  0 Then
WScript.Echo "Error " & Hex(Err)
End If
Err.Clear

Set grpObj = GetObject("LDAP://cn=HRMailing,dc=dom,dc=com")
If Err  0 Then
WScript.Echo "Error " & Hex(Err)
End If
Err.Clear


Set contactObj = containerObj.Create("contact","cn=" & strContactToAdd)
If Err  0 Then
WScript.Echo "Error " & Hex(Err)
End If
Err.Clear

contactObj.mail = strContactToAdd
contactObj.mailNickName = strContactToAdd
contactObj.SetInfo

grpObj.Add(contactObj.AdsPath)
grpObj.SetInfo

Run the script by using the following command:

D:\Temp>cscript createcontact.vbs john@savilltech.com

Hot Release (advertisement)

Download a Tool that will Benefit any Sys Admin Be proactive; download ELM Enterprise Manager from TNT Software and experience for yourself why ELM is recognized as the tool that will benefit any System Administrator. The real-time Monitoring, Alerting, Archiving and Reporting will save you time, enhance productivity and support your security mandates. Here is a link to get started:
http://www.tntsoftware.com/wintip070306

Events and Resources
(A complete Web and live events directory brought to you by Windows IT Pro: http://www.windowsitpro.com/events )

  • Learn how to gather evidence of compliance across multiple systems and link the data to regulatory and framework control objectives. View this on-demand Web seminar today!

  • http://www.windowsitpro.com/go/seminars/bindview/multiregcompliance/?partnerref=0705emailannc

  • Take an up-to-date look at secure, remote access to corporate applications and stay ahead of the curve when making decisions about near- and long-term IT infrastructure. On-demand Web seminar.
  • http://www.windowsitpro.com/go/seminars/whale/vpn/?partnerref=0705emailannc

  • Find out what policies help or hurt in protecting your company's assets and data. View this on-demand seminar today!

  • http://www.windowsitpro.com/go/seminars/compliance/?partnerref=0705emailannc

  • Gain control of your messaging data--and make your job easier--with these step-by-step instructions for complying with the law and ensuring your systems are working properly.

  • http://www.windowsitpro.com/toolkits/ilumin/index.cfm?code=0705emailannc

    Featured White Paper
    (from Windows IT Pro and its partners)

  • Achieve compliance in today's complex regulatory environment while managing threats to the inward- and outward-bound communications vital to your business. Adopt a best-practices approach, such as the one outlined in the international information security standard ISO/IEC 17799:2005. Download the white paper today and secure the confidentiality, availability and integrity of your corporate information!

  • http://www.windowsitpro.com/go/whitepapers/surfcontrol/securitystandard/?code=0705featwp

    Announcements
    (from Windows IT Pro and its partners)

  • Discounted Offer for the Windows IT Pro Master CD

  • Save 50% off the Windows IT Pro Master CD! Order now and get portable, high-speed access to the entire Windows IT Pro article database on CD--a searchable library that includes every issue ever published. The newest issue also includes BONUS Windows IT Tips. Order now and save 50%:
    https://store.pentontech.com/index.cfm?s=9&promocode=eu2267uc

  • Save $80 off the Exchange & Outlook Administrator newsletter

  • Get endless solutions to help you migrate, optimize, administer, back up, recover, and secure your messaging environment. Subscribe to the Exchange & Outlook Administrator newsletter today and save $80:
    https://store.pentontech.com/index.cfm?s=1&promocode=eu2367ue

    Contact Us
    Here's how to reach us with your comments and questions:

    This email newsletter is brought to you by Windows IT Pro, the leading publication for IT professionals deploying Windows and related technologies. Subscribe today.
    https://store.pentontech.com/index.cfm?s=1&promocode=eu205xxb