Ramblings from The Montopolis Group

Building better businesses… with Technology

Browsing Posts in Tips

Once we introduced Windows 7 systems to our network, our GPO to set the screensaver and lock the system after 15 minutes stopped working.

A Google search only relevantly led me here:

http://blog.mpecsinc.ca/2009/05/windows-7-no-logon-screen-saver.html

So after some leg work, here is the GPO you want to create & use now.

Create a GPO Link and set it up as follows:

image thumb New GPO for Screen Saver Lock aka Where did LOGON.SCR go?

Let GPO replicate or gpupdate /force it.

Tested on Windows 2003, XP, 2008 & 2008 R2 & 7.  Not tested on Vista, assume it’ll work.

If you want more granular control you can create WMI filters.  This nice article Creating WMI and Group Filters for 2000, XP, 2003, 2008, Vista, 7, 2008 R2 is right from the documentation gods @ Microsoft!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • LinkedIn
  • Live
  • Print
  • Technorati
  • TwitThis
  • Ping.fm

Ok all you developers out there…

I don’t care what language you write in or how good you think you are, there are some basic rules for sending email that seem to be continuously neglected which only causes unecessary drama for everyone around you.

I don’t care if you’re an internal/intranet developer, or work for eBay.  It’s the same basic rules.

Being both a developer and a mail admin myself, I know this stuff gets complicated real fast.  And I’ll also assume you haven’t been trained better.

So assuming you want to keep on developing code, here is what you should know…

1. ALWAYS follow ALL of the rules below

a. Whether sending 1 email or 60,000, the rules are always the same – no shortcuts!

2. ALWAYS authenticate, if you have the option!

a. Security is always important. Having proper permission to send/relay email is step 1, not step 99.

3. ALWAYS use SMTP TLS/SSL, if you have the option!

a. Again security is important, and you don’t want to be the developer who allows highly sensitive data and/or credentials to be read by a 12 year old, with a free network sniffer (http://www.wireshark.org/ or http://blogs.technet.com/netmon/), and then posted on MySpace.

b. No matter what you’ve heard, it’s too darn easy (and fun) to sniff network traffic.

4. ALWAYS specify a proper email subject, even during testing.

a. Blank subjects are bad form (see #6) and plain useless to all concerned.

5. ALWAYS insure a valid FROM and/or REPLY-TO email address.

a. Bogus data here increases the possibility that a server you are sending through can get blacklisted (worst case) or just poor email delivery (best case).

6. ALWAYS well form all emails sent, especially if you’re including attachments.

a. Using a good class (which is maintained by folks who know better) usually resolves this. Otherwise same concerns as #5.

b. If you aren’t using a class, then I expect to you to understand and have memorized all of these RFCs: RFC 821, RFC 822, RFC 2821, RFC 2822, RFC 2487, RFC 2045, RFC 2046, RFC 2047, RFC 2048 and RFC 2049

7. ALWAYS consider how to handle send failures in the event you are developing synchronous code.

a. If you are asked to write code to send an email, presumably the recipient is expecting one.

b.  Failing to properly handle errors means that the recipient is left hanging which only leads to a shortened development career.

8. ALWAYS insure you can enable and see debugging internals of your mail code.

a. You can’t blame the mail admin folks if you have no idea what your email code is ACTUALLY doing.

b.  They can’t AND won’t help unless you can provide PROOF of what is failing – they need to see the entire transaction. It’s the whole needle in the haystack thing. No mail admin wants to dig through a billion lines of logs to find your dumb mistake.

9. ALWAYS consider your email send volume and plan accordingly.

a. Don’t assume you’re allowed to send 6 million emails – you’re not.   When in doubt ASK.

b. Network throttling and limiting is implemented for a valid purpose – to keep bad stuff from happening. You know the Vulcan saying… The needs of the many, outweigh the needs of the few, and YOU!

c. Uh bandwidth costs money. Even if you’re not paying for it, someone is. And that someone will find you (or worse your boss) and get the money and/or pounds of flesh. Unless you’re the developer writing the next version of Google Earth or Microsoft Word, you can expect it.

I won’t even go into how to properly test your email code before going into production, because I will assume you can take it from here.  Right?

Those are the basics.  Learn ‘em, live ‘em, love ‘em.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • LinkedIn
  • Live
  • Print
  • Technorati
  • TwitThis
  • Ping.fm

Go to Add/Remove Programs

Looking for KB958644, must tick “Show Updates”

image thumb Microsoft Critical RPC Vulnerability Patch Verification

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • LinkedIn
  • Live
  • Print
  • Technorati
  • TwitThis
  • Ping.fm

My previous reference, “It couldn’t be any easier!”, was a little premature.. I take that back.

We have run in to a few issues with the iPhone and Exchange sync when trying to sync to a server with a self-signed certificate.

It seems the iPhone will not do business with a non CA Cert.

Here is how we bypass this little problem.

You first need a personal email account setup on your iPhone! (Gmail, Yahoo, .me)

For simplicity, on your computer, open IE and navigate to your Outlook Web Access (you can do this from the server if you are an advanced user), click on the cert button:

image thumb iPhone 2.0 and Exchange Setup   Part Two!

In the drop down, select View Certificates.

On your certificate window that just popped up, go to the Details tab.

image thumb1 iPhone 2.0 and Exchange Setup   Part Two!

Click on “Copy to File…”

Go through the wizard and export the certificate as a DER encoded binary (.CER) file. Put it on your desktop.

Once exported, take the new .cer file and send it via email, as an attachment, to your iPhone.

On your iPhone go to your Mail icon and go to the Inbox of the personal account. Find the email you just sent.

Scroll to the bottom of the email and click on the cert.cer file…

photo thumb1 iPhone 2.0 and Exchange Setup   Part Two!

After you click, you’ll be presented with the Install Profile screen.

Just click the Install button to install the certificate.

photo thumb2 iPhone 2.0 and Exchange Setup   Part Two!

Once complete, you can now sync with Exchange, complete the setup process outlined in my previous post!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • LinkedIn
  • Live
  • Print
  • Technorati
  • TwitThis
  • Ping.fm

It couldn’t be any easier! Follow these steps to setup your Exchange account on your iPhone.

Step One

Go to Settings -> Mail -> Add Account

photo thumb iPhone 2.0 and Exchange Setup

Choose Exchange

Enter your Email Address.

photo2 thumb iPhone 2.0 and Exchange Setup

Enter your Domain\Username (this is tricky! contact TMG for your domain).

Enter your Password

Hit Next, wait a few seconds while the iPhone attempts to make a connection to your Exchange server. If the attempt fails, the iPhone will ask for your Exchange Server Address

photo3 thumb iPhone 2.0 and Exchange Setup

Enter your Exchange Server Address (usually rww.yourdomain.com)

Hit Next

photo4 thumb iPhone 2.0 and Exchange Setup

Select what you would like to sync and hit Save.

Now go to your mail account and open to view your folders! Simple! All of your email is PUSHED to your iPhone, try it! Send an email from your Yahoo mail account to your Corporate Exchange account and watch the email push to your iPhone!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • LinkedIn
  • Live
  • Print
  • Technorati
  • TwitThis
  • Ping.fm
Powered by WordPress Web Design by SRS Solutions © 2010 Ramblings from The Montopolis Group Design by SRS Solutions