MSFN Forum: Policy not working - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Policy not working

#1 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 January 2012 - 04:05 AM

I could use some tips. I created GPO which is supposed to 1) copy a file from a server to local disk and 2) do simple change in registry. Unfortunately it doesn't work and I can't figure out why.

I want it to work on whole computer rather on user, so in the editor I changed relevant settings under computer configuration. I also linked the GPO to one computer only - for testing purposes.

gpresult /r shows me that the policy is applied, but in reality nothing happens. I am out of ideas... What should I check?

Attached File(s)

  • Attached File  gpo.png (45.95K)
    Number of downloads: 11



#2 User is online   allen2 

  • Not really Newbie
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,749
  • Joined: 13-January 06

Posted 24 January 2012 - 01:58 PM

Did you checked the rights on the share and the ntfs permission there (the computer account should have the rights there) ?
Also i wouldn't do it this way: I would create a batch file to copy the file and import the reg entry and i would put the needed files (if they are small) in the gpo folder.

#3 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 January 2012 - 03:42 PM

View Postallen2, on 24 January 2012 - 01:58 PM, said:

Did you checked the rights on the share and the ntfs permission there (the computer account should have the rights there) ?
Also i wouldn't do it this way: I would create a batch file to copy the file and import the reg entry and i would put the needed files (if they are small) in the gpo folder.

That makes no sense to do since the functionality is right there in the GPO editor....




Rights should be ok as I logged on to the domain with admin account.




#4 User is online   allen2 

  • Not really Newbie
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,749
  • Joined: 13-January 06

Posted 24 January 2012 - 05:01 PM

Of course, but you're still stuck with a not working gpo and also those settings are new (i never used them so i can't tell if they are reliable) but i'm sure of something: everything that run under a computer config in a gpo will run with the computer system account so if you copy something from a share it might not work if the shared folder isn't properly configured (unless the gpo tools make a local copy of the file in the gpo folder).
Usually, i use a script only to get logs of the executed work to debug problems.

#5 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 January 2012 - 12:01 AM

So which permissions should I specifically check for?

#6 User is online   allen2 

  • Not really Newbie
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,749
  • Joined: 13-January 06

Posted 25 January 2012 - 01:46 AM

You need to add the accounts of your target computers (or a group containing them like "authenticated users" but this one contains almost all AD objects).

#7 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 January 2012 - 02:58 AM

Well, I should have that. In the Scope tab, under security filtering, I added that specific computer to the list.

I created other policy in the same way (computer settings etc.) that installs an app and it works just fine.



#8 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 January 2012 - 10:54 AM

I nailed it down to probably permissions problem. I added some app installation to the same policy and it worked.




So:

What kinda permissions do I need (and where?) in order to be able to do a registry change on a machine via GPO, under computer configuration?



#9 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 January 2012 - 06:27 AM

Really need some help here... I googled like mad and found nothing.

#10 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 31 January 2012 - 05:09 AM

After hopelessly trying this and that I managed to nail it down to some sort of incompatibility with Windows XP. In theory, this http://support.microsoft.com/kb/943729 should let me use the new stuff on XP, but it is still not working at all.

#11 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 February 2012 - 09:02 AM

I will finish my monologue with what I finally found out.

I use nLite to ease the installation of XP machines. After even more trial and error I accidentally found out that that KB943729 doesn't install (or just doesn't work - I don't know) if I integrate Intel chipset drivers into the installation image. Doesn't make sense? I know. It does work if I install those drivers after I join domain and install the KB.

What I did was integrade the KB into the image as well like if I was adding updates. I have no idea what the deal was, but it works.



#12 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,722
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 01 February 2012 - 09:32 AM

View PostTheWalrus, on 01 February 2012 - 09:02 AM, said:

I will finish my monologue with what I finally found out.

I use nLite to ease the installation of XP machines.


Many of our users will be sad/angry to read this. :o

I see you've been using nLite for quite a while now and no one would jump to a conclusion and think maybe your use to nLite was related to your recent question about pushing out a Flash update via GPO for your customer.... By now you must have encountered the many threads in the nLite forum that talk about its EULA.
:no:

#13 User is offline   iamtheky 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 866
  • Joined: 11-November 08

Posted 01 February 2012 - 11:35 AM

indeed Trip,

Dont get me wrong, I spent months building a hardened XP image. Many roadblocks were overcome by letting Nlite accomplish the task, then working very much backwards with windiff/regshot to see what was altered. Then applying the effective changes manually to the Master Systems, then researching why it worked, then documenting. Seems if you let Nlite do all the work and push it out the door, more often than not your answer would be:

Quote

I have no idea what the deal was, but it works.


Even if I were to ignore the EULA and authors wishes, with such a grand lack of documentation and dedicated support it would still not be a feasible solution for distribution.

This post has been edited by iamtheky: 01 February 2012 - 11:35 AM


#14 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 February 2012 - 03:21 PM

You are quite right, actually. If I could I'd pay for a licence for nLite, but sadly such option doesn't exist :( I also completely forgot about this because I haven't touched XP for quite some time and then I needed to come up with a solution when I got this job.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy