sonofsanta Posted September 19, 2012 Posted September 19, 2012 When libraries are disabled, or otherwise mucked around with, a number of programs will complain about permissions when choosing Save As, although clicking OK does then present the user with a save dialog as normal. Windows is trying to point users at a daft location first, and when it can't, it complains and then presents them with My Documents, as it should do in the first place. To prevent computer stupidity and user confusion, the following combination of user GPOs and user GPPs should, just about, get you there. Replace "H:\" with whichever drive letter you map the homeshare to. Most programs: User Config > Policies > Admin Templates > Windows Components > Windows Explorer > Common Open File Dialog > Items displayed in Places Bar - I set Item 1 to the mapped home drive letter e.g. H:\. Item 2 I set to H:\My Pictures but only Item 1 should be necessary. Office 2010 (using the custom ADM(X) files): Microsoft Office 2010 > File Open/Save dialog box > Places Bar Locations > Places Bar Location 1 - Name "My Documents", path "H:\". You can fill out the rest of the locations as you please, I imagine. Microsoft Excel 2010 > Excel Options > Save > Default File Location - H:\ Microsoft Powerpoint 2010 > Powerpoint Options > Save > Default File Location - H:\ Microsoft Word 2010 > Word Options > Advanced > File Locations > Default File Location - H:\ Outlook 2010 For right-click-save-as of attachments: User Config > Preferences > Windows Settings > Registry - right-click > new > registry item - Action = Update; Hive = HKEY_CURRENT_USER; Key Path = Software\Microsoft\Office\14.0\Outlook\Options; Value name = DefaultPath; Value type = REG_SZ; Value data = H:\ For opened-attachments-then-save-as (because otherwise, it dumps the temp file in an AppData folder that the user doesn't have permission to and thus: error message) User Config > Preferences > Windows Settings > Folders - right-click > new > folder - Action = Replace; Path = %HOMESHARE%\OutlookCache; Attributes = Hidden; then the last three checkboxes (delete files, allow deletion, ignore errors) Above your homeshares (e.g. \\server\share\Staff, where a home directory would be \\server\share\Staff\username), go into Security > Advanced > Change Permissions. Click Add, Add "Domain Computers" and add permissions for: Read attributes, Create folders / append data, Write Attributes Back in the policy you were just working on, go back to the registry section of preferences and add a new registry item - Action = Update; Hive = HKEY_CURRENT_USER; Key path = Software\Microsoft\Office\14.0\Outlook\Security; Value name = OutlookSecureTempFolder; Value data = H:\OutlookCache All this allows the computer to create a hidden folder in the users homedir that it uses when opening attachments from Outlook. Files are deleted when Outlook is closed so it shouldn't bloat and waste backup space; just in case, the replace action on the GPP will empty it anyway. When a user goes to save a document they have previously open with a double click, they are presented with this folder but no error message; they can then navigate as normal without panic. Using a hidden folder is preferable (in my thinking) from just using the %homeshare% root as otherwise, if they want to save the attachment to that location, they'll not be able to overwrite the read-only temp file. If they choose to overwrite the $document (2).docx file, that gets deleted when Outlook is closed. This information was compiled from various sources with a lot of testing and faffing - the GPP folder needing %homeshare% took a while - so hopefully it being all in one place saves someone some aggro. 1
sonofsanta Posted September 20, 2012 Posted September 20, 2012 Actually, further to the above, for the OutlookCache folder preference, just tick the "run in logged on user's security context" then you don't need to faff with permissions. My brain had clearly had enough by the end of yesterday. Kindly passing mod: could you edit the below amendment into the post above in the relevant place to keep it useful and keep the thread neat? The editing window has closed for me For opened-attachments-then-save-as (because otherwise, it dumps the temp file in an AppData folder that the user doesn't have permission to and thus: error message) User Config > Preferences > Windows Settings > Folders - right-click > new > folder - Action = Replace; Path = %HOMESHARE%\OutlookCache; Attributes = Hidden; then the last three checkboxes (delete files, allow deletion, ignore errors); on the common tab, "run in logged on user's security context" User Config > Preferences > Windows Settings > Registry - right-click > new > registry item - Action = Update; Hive = HKEY_CURRENT_USER; Key path = Software\Microsoft\Office\14.0\Outlook\Security; Value name = OutlookSecureTempFolder; Value data = H:\OutlookCache All this allows... (etc.) 1
Chuckster Posted September 19, 2013 Posted September 19, 2013 Run this reg on all your machines and you will never have the issue of home folders being renamed to Documents. Windows Registry Editor Version 5.00 ; Prevents User folders being renamed to Documents after logging on [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{FDD39AD0-238F-46AF-ADB4-6C85480369C7}] "LocalizedName"=hex(2):00,00
Chuckster Posted September 19, 2013 Posted September 19, 2013 Run this reg on all your machines and you will never have the issue of home folders being renamed to Documents. Windows Registry Editor Version 5.00 ; Prevents User folders being renamed to Documents after logging on [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{FDD39AD0-238F-46AF-ADB4-6C85480369C7}] "LocalizedName"=hex(2):00,00
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now