?
Solved

Adding files via Group Policy - path not found using variable

Posted on 2013-06-13
3
Medium Priority
?
439 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 2000 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

752 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