Solved

Adding files via Group Policy - path not found using variable

Posted on 2013-06-13
3
431 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 21

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 21

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now