GPO to redirect Outlook "AutoArchive" location

B

Bob

I'm looking for a GPO that will also redirect the "AutoArchive" location.
Anyone have a GPO for this?


Thanks!
 
R

Robert Zhao [MSFT]

Hello Bob,

I understand you would like to use GPO to redirect the Outlook AutoArchive
location.

As the Path was stored in the Profile's registry keys, instead of the
user's registry keys, the ADM template cannot do this. If we want to deploy
the path, we need to modify user's profiles by the PRF template. To do this:

Modify an existing .prf file
==============================
The CIW is included with the Microsoft Office Resource Kit 2003. The
following steps describe how you can create an Outlook profile by using CIW
that includes an archive .pst file. In this example, the name of the
archive .pst file is Archive.pst and the location is set to use the
C:\FolderName folder. You can change the path and the file name to the
location and the file name that you want.

Note The folder path for the archive .pst file must exist for this method
to work correctly.
1. Start the Microsoft Office 2003 CIW.
2. On the Custom Installation Wizard page, click Next.
3. On the Open the MSI File page, specify the Microsoft Windows Installer
package file (.msi) that you want, and then click Next.
4. Click Create a new MST file, and then click Next.
5. Continue to click Next until you reach the Outlook: Customize Default
Profile page.
6. On the Outlook: Customize Default Profile page, click New Profile, type
a name for the profile in the Profile name box, and then click Next.
7. Add the settings that you want, such as the name of the Microsoft
Exchange Server and the user name, and then click Next.
8. Repeat step 7 to add the settings that you want to the pages that follow
until you reach the Outlook: Remove Accounts and Export Settings page.
9. On the Outlook: Remove Accounts and Export Settings page, click Export
File Settings.
10. In the Save As dialog box, type the path and the file name that you
want, and then click Save.
11. Click Finish, and then click Exit.
12. Start a text editor, such as Notepad, and make the following changes to
the .prf file that you saved in step 10:
a. Under Section 2 - Services in Profile, type ServiceX=Microsoft Outlook
Client in the [Service List] section.
b. Create a [ServiceX] section under Section 4 - Default values for each
service by typing the following information: [ServiceX]
c. In the [ServiceX] section that you created in step 12b, type
AutoArchiveFileName=c:\FolderName\archive.pst under Section 4 - Default
values for each service.
d. In the [Microsoft Outlook Client] section, type
AutoArchiveFileName=PT_STRING8,0x0324 under Section 6 - Mapping for profile
properties.
13. Import the .prf file by using Outlook, or deploy the .prf file by using
one of the supported installation methods.

For more information, please refer to the following article:

How to set the location of an archive .pst file in Outlook
http://support.microsoft.com/kb/836755

In addition, I'd like to let you know the default path for AutoArchive on
Outlook.

The default path for AutoArchive on outlook is set to %System
Drive%\Documents and Settings\User Profile\Local Settings\Application
Data\Microsoft\Outlook\Archive.pst.

We can change the path of the Archive.PST on the client computer by going
to Outlook - Tools - Options - Other - AutoArchive - Change the path.

The corresponding registry key on the client computer is:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\<ProfileName>\0a0d020000000000c000000000000046

The value which controls the path on Outlook 2007 is different and the
value is "001f0324". There is no change in registry value for the below
conditions.

The location and file name set in Tools\Options\AutoArchive\Default Archive
File maps to 001f0324.
The location and file name set in File\Archive\Archive File maps to
001f032c.

More Information:
The values which control the path on Outlook 2003 as follows:
001e0324
001e032c

The location and file name set in Tools\Options\AutoArchive\Default Archive
File maps to 001e0324.
The location and file name set in File\Archive\Archive File maps to
001e032c.

Additional information:
===================
Personal folder files are unsupported over a LAN or over a WAN link
http://support.microsoft.com/kb/297019

Network Stored PST files ... don't do it!
http://blogs.technet.com/askperf/archive/2007/01/21/network-stored-pst-files
-don-t-do-it.aspx

I hope it will be helpful. If you have any questions on them, feel free to
let me know.

Sincerely,
Robert Zhao
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

Robert Zhao [MSFT]

Hello Bob,

How's everything going?

I'm wondering if the suggestion has helped or if you have any further
questions. Please feel free to let me know if I can assist further.

Sincerely,
Robert Zhao
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

Robert Zhao [MSFT]

