0

I have a few minor MSOffice projects which require files to exist in various subfolders of %appdata%, and I'm trying to deploy these to a test OU but have been unable to push the files to their respective folders in the test group.

The files exist in

\\svr01.company.internal\shared\test

I created GPOs to push these out to

%appdata%\Local\Microsoft\Office, %appdata%\Roaming\Microsoft\Outlook, and %appdata%\Roaming\Microsoft\Templates\Document Themes

respectively, as well as a test.txt to C:\temp as a 'proof of life' type deal.

The test.txt appeared fine, but the other files aren't where they're supposed to be on the test machine, despite multiple restarts, gpupdates, and no obvious errors in gpresult

I have also tried changing the destination path to %userprofile%\AppData\[etc] and %AppDataDir%\[etc], as well as C:\Users\%LogonUser%\AppData\[etc], with no success

I've tried these as both Create and Update options within the GPO, and have tried it both as a computer>preference>file and user>preference>file, yet again to no avail.

BenjiHare
  • 1
  • 2
  • Are you using Group Policy Preferences Files to do the push? Try using `%AppDataDir%`. (Tip: In GPP Press F3 to see variable table) – jfrmilner Apr 07 '23 at 19:00
  • @jfrmilner per my post, yes I have tried %AppDataDir% and still not had the desired results – BenjiHare Apr 11 '23 at 07:25
  • Microsoft created excellent logging for you, documented here: https://techcommunity.microsoft.com/t5/ask-the-directory-services-team/a-treatise-on-group-policy-troubleshooting-8211-now-with-gpsvc/ba-p/400304 . I'm not sure why a test would have included the C:\Temp folder though, as it appears the need is for the user appdata location (which is applied during logon), not the system appdata location (which is applied during startup, and affected by network failures). – Greg Askew Apr 24 '23 at 13:01
  • @GregAskew the test.txt in c:\temp was added to make sure that SOMETHING was working because otherwise it wasn't clear if the policy was actually applying anything - getting a file pop up anywhere was basically a sanity check – BenjiHare Apr 24 '23 at 13:21
  • @GregAskew I'll take a deeper look into logging but so far we're seeing that the policy is applying just fine, so the missing files are causing many scratched chins – BenjiHare Apr 24 '23 at 13:23

0 Answers0