Solved

Outlook 2003 OLK** folders hidden. Want to view with Windows Explorer

Posted on 2006-06-12
18
95,977 Views
Last Modified: 2011-08-18
Simple question but hard to find the answer.

Outlook 2003 saves attachments in the OLK** folder located in C:\documents and settings\profile\local settings\internet temporary files\OLK**.

You can not view this folder using Explorer. I found that you can copy the temporary internet files folder to the desktop and all the hidden folders appear. Great for someone looking for a lost attachment. But...

I want to view this folder with Windows Explorer. I tried chaning the ShowSuperHidden and Showhidden settings in the registry. both in Local User and Local Machine, (they are set to 1, which means they should show, tried 0 just for the heck of it and still nothing).

Where is the registry setting to show the OLK** folder?

Worth 250 points.
Thank you.
Frankco

0
Comment
Question by:Frankco
  • 6
  • 5
  • 3
  • +4
18 Comments
 
LVL 9

Expert Comment

by:AndreDekolta
ID: 16887287
Hello Frankco!

I wouldn't mess with the .OLK file.  Outlook uses it as a system file.  My position and advice to all of my customers is to save attachments to their computer, make any changes, then forward/send.  I have seen far too many instances where the .OLK is NOT reliable or current!

Andre...
0
 
LVL 97

Expert Comment

by:war1
ID: 16887330
Greetings, Frankco !

OLK** folder is really hidden. It is a secure temp folder. So you cannot just unhide it.  There is no way to view with Windows Explorer.

You can go to Start > Run and type outlook.exe /l olkfilename
to view the file.

Here is another way to view the Secure Temp folder
http://www.outlook-tips.net/archives/2003/20030828.htm

Best wishes!
0
 
LVL 97

Expert Comment

by:war1
ID: 16887342
Frankco,

You may want to unhide hidden system files. Go to any folder and select Tools > Folders Options > View. Uncheck "Hide protected operating system files".  Click OK.  Now can you view it with Windows Explorer.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 18

Author Comment

by:Frankco
ID: 16887705
Thanks All,

AndreDekolta,

Good, sound advice. But, when you have 400 Outlook users, someone is going to save there file in the hidden folder. I just wanted a way to change the settings for the users so they would be able to navigate there and retrieve the file. Since I did find that you can copy the whole Temporary Internet folder to the desktop and retreive the file, I can have them do that in an emergency.


war1,

Yes, I was looking at that site earlier. This would allow me to change the location of the Outlook temp folder, which isn't a bad idea.
Unchecking Hide protected operating system files will not work for this folder. Give it a try.

I'm sure there is a hidden registry entry that will allow me to view that folder. Any ideas as to where it is?

frankco
0
 
LVL 97

Expert Comment

by:war1
ID: 16888042
>> I'm sure there is a hidden registry entry that will allow me to view that folder. Any ideas as to where it is?

I am unaware of such a registry setting.
0
 
LVL 10

Expert Comment

by:GuruGary
ID: 16890436
I think the registry key you are looknig for is:
HKCU\Software\Microsoft\Office\xx\Outlook\Security\OutlookSecureTempFolder
where xx is the "office version" of Outlook running.

So Outlook 2003 should be:
HKCU\Software\Microsoft\Office\11.0\Outlook\Security\OutlookSecureTempFolder

You can try this from a command prompt:
reg.exe query hkcu\Software\Microsoft\Office\11.0\Outlook\Security /v OutlookSecureTempFolder
0
 
LVL 10

Expert Comment

by:GuruGary
ID: 16890673
I don't think that registry key gets created until the user opens an attachemnt from within Outlook.  If you want an easy way for the user to open that folder, you can paste this into a batch file (tested in just Outlook 2003), and it should open the folder (as long as the registry value exists) without modifying the hidden folder values or anything else:

@echo off
for /f "delims=" %%a in ('reg.exe query hkcu\Software\Microsoft\Office\11.0\Outlook\Security /v OutlookSecureTempFolder ^|findstr REG_SZ') do set olk=%%a&explorer.exe /root,"%olk:~35%"
0
 
