Solved

Adding files via Group Policy - path not found using variable

Posted on 2013-06-13
3
433 Views
Last Modified: 2013-06-14
We are using the File Preference to copy a file to a users profile at logon to a server in a terminal server farm.  So, the profiles on the server are deleted.  The lovely app know as QuickBooks (sarcasm) wants to put an INI file in AppData/Local....which is not part of the roaming portion of the profile.

We are using the File Preference policy to try and copy the file at logon.  HOwever, we are getting path not found errors when the policy processes.  The source location is fine and fully accessible.  So, I think this error is for the destination (although it is not clear).  We are trying to use variables.  We tried %localappdata%/Intuit/ and C:/Users/%username%/AppData/Local/Intuit/, but neither of those worked.

Will the File Preference GP create the folders if they don't exist?
0
Comment
Question by:OTAdmin
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
yo_bee earned 500 total points
ID: 39245337
Was this proven in your test if so why not try using the Folder Preference as well and make sure that the folder is at a higher order than the file/files.

the other option is to create a Batch script to make the directory and then copy the file.

MD c:\users\%UserName%\Appdata\local\Intuit\
copy Source c:\users\%UserName%\Appdata\local\Intuit\
0
 

Author Closing Comment

by:OTAdmin
ID: 39247690
We went with a simpler path first and I found a list of possible variables for GP preferences, which is slightly different that the list I'm used to.
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 39248015
I assumed you were using those variables.
How did you locate them?
If you did a Internet Search and you found a matrix of the list there is an easier way.
I think you press F4 or F3 and it will give you the list.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

790 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