Solved

Adding files via Group Policy - path not found using variable

Posted on 2013-06-13
3
438 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

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 23

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

691 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