User Agent String

  • Thread starter Thread starter marek zegarek
  • Start date Start date
M

marek zegarek

Hello!

I need to write some code, that will change user agernt string in SYSTEM.
Not for browsers.
I know, that there is registry entry in
HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User
Agent\Post Platform.
I know, that in GPO is settings for that. But when i change it in local
policy, it not shows in registry.

How can I do this?
 
Reliable sources are claiming that "marek zegarek said:
Hello!

I need to write some code, that will change user agernt string in SYSTEM.
Not for browsers.
I know, that there is registry entry in
HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User
Agent\Post Platform.
I know, that in GPO is settings for that. But when i change it in local
policy, it not shows in registry.

How can I do this?

Make sure you have identified the correct registry key first. If it doesn't
change after changing it via GPO then that suggests that it may be changing
some other key.

You can use 'reg add' to write to the registry from the command line,
reg add /?

or WScript.RegWrite within Windows Script Host (VBScript or JScript)
 
There is a problem :)

This registry key is changing HTTP_GET agent string - true.
GPO is changing it too.

But when I type in both places different values I have both in HTTP_GET.
I used "search" on registry. Value from GPO is not there.
Value from my key is not showing in GPO settings.
 

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