Link to home
Start Free TrialLog in
Avatar of Schnizzle
SchnizzleFlag for Canada

asked on

Offline files/Folder Redirection and MS Access system.mdw file

Hello,

I have Folder Redirection/Offline files enabled within Active Directory  on my Win2K3 SP1 server - for my users My Documents, Application Data and Desktop folders. One small problem I am having is that users who have MS Access installed, receive an offline files warning message re: the Access "system.mdw" file that is typically located in C:\Docs & Sets\username\Application Data. Because Folder Redirection and Offline files are being used, the system.mdw file is being stored on the network share where the redirected App Data folder resides and the warning message is generated because access files are not permitted to be made available offline. The problem is that Access by default, creates this system file within the App Data directory. I don't care if the system.mdw file is made avaialble offline or not, I just want the warning message to stop appearing, is there any way to do this other that not disabling offline files for the app data folder?

thanks!
Avatar of Henrik Johansson
Henrik Johansson
Flag of Sweden image

You nead to configure the ExclusionErrorSuppressionList as described in http://support.microsoft.com/kb/811660
Create the key under HKLM\Software\Microsoft\Windows\CurrentVersion\NetCache or HKCU\Software\Microsoft\Windows\CurrentVersion\NetCache

Under ExclusionErrorSuppressionList-key, add a DWORD-value named "\\*\*\*\*.mdw" (\\server\share\path\filename)
Avatar of Schnizzle

ASKER

It says to add the reg keys AFTER applying the hotfix, do I need to bother applying the hotfix?
This registry Edit that you're suggesting, I assume that this is done at the client system - not on the Active directory domain controller?

thanks
It neads to be done on the clients.
To distribute this through AD, you can create a GPO and import an ADM-file like the attached sample.
CLASS MACHINE
CATEGORY "level 1"
	CATEGORY "level 2"
		EXPLAIN "Explanation category"
		POLICY "Exclusion error suppression list"
			KEYNAME "HKLM\Software\Microsoft\Windows\CurrentVersion\NetCache or HKCU\Software\Microsoft\Windows\CurrentVersion\NetCache\ExclusionErrorSuppressionList"
			SUPPORTED "http://support.microsoft.com/kb/811660"
			EXPLAIN "Remove offline files error for file extensions"
			PART "*.mdw" CHECKBOX
				VALUENAME "\\*\*\*\*.mdw"
				ACTIONLISTON
					VALUE NUMERIC 1
				END ACTIONLISTON
 
				ACTIONLISTOFF
					VALUE DELETE
				END ACTIONLISTOFF
			END PART
		END POLICY
	END CATEGORY; level 2
END CATEGORY; level 1 

Open in new window

That's cool, how do I save the info you provided above as an ADM file for import into AD? I've never done that before.
Well I fsaved the above text as a .adm file in notepad, copied the file to systemroot\inf - went to add it as an administrative template in AD and it complained and gave me an "error on line 12: error 56 - there was no value name specified." and aborted the import. Obviously i'm missing something.....
Sorry, I wrote it on-the-fly and forgot to validate it...
Move down line 10 (value ...) into actionlist-sections.
Typo in last post, should be
Move down line 10 (valuename "...") into actionlist-sections.
Hi,

I moved VALUENAME \\*\*\*\*.mdw down below VALUE NUMERIC 1 but I still get the same error, only difference is that it says it's getting it on line 16 now instead.

"error on line 16: error 56 - there was no value name specified."
With "into actionlist-sections", I ment it's neaded in both ACTIONLISTON and ACTIONLISTOFF
As it's a ADM that writes directly to registry without using normal policy-structure, you also nead to alter the View|Filtering and untick the "Only show policies settings that can be fully managed" to see the policy setting in GPMC.

CLASS MACHINE
CATEGORY "level 1"
	CATEGORY "level 2"
		EXPLAIN "Explanation category"
		POLICY "Exclusion error suppression list"
			KEYNAME "HKLM\Software\Microsoft\Windows\CurrentVersion\NetCache or HKCU\Software\Microsoft\Windows\CurrentVersion\NetCache\ExclusionErrorSuppressionList"
			SUPPORTED "http://support.microsoft.com/kb/811660"
			EXPLAIN "Remove offline files error for file extensions"
			PART "*.mdw" CHECKBOX
				VALUENAME "\\*\*\*\*.mdw"
				ACTIONLISTON
					VALUENAME "\\*\*\*\*.mdw"
					VALUE NUMERIC 1
				END ACTIONLISTON
 
				ACTIONLISTOFF
					VALUENAME "\\*\*\*\*.mdw"
					VALUE DELETE
				END ACTIONLISTOFF
			END PART
		END POLICY
	END CATEGORY; level 2
END CATEGORY; level 1 

Open in new window

followed the instructions and it imported just fine, I can see it in GPMC however it's not creating the registry key within the registry on my system when I apply the GPO to my user account in AD, did i miss something?

thanks,
With CLASS MACHINE, you have a computer policy and nead to link the GPO to the OU with computer objects.
To make it possibly to apply to user objects, you nead to use CLASS USER and change KEYNAME to HKCU\...
Avatar of johnb6767
Why use a Custom ADM, when the policy is already built into GP?
Computer Config>Admin Templates>Network>Offfline Files, and configure "Files not cached" with the .mdw extension.
On the client side.....
Start>Run>cmd
gpupdate /force
Then restart and retest....
No, that will not solve the asker's problem. It will only configure that the file type shall be prevented from being made offline, which has already been done as he gets the message that the file type cannot be made offline. *.mdw is included in the default value for the policy setting (http://support.microsoft.com/kb/252509).

The question was about howto get rid of the annoying error message about the file type cannot be made offline, which is solved by configuring the ExclusionErrorSuppressionList.

Maybe not a recommended solution as the file type is by default prevented from being made offline to avoid data loss, but an alternate way is to configure the policy setting for "Files not cached" and enter all other values to allow the file extension to be made offline.
Actually, you are right... Misread the question... My bad...
Sorry angel for not follow up on first admin message as I've been offline for a couple of weeks.
The reason for the dialog is the error supression list which is explained in KB I posted in my first comment.
Suggest accept http:#21842297

When re-reading thread, I see a typo in the ADM I posted for deploying as KEYNAME shall not be prefixed with HKLM\ or HKCU\.
ASKER CERTIFIED SOLUTION
Avatar of Henrik Johansson
Henrik Johansson
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mizgroup
mizgroup

Is there any way to edit the ADM to include more extensions such as .MBD and .DBF?? Thanks