QoS Settings (updating registry.pol file)

nac's picture

Hi ;

     I want to do following settings(in figure) through my script. I noticed that two files get affected by these settings one is gpt.ini and other is registry.pol in SYS32\GroupPolicy\Machine folder. I can not simply replace this file as it may contain other policy information. My query is, my script should update this file during installation and uninstallation so as to install and remove QoS settings as given in following figure.

     Is there any other way to do these settings?imagebrowser image

EdT's picture

Image not visible

If the files in question are standard TEXT files then you can edit them using custom actions in your choice of scripting language - assuming the files are not locked "in use" at the time of deployment. The image you posted is not visible, so you may wish to try again.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

nac's picture

Hi friends;      sorry image

Hi friends;

sorry image wasnt loaded last time these are the settings I want to do in GPEDIT ( On Vista only)

@EdT Those are not simple text files I even tried converting them to txt format and then update through script that doesnt work.

I dont know how IMPOSEBLE spells

EdT's picture

Image attachments are not working

If the files are not text files then the only way to modify them is to look for any automation tools that the vendor may offer, which allow you to make API calls into a DLL which will then update the file for you.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.