LVL 18

Author Comment

by:Frankco
ID: 16893441
Hi GuruGary,

Very cool.

I tested this on my computer since I have opened an attachment and do have the registry setting. The batch file goes to the root of C: in explorer. Not sure why. I would really love to have this work. Any ideas?

Thank you,
frankco
0
 
LVL 18

Author Comment

by:Frankco
ID: 16893469
Here is my registery value for OutlookSecureTempFolder.

C:\Documents and Settings\Tromblef\Local Settings\Temporary Internet Files\OLK1C8\

Thanks again.
0
 
LVL 10

Expert Comment

by:GuruGary
ID: 16894200
If you have never opened an attachment, the registry value is never created.  The batch file is just one line, but could easily be modified to give a message, or not open Explorer (or whatever you want) if the registry value doesn't exist.  Right now it attempts to open Explorer in the folder of the registry value ... which if there is none, I guess it defaults to C:\.
0
 
LVL 10

Expert Comment

by:GuruGary
ID: 16894489
Oops ... I need to read more carefully.  Re-reading your post, I see that you HAVE opened an attachment.  I'm not sure why it's not working, but try this instead:

for /f "tokens=3 delims=      " %%a in ('reg.exe query hkcu\Software\Microsoft\Office\11.0\Outlook\Security /v OutlookSecureTempFolder ^|findstr REG_SZ') do set olk=%%a&explorer.exe /root,"%olk%"

I'm not sure if the [Tab] is going to come over in the paste, but after the word "delims", there should be just an equal sign, followed by a [Tab], then a double-quote mark.

If that doesn't work let me know.
0
 
LVL 18

Author Comment

by:Frankco
ID: 16896079
Hi GuruGary,

The new one took me to the root of c: also.

I changed the line to this and it worked. Look at the very last part. Dose this look right to you?

@echo off
for /f "tokens=3 delims=      " %%a in ('reg.exe query hkcu\Software\Microsoft\Office\11.0\Outlook\Security /v OutlookSecureTempFolder ^|findstr REG_SZ') do  set olk=%%a&explorer.exe /root,%%a"

Thank you,
frankco
0
 
LVL 10

Accepted Solution

by:
GuruGary earned 250 total points
ID: 16896131
Yes, that should work.  In fact with that method, you can probably even take out the "set olk=%%a&".  Part of that was in there because I didn't know how hard it would be to explain about the tab being in the quotes ... but it looks like you got it all figured out.
0
 
LVL 18

Author Comment

by:Frankco
ID: 16896321
Thanks GuruGary.

This is what I was looking for. I can send someone the bat file and they can retreive the file they have been working on for hours and saved to the hidden folder.

You get the points. Thank you so much!
0
 
LVL 10

Expert Comment

by:GuruGary
ID: 16896436
No problem.  Thanks for the points!
0
 

Expert Comment

by:justanicegirl
ID: 20636990
To view the securetemp folder, at Start menu, run, type

%temp%

and expand the Temporary Internet Folders branch to show the OLK* folder(s) in the Folder list (left side of screen). Click the Folders  button in the Explorer toolbar (or View, Explorer Bar, Folders) if the folder list is not shown.

0
 

Expert Comment

by:juli
ID: 21720968
I stumbled across another way to view/delete files in the OLK folder.
If you have administrative rights on the computer, type:  \\computername\C$ (admin share) from RUN or Windows Explorer address bar.  Browse to the \Local Settings folder and you'll see the Temporary Internet Files folder with OLK folder(s) inside.

The %temp% solution didn't work for me but "C$" did.

0
 

Expert Comment

by:bwb2008
ID: 25335533
\\computername\C$ is the way to go. I couldn't figure out how I was seeing the folders from my workstation but could not from the users. DUH! I use the admin share all the time. Thanks for pointing that out SolsticeNeuro
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question