Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Registry settings for Outlook 1

Status
Not open for further replies.

Hellooooooooo

Technical User
Oct 21, 2005
66
GB
Hello everyone.

I'm trying to change the settings of the Outlook temp file that each user has. I have posted this in the Office Forum, but thought I would try posting here as well as it is more to do with the Win2k registry.

Here's the plot. We have Win2k Workstations with Office 2003 Pro installed connecting to a Exchange 5.5. When a user gets a email with an attachment, they double click on the attachment and open it. A copy of the file is saved in the users Temp location e.g.

C:\Documents and Settings\Marty\Local Settings\Temporary Internet Files\OLK### with 3 random numbers after OLK.

What I want to do is change the location to D:\Documents and Settings\Marty\Local Settings\Temporary Internet Files\OLK###. This way they will not be using up the space on the C Drive and stopping the virus scanner running.

I’ve had a look at the registry and tried to use the logon.vbs to write the following:

strKey="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache"
objShell.RegWrite strKey, "D:\Documents and Settings\499465g\Local Settings\Temporary Internet Files", "REG_SZ"

It changes the entry in the registry, however files are still saved onto the C: Drive.

Has anyone else played with this idea, or know of a better solution.

As it's Friday afternoon, I'm going to do runner while it's all looking good.

Have a good weekend everyone.

Laters

Marty
 
suggestion

Change the location of temporary internet files from

C:\Documents and Settings\Marty\Local Settings\Temporary Internet Files to

D:\Documents and Settings\Marty\Local Settings\Temporary Internet Files

(as you probably know you can do this in IE settings, general tab, Temporary Internet Files settings button).

Reboot and then delete the C: drive version.

Sounds like you really want to move the whole profile (or documents and settings) folder to the D: drive as there's lots of areas of the profile that windows reads from/writes to frequently - eg C:\Documents and Settings\Marty\Local Settings\Temp.
 
Hello Wolluf.

I wanted to change the profile location to the D:, however some great legacy software that we have needs the main profile to live on the C:. It's coded into the program. Iv'e found the Registry entry that I need to alter:

strKey="HKCU\Software\Microsoft\Office\11.0\Outlook\Security\OutlookSecureTempFolder"

objShell.RegWrite strKey, "D:\Documents And Settings\%UserName%\Local Settings\Temporary Internet Files", "REG_EXPAND_SZ"

I have a logon script in vbs that sets loads of settings on logon. Im stuck now, Ive changed the Drive to D:, however I can tink how to get the %UsernName% to pick up the current loggen on user. With out this it's doing me head in.

One for the scrip gods out there i think.

Cheers

Marty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top