+ Post New Thread
Results 1 to 8 of 8
Windows Server 2008 Thread, Group policy preference problem – Updating files in Technical; ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,043
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453

    Group policy preference problem – Updating files

    Hi,

    In Windows Server 2008 i have set a computer preference in group policy where a VBS script is copied to a local machine. On the policy i set it so it updates. Doing this it will update existing files and if the file isn’t there it will copy it over from the server. The file is being copied fine but when i have made changes to the script it does not update on the clients. Other group policies are being applied fine but is one isn’t playing. Does anyone have any suggestions please?

    Thanks

    Z

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,043
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453
    Anyone?

    Thanks

  3. #3
    Oops_my_bad's Avatar
    Join Date
    Jan 2007
    Location
    Man chest hair
    Posts
    1,738
    Thank Post
    438
    Thanked 53 Times in 50 Posts
    Rep Power
    30
    Have you made sure you have preference items installed (via WSUS or otherwise) on your clients?

    On preference settings I usually find the "replace" option works better in these cases

  4. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,043
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453
    Yep corse it wouldn't have copied if not. The problem with replace is that if the file doesn't exist it won't create.

  5. #5

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,223
    Thank Post
    874
    Thanked 2,717 Times in 2,302 Posts
    Blog Entries
    11
    Rep Power
    780
    Have you checked through the event log on the machines in question and have you looked as the RSoP tools to see if it can has anything useful to report?

  6. #6
    Oops_my_bad's Avatar
    Join Date
    Jan 2007
    Location
    Man chest hair
    Posts
    1,738
    Thank Post
    438
    Thanked 53 Times in 50 Posts
    Rep Power
    30
    Quote Originally Posted by FN-GM View Post
    Yep corse it wouldn't have copied if not. The problem with replace is that if the file doesn't exist it won't create.
    Have you tried it? I've used replace to "replace" a flash settings file - worked fine for one that existed and fine for a new build (eg, where the file didn't exist, it copies it anyway).

  7. #7

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,043
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453
    Nothing in the event log and replace didn't work.

    Z

  8. #8

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,212 Times in 761 Posts
    Rep Power
    394
    'Replace' should have given you the functionality you're after. Odd too that nothing is in the event log as I often find that GPP has event log diarrhoea and logs things I couldn't care less about (example: couldn't find a file that was set to 'Delete'. Of course you bloody couldn't, you deleted it on the last GP update!)

    Anyway, to get some more diagnostic logging you can turn on Userenv debug logging.

    One other suggestion is that perhaps the GPP extension does not detect when the contents of the source file has changed and so think it does not need to reapply the preference item as the destination file is the same as last time it checked. If you rename the source file and update the preference to reflect the new name, will it then replace the destination file correctly?

SHARE:
+ Post New Thread

Similar Threads

  1. Allowed .exe files within Group Policy Management
    By FrogmoreIT in forum Windows Server 2000/2003
    Replies: 0
    Last Post: 26th January 2009, 11:53 AM
  2. Replies: 0
    Last Post: 21st November 2008, 02:28 PM
  3. Replies: 22
    Last Post: 19th March 2008, 09:56 AM
  4. Group Policy / Kerberos problem
    By ajbritton in forum Windows
    Replies: 2
    Last Post: 25th March 2006, 06:18 PM
  5. Blocking Batch Files using Group Policy in Server 2003
    By markwilliamson2001 in forum Windows
    Replies: 13
    Last Post: 4th October 2005, 05:28 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •