+ Post New Thread
Results 1 to 8 of 8
Windows Server 2008 Thread, Group policy preference problem – Updating files in Technical; Hi, In Windows Server 2008 i have set a computer preference in group policy where a VBS script is copied ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Brisbane, Australia
    Posts
    11,186
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196

    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
    Brisbane, Australia
    Posts
    11,186
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196
    Anyone?

    Thanks

  3. #3
    Oops_my_bad's Avatar
    Join Date
    Jan 2007
    Location
    Man chest hair
    Posts
    1,746
    Thank Post
    438
    Thanked 52 Times in 49 Posts
    Rep Power
    24
    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
    Brisbane, Australia
    Posts
    11,186
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196
    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
    Location
    EOL
    Posts
    6,967
    Blog Entries
    9
    Thank Post
    403
    Thanked 1,779 Times in 1,517 Posts
    Rep Power
    415
    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,746
    Thank Post
    438
    Thanked 52 Times in 49 Posts
    Rep Power
    24
    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
    Brisbane, Australia
    Posts
    11,186
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196
    Nothing in the event log and replace didn't work.

    Z

  8. #8

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    2,429
    Thank Post
    442
    Thanked 740 Times in 448 Posts
    Rep Power
    232
    '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, 12:53 PM
  2. Replies: 0
    Last Post: 21st November 2008, 03:28 PM
  3. Replies: 22
    Last Post: 19th March 2008, 10:56 AM
  4. Group Policy / Kerberos problem
    By ajbritton in forum Windows
    Replies: 2
    Last Post: 25th March 2006, 07:18 PM
  5. Blocking Batch Files using Group Policy in Server 2003
    By markwilliamson2001 in forum Windows
    Replies: 13
    Last Post: 4th October 2005, 06: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
  •