Releasing IP on Shutdown

  • Thread starter Thread starter myk
  • Start date Start date
M

myk

Hi. 2 parter... I've read about 50 threads regarding shutdown scripts
and the like to do X upon shutdown although none clarified a way to
run a file easily.

What I want to do is run "ipconfig /release" every time a user shuts
down. I understand how to get to gpedit.msc, but is it as simple as
putting "ipconfig /release" into the Script Parameters box?

And if so, is there an easy way to copy the script? ie, does the
C:\WINNT\system32\GroupPolicy\User\Scripts\Logoff folder exist on
every 2k install by default, thereby allowing me to create a batch
file that copies the script file over to it and therefore doing what I
want?

Thanks in advance
Myk
 
Try posting your query in;
microsoft.public.windows.server.scripting

Dave




| Hi. 2 parter... I've read about 50 threads regarding shutdown scripts
| and the like to do X upon shutdown although none clarified a way to
| run a file easily.
|
| What I want to do is run "ipconfig /release" every time a user shuts
| down. I understand how to get to gpedit.msc, but is it as simple as
| putting "ipconfig /release" into the Script Parameters box?
|
| And if so, is there an easy way to copy the script? ie, does the
| C:\WINNT\system32\GroupPolicy\User\Scripts\Logoff folder exist on
| every 2k install by default, thereby allowing me to create a batch
| file that copies the script file over to it and therefore doing what I
| want?
|
| Thanks in advance
| Myk
 
You may instead want to adjust the DHCP server scope and subscription with a
low lease time (this is what comcast does). It will increase traffic on the
network however.

Maybe there's a setting on the DHCP server side that will enable expiration
on exit?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top