Discussion Locked

NT Batch Registry Problems

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to compare a certain key when a user logs into the network to see if they are on a laptop or a workstation. Once I find this key I want the batchfile to execute the ipconfig /release /renew command.

The key I am trying to locate and compare by batch is:

HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/PCMCIA
"Start" DWORD:00000000 or DWORD:00000004

This tells me if its a laptop or a workstation. Does anyone have any ideas how to do this via batch file?

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.