Windows Activation + Proxy

Soldato
Joined
4 Dec 2002
Posts
3,981
Location
Bourne, Lincs
In the process of doing a new sysprep build, once the mini setup has run and windows loads for the first time, we have a batch file specified in the sysprep file to do some other tasks, set autologon, and activate windows.

We have got it so the box pops up, but due to our network setup it fails to find our internet connection so we need to specify a proxy server, we do this and windows activates.

We are after a way of specifying the proxy when we call the activation program, anyone know if this is possible?

The proxy settings for activation will be different to day to day proxy server

Cheers

Kimbie
 
What version of windows is it?

If you have a KMS key for the version of windows you're using then set yourself up a KMS server and it'll just activate automatically. If not then you should be able to set the proxy settings in group policy :)

To set the proxy server via GP to be different to the one that is used day to day just make sure that when a machine is imaged it ends up in a particular folder in AD (such as the computers folder) and have a different policy apply when you move it to the folder specific to the area in which the computer will finally reside. That would obviously requires you to move the computer account from one folder to another though, but if you log in to activate it you can just have one proxy setting applied to the account you login with to activate and a different one set for the other users.

Many ways of achieving what you want i think, might be a better way than i just suggested but i'm not really thinking too straight at the moment lol.
 
How many machines will you be activating? It may be worth setting up a KMS server if you've got a lot of machines to deploy.
 
We do not have enough to warrent a KMS server sadly, these are Windows XP machines.

We can not set the proxy in the registry as I believe the activation program does not look to this especially during sysprep. Below is the sections that deal with the proxy from the sysprep file that do not seem to work.

Code:
[Unattended]
    OemSkipEula=Yes
    InstallFilesPath=C:\sysprep\i386
    AutoActivate=Yes
    AutoactivateProxy=Proxy
    ActivateProxy=Prox

[Proxy] 
    HTTP_Proxy_Server=activation.****.co.uk:8000
    Secure_Proxy_Server=activation.****.co.uk:8000
    Proxy_Enable=1 
    Use_Same_Proxy=1

Kimbie
 
We do not have enough to warrent a KMS server sadly, these are Windows XP machines.

We can not set the proxy in the registry as I believe the activation program does not look to this especially during sysprep. Below is the sections that deal with the proxy from the sysprep file that do not seem to work.

Code:
[Unattended]
    OemSkipEula=Yes
    InstallFilesPath=C:\sysprep\i386
    AutoActivate=Yes
    AutoactivateProxy=Proxy
    ActivateProxy=Prox

[Proxy] 
    HTTP_Proxy_Server=activation.****.co.uk:8000
    Secure_Proxy_Server=activation.****.co.uk:8000
    Proxy_Enable=1 
    Use_Same_Proxy=1

Kimbie

Thought of setting it in group policy then?

Out of interest how many computers you talking here?
 
No can't use group policy as the machines are not on our domain.

Initially not many, but will often be in batches of 5 - 10

Kimbie
 
Are the details definitely right for your proxy server? You could try changing to the IP address rather than name just to make sure it isn't because it can't resolve the name. Port 8000 correct as well?
 
Are the details definitely right for your proxy server? You could try changing to the IP address rather than name just to make sure it isn't because it can't resolve the name. Port 8000 correct as well?

Will give IP address a go next week. Yes the correct name and port, built it today, plus I can see the machine activating via the proxy is I run the activation manually.
 
Back
Top Bottom