![]() |
| Outlook Express will not run Sandboxed |
|
Guest10
|
This has sometimes been an indication of a missing or unusual Registry value for AppData.
If you can use the Registry Editor to examine your Registry, look at the key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders Look on the right side, and tell us what "Data" value you have for the entry: AppData Is it: C:\Documents and Settings\(your name)\Application Data with your Windows logon name in place of (your name), above. There was at least one XP user who reported an unusual value for AppData. Unfortunately, when the value was corrected then Java stopped working for him. Why Java would need a non-standard value here wasn't determined. Since then a work-around has been developed, if needed. |
||||||||||||
|
_________________ Paul XP Pro SP3 (Admin rights), Zone Alarm Pro Firewall, Malwarebytes Pro, Firefox 21, Thunderbird 17 |
|||||||||||||
|
Shoe
|
The data for that Registry key is
C:\Documents and Settings\Administrator\Application Data |
||||||||||||
|
|
|||||||||||||
|
Guest10
|
Well, so much for that idea.
That looks right, as long as your Windows logon is 'Administrator'. Thinking ... Try Start > Run and put in the Run box: %appdata% click OK and verify that the "C:\Documents and Settings\Administrator\Application Data" folder is opened in Windows Explorer. ---- I assume that you have a folder: C:\Documents and Settings\Administrator\Application Data\Identities See if you can access that folder while using a sandboxed Windows Explorer: Right-click Sandboxie's tray icon, hover the mouse cursor over DefaultBox, and then click on Run Windows Explorer Navigate to that folder and see if you can access it OK. |
||||||||||||
|
|
|||||||||||||
|
Shoe
|
Yes, when I do the Run %appdata%, the folder does open.
Yes, I followed the instructions to open the sandboxed Windows Explorer and navigated to that folder of Identities. For the Identities folder, I was able to see the subfolder and open its Properties. |
||||||||||||
|
|
|||||||||||||
|
Guest10
|
First, make sure that you delete the contents of the sandbox, and then try to use it again.
Right-click the tray icon > hover the mouse over the sandbox name > Delete Contents I assume that you have Outlook Express checked at Sandbox Settings > Applications > Email Reader since I don't think that it will run sandboxed, without that being checked. If it still doesn't work, then list the settings for that sandbox in a message. Double-click the tray icon > Configure > Edit Configuration List the lines underneath the sandbox heading: [DefaultBox] ... ... ... I'm fresh out of ideas. |
||||||||||||
|
|
|||||||||||||
|
Shoe
|
I emptied the contents, which closed the sandbox and browser.
I opened sandboxed browser IE 8. In that browser, clicked on icon to open Outlook Express. Got the same error messages. ----- Additional test. Deleted contents of sandbox. With IE8 browser not running, right clicked Sandboxie tray icon. Went to name of Sandbox. Clicked on Run Email Reader. Got the same error messages. ----- Configuration settings, from the steps in the post. [DefaultBox] ConfigLevel=6 AutoRecover=y Template=Outlook_Express Template=LingerPrograms Template=Firefox_Phishing_DirectAccess Template=AutoRecoverIgnore RecoverFolder=%Personal% RecoverFolder=%Favorites% RecoverFolder=%Desktop% Enabled=y |
||||||||||||
|
|
|||||||||||||
|
Guest10
|
After looking at the pre-defined template for OE, one more Registry check - same Registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders The Data value for 'Local AppData' ? Is it: C:\Documents and Settings\Administrator\Local Settings\Application Data If the Data value is set to the above, then I'm at loss to explain the: SBIE 1406 Missing or invalid expansion for (Recursion): (C0000001) error. Especially since it was pointing to a problem with AppData, but that value is correct. ------------ It's up to you if you want to do any more Registry checks. I think we've covered the important ones. If you want to generate a report listing the above Registry key values, along with some others, create the .cmd program listed in the message at this link: http://sandboxie.com/phpbb/viewtopic.php?t=7265&postdays=0&postorder=asc&start=17 When this .cmd program runs, you will see 4 error messages about items that do not exist. Ignore those error messages, and let Notepad open the file C:\RegTest.txt when you are asked: press Y, then Enter. Copy the text to the Clipboard and paste it in a message in this thread. The resulting file C:\RegTest.txt can be deleted from your hard drive, afterwards. |
||||||||||||
|
|
|||||||||||||
|
stever
Guest
|
I am a new user of Sandboxie, and I am having a problem running Thebat! sandboxed. No messages show up. Thebat! just freezes up. I have done every thing the help file said. Maybe you can help. I was thinking maybe this topic might have some relevance to this problem. Tried the above (Try Start > Run and put in the Run box: %appdata% click OK) and no folder is opened. |
||||||||||||||
|
|
|||||||||||||||
|
Guest10
|
Start a New Topic, stever.
Also, the info here is for an XP user so I'm not sure it would apply if you use Vista or Win 7. If you use XP, see my first post in this thread about viewing the Shell Folders Registry key, for the data value of AppData. So be sure to state your Windows version when you start your New Topic. |
||||||||||||
|
|
|||||||||||||
|
Shoe
|
Yes, that registry key checks out. Regarding the link to the code -- I got the code and followed the directions. The code ran. I saw 8 error messages, all the same: The system was unable to find the specified registry key or value. I do find the resulting text file, C:\RegTest.txt, and it is empty. The file size in 0 KB. The 8 error messages indicate something. I am willing to do more to sort this out. |
||||||||||||||
|
|
|||||||||||||||
|
Guest10
|
[Edit]Sorry, but I just remembered that the following will only work with Sandboxie versions 3.45.08 or later.
http://sandboxie.com/phpbb/viewtopic.php?t=7511 and there are no guarantees that it will work for you. [/Edit] It's really strange that the Registry Editor can access the Registry contents, but the .cmd program apparently cannot. Also, the value for AppData in the Registry seems to be correct, but gives an error anyway. If you want to try something else, lets try Sandboxie's ability to override a particular Registry setting for sandboxed programs. This will tell Sandboxie to not even look in the Registry for AppData, for sandboxed programs. It does not affect non-sandboxed programs at all, since this setting stays in your Sandboxie configuration file. This is a recent work-around that has been developed, so you're the first that I've suggested to try it. Copy the bold line shown below to the Clipboard, close out any sandboxed programs that are running, and then add the following line underneath the [DefaultBox] section, using Sandboxie's menu Configure > Edit Configuration Like this, in addition to the other lines that are already there: [DefaultBox] Ovr.AppData=C:\Documents and Settings\Administrator\Application Data ... ... ... It's likely that the Registry variable 'Local AppData' will need the same override, since it's commonly used in Sandboxie configuration settings, including the template for OE. So add this line too: Ovr.Local AppData=C:\Documents and Settings\Administrator\Local Settings\Application Data If no sandboxed programs are running when you make these edits, then it will take effect as soon as you Save the change. Then try OE. Edited twice. |
||||||||||||
|
|
|||||||||||||
|
Shoe
|
That added line in the [DefaultBox] section of SB config did not work -- I saw your edited comment this morning saying that it applies to another version.
You commented: "It's really strange that the Registry Editor can access the Registry contents, but the .cmd program apparently cannot." I wondered if this might be due to the anti-virus program controlling access to the Registry (do they do that?). So I uninstalled the AV pgm, GData 2010, and installed Microsoft Security Essentials, which I let update itself and scan my PC. Then after rebooting, I tried to start Outlook Express Sandboxed. Got the same error messages. I then restored my system using a backup made before uninstalling GData AV. What else might be causing those err messages? |
||||||||||||
|
|
|||||||||||||
|
Guest10
|
Plus, we already know that your computer opens the 'Application Data' folder when using Start > Run > %appdata%, so the Registry value for AppData seems to be correct. Yet, when Sandboxie uses the %appdata% shell folder variable it looks like it cannot expand the resulting value that it receives (or is not receiving) from the Registry, in order to point to the actual folder location on your hard drive. In a different thread I had a user manually enter lines into a command window, to read the Registry value for AppData. I can't imagine why the following might work when the .cmd program doesn't, but ... This should give the same results as what the .cmd program would show, but this only reads two Registry values instead of the 8 values that the .cmd program reads. If you want to try the same procedure: Start button > Run > put in the Run box cmd and click OK. Type in each of these 3 lines, followed by <enter> after each line : set XXXXX=Software\Microsoft\Windows\CurrentVersion\Explorer reg query "HKCU\%XXXXX%\Shell Folders" /v "AppData" reg query "HKCU\%XXXXX%\Shell Folders" /v "Local AppData" In addition to some other lines, you should get some lines that are similar to this, with your Windows logon name in place of the 'xxxx':
It's possible to add some lines directly to the Sandboxie configuration file. Lines that do not use the %AppData% and %Local AppData% variables, as they are used in the Outlook Express template. But since many of the pre-defined Sandboxie templates use those two shell folder values, I would hesitate to go in that direction. I would rather see you update to the beta version (3.45.10, not 3.45.11) and try it with the 2 over-ride lines that I mentioned above. You could always revert back to 3.442 if it didn't help you. But let's see what results you get from the above command window lines, before proceeding with that. Since v3.442 doesn't know what to do with those over-ride lines, they can be deleted from the configuration file if you go back to using 3.442. |
||||||||||||||||
|
|
|||||||||||||||||
|
Shoe
|
Ran the three lines from the cmd window and got the results which you listed, with xxxxx being replaced with Administrator.
Want to try the beta version next? |
||||||||||||
|
|
|||||||||||||
| Outlook Express will not run Sandboxed |
|
||
|


Use the RSS feed to watch this topic for replies