Using Group Policy to assign Class ID

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Can anyone tell me (or send link) how to set a DHCP Class ID with a Group
Policy?

I have created a .bat file that I confirmed works (on the client) to set the
class Id. I copied it to the windows\system folder on a 2003 AD server. Then
I specified it (with complete path) as the logon file to run in group policy
computer settings and user settings (I tried both) but neither worked to set
the class ID.

OK: since I have not relieved a single idea, maybe it can not be done and
I'm on completely the wrong track.

Here is what I'm trying to accomplish. Any thoughts would be appreciated:

I have many salespeople that travel 95% of the time. Since I'm getting low
on IP addresses, I want to make the sales laptop DHCP lease for only one day
so when these people logoff and go on the road their IP will be released
back into the pool instead of them taking their IP with them for the 16 days
that everyone else gets a lease for.

I have already created the Class ID on the DHCP server and it works perfect.
(That's why I'm posting here instead of a server NG because I've already
"mastered" :-) that side. NOW all I need is a way to assign the class ID to
the laptops without "touching" each one individually. I have moved all the
laptop machine accounts into their own OU.

I thought I could do it via Group Policy but maybe I was wrong.

Anyone know how to accomplish this?



.



Relevant Pages

  • Assigning Class ID via Group Policy
    ... Can anyone tell me how to set a DHCP Class ID with a Group ... I have created a .bat file that I confirmed works to set the ... I specified it as the logon file to run in group policy ... laptop machine accounts into their own OU. ...
    (microsoft.public.windows.group_policy)
  • Re: dhclient in 6.0
    ... ...it's worth considering the way it standardizes ... DHCP is worthwhile, learning to do ARP also lets us pick up on Bernard ... I'm not really interested in arguing with either you or ISC's policy, ... Because of the placement of the buffer which might be overflowed, it is unlikely this bug will result in serious consequences, however the possibility of a remotely triggered server crash cannot be ruled out. ...
    (freebsd-stable)
  • Re: Certificate-based DHCP authentication
    ... DHCP was not designed with goal of assigning ... another option would be to build IPSec policy. ... > same IP subnet as our other office PCs. ...
    (microsoft.public.windows.server.security)
  • Re: Is it possible to restrict users from reading the contents a GP?
    ... file in netlogon and passing a parameter to the BAT file via GP>Computer ... within the Computer settings, therefore you can completely remove the ... authenticated users read and apply rights. ... computers that you want the policy to apply to. ...
    (microsoft.public.windows.group_policy)
  • Re: wifi network connection
    ... Chain FORWARD (policy ACCEPT) ... I also tried ifconfig eth1 down and run eth1 by udhcpc, ... I tried to set static IP down and using dhcp client to test dhcp ...
    (Debian-User)