Hi Bob,

Please take your time. I'm looking forward to your feedback. If you have
any questions while doing the steps, please feel free to post back.

Have a nice day!

Sincerely,
Robert Zhao
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
B

Bob

Okay Robert,

I tried your suggested technique for Outlook 2003 and it WORKED! THANK YOU!

I'd like to do the same with Outlook 2007, but I can't find a resouce kit
for that. Is there one?

Small Problem:
While in the CIW, I also configured the option to "Schedule an automatic
Send/Receive every 5 minutes", but this one doesn't seem to take. Other
settings such as to pre-populate my Exchange Server computer name and
%UserName%, all do work - and that is a bonus for me!

Any idea why the Automatic Send/Receive doesn't work?

p.s. I'd rather set "Schedule an automatic Send/Receive every 5 minutes" in
the GPO, but I don't see it as an option. But it is an option in the CIW
tool and I belive it is exporting this to the PRF file which I import during
the initial config of the Outlook client.

THANKS MUCH for your help thus far!

btw, as you probably suspected, I'm relocating my archive.pst to the server
which your post clearly suggested "not to do" and is "not supported". But
reading through those links, it seems they are refering to relocating a pst
that is used "every day" as opposed to an archive.pst which is updated once
every two weeks (as long as the user doesn't have it open each time they
start Outlook that is). So, although I understand the risk of corrupting
the archive.pst (and less so swamping the network as I only update it twice
a month), I think it is a better trade-off than leaving it in the users
local profile which is useless when they roam and can't be appended to. And
considering that I use DelProf.exe (which btw is now a GPO for Vista), those
archive.pst files will soon be lost anyway. It would be nice if Exchange
2007 could be enhanced to archive the users data files, but for now, I guess
that is left to third party utilities.

Bob.
 
R

Robert Zhao [MSFT]

Hi Bob,

Thanks for your reply and let us know the problem is resolved in Outlook
2003.

And now you want to know how to do it in Outlook 2007. To get the .PRF file
for Outlook 2007, you can use the Office Customization Tool (OCT). The
follow articles can help you do this:

Customize Outlook profiles with an Outlook Profile (PRF) file
http://technet2.microsoft.com/Office/en-us/library/71b4efb2-539a-49eb-935e-3
222aed9f6a21033.mspx

Customize the 2007 Office system
http://technet2.microsoft.com/Office/en-us/library/a33e64b0-46a5-45e5-b76f-3
add595af8de1033.mspx

See more information:
===================
Preparing to deploy the 2007 Office system
http://technet2.microsoft.com/Office/en-us/library/19f52154-8608-4606-b979-7
7a7296485091033.mspx

You have mentioned that the send/receive option is not working. Based on my
knowledge, the feature is designed for SMTP/POP3 account. If you enabled
Cached Exchange Mode, Outlook will follow its own principle to synchronize
data with Exchange Server. See:

Description of Outlook 2003 with Cached Exchange Mode in an Exchange Server
2003 environment
http://support.microsoft.com/kb/870926

By the way, I know your concern of the PST location. Your understand is
also correct.

If you have any questions, please feel free to post back. I'll try my best
to help.

Have a nice day!

Sincerely,
Robert Zhao
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
B

Bob

Hi Robert

The tips for Outlook 2007 works also, so thanks!

But I noticed the PRF for the Outlook 2003 does something different than
what happens in Outlook 2007 in that it fails to create an Outlook 2003
Address Book.

If I don't use the PRF and configure Outlook 2003 or 2007 manually, I will
end up with an Outlook Address Book associated with my Contacts folder.

If I do use the PRF in Outlook 2007, I will also have an Outlook Address
Book associated with my Contacts folder.

The problem is when I use a PRF in Outlook 2003. In that scenerio, the
Outlook profile fails to contain the Outlook Address Book.

Thinking it may be the fault of the PRF's, I swapped them around and used
the 2003 PRF to configure Outlook 2007 and the 2007 PRF to configure Outlook
2003. This resulted in no change and Outlook 2003 continued to "not" create
an Outlook Address Book (and Outlook 2007 continued "to" create and Outlook
Address Book).

I'm guessing I need to manually edit the Outlook 2003 PRF file to instruct
Outlook 2003 to create an Outlook Address Book?

Thanks for your continued expert help on this!!

Bob.
 
R

Robert Zhao [MSFT]

Hi Bob,

I'm glad to see that it works for Outlook 2007.

As per the Outlook Address Book issue, please note that the Service order
in the PRF file is Exchange Server first and Outlook Address Book second.

Edit the PRF portion to reverse the Services order as follows:

; **************************************************************
; Section 2 - Services in Profile
; **************************************************************
[Service List]
;ServiceX=Microsoft Outlook Client
ServiceEGS=Exchange Global Section
Service2=Microsoft Exchange Server
ServiceEGS=Exchange Global Section
Service1=Outlook Address Book

;***************************************************************
; Section 4 - Default values for each service.
;***************************************************************
[ServiceEGS]
MailboxName=%UserName%
HomeServer=smtp.servername.com
[Service2]
OverwriteExistingService=No
UniqueService=Yes
MailboxName=%UserName%
HomeServer=smtp.servername.com
AccountName=Microsoft Exchange Server
[Service1] "

I hope it will be helped.

Have a nice day!

Sincerely,
Robert Zhao
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
B

Bob

Robert, you're GOOD!

Yes, this fixed the problem also.

I can't think of anything else to resolve. You really know your stuff!

Thanks a million!

Bob.
 
R

Robert Zhao [MSFT]

Hi Bob,

It's my pleasure to provide the information. :)

Have a nice day!

Sincerely,
Robert Zhao
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

Dmitry

Hi, Robert!

http://www.microsoft.com/communitie...&tid=85df31a7-c720-4d47-9cc4-9b42a98ba0f2&p=1

I'd like to let you know about my tests.

This is a test GPO. And it work, set in GPO value \\somepath\test,
start outlook, you will see: \\somepath\test in the settings of AutoArchive

1. Native type of “001f0324†value is REG_BINARY (why?), but I set
REG_EXPAND_SZ and it work…
Example: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook
(ForcePSTPath, Outlook 2007 GPO) type: REG_EXPAND_SZ

But it not work with %...% with AD (like, \\somepath\test\%USERNAME% ) ïŒ


Any ideas?


Dmitry Butkevich.

--------------------------
CLASS USER

CATEGORY "ARHIVE PST FILES"
KEYNAME "Software\Policies"
POLICY "Location archive.pst file"
EXPLAIN !!help

PART "PARAMETER 1" EDITTEXT
KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem\Profiles\Outlook\0a0d020000000000c000000000000046"
VALUENAME "001f0324"
EXPANDABLETEXT
END PART

PART !!help1 TEXT

END PART
END POLICY
END CATEGORY

[strings]
help1="Exapmle1: n;3;\\some_path\Outlook\"
help="\nCorrecting path to arhive.pst file"
--------------------------
 
D

Dmitry

Hi, Robert!

http://www.microsoft.com/communitie...&tid=85df31a7-c720-4d47-9cc4-9b42a98ba0f2&p=1

I'd like to let you know about my tests.

This is a test GPO. And it work, set in GPO value \\somepath\test,
start outlook, you will see: \\somepath\test in the settings of AutoArchive

1. Native type of “001f0324†value is REG_BINARY (why?), but I set
REG_EXPAND_SZ and it work…
Example: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook
(ForcePSTPath, Outlook 2007 GPO) type: REG_EXPAND_SZ

But it not work with %...% with AD (like, \\somepath\test\%USERNAME% ) ïŒ


Any ideas?


Dmitry Butkevich.

--------------------------
CLASS USER

CATEGORY "ARHIVE PST FILES"
KEYNAME "Software\Policies"
POLICY "Location archive.pst file"
EXPLAIN !!help

PART "PARAMETER 1" EDITTEXT
KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem\Profiles\Outlook\0a0d020000000000c000000000000046"
VALUENAME "001f0324"
EXPANDABLETEXT
END PART

PART !!help1 TEXT

END PART
END POLICY
END CATEGORY

[strings]
help1="Exapmle1: n;3;\\some_path\Outlook\"
help="\nCorrecting path to arhive.pst file"
--------------------------
 
J

Jesper

I found your guide to redirect the autoarchive folders and hav
redirected the folders to our users homedirectory where we can take
backup.

We have one issue though. some users have access to other share
mailboxes. This means that the shared mailbox is also autoarchived t
the users personal homedirectory.
We would like to change that, so the shared mailbox is archived in
seperate folder.
Any ideas how to do that?

Jespe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top