Friday, June 10, 2011

Replace the App-V Management Server Name in App-V Client via SCCM

I have a SCCM captured reference image which has App-V Client installed and configured. I have recently re-installed my App-V Management Server due to domain migration. This means that the App-V Client configured in the reference image is not functioning anymore. In my working environment, I need to do OSD quite often and I’m too lazy to re-capture a new reference image for the sack of that issue. There is App-V GPO template provided by Microsoft that helps to manage the App-V client settings, but unfortunately there isn’t any rules to change the App-V Management Server Name. Therefore I do a workaround to modify the App-V Management Server Name.

Please perform the steps below in the App-V client workstation
1. Manually add the App-V Management Server Name in one of the workstation
2. Look for the Server Name located under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Client\DC Servers, export it to an .reg file

Please perform the steps below in the SCCM server
1. Copy the exported .reg file to the SCCM server to create a software package
2. Create a program under the package, enter regedit /s "App-V Server.reg" in the Command Line: blank box
*Replace the App-V Server.reg with yours .reg name

image3. Create a new custom task sequence to delete the OLD App-V Management Server and Add the NEW App-V Management Server.
4. Insert Run Command Line task, enter the following in the Command Line box.
cmd.exe /c reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Client\DC Servers\appvsvr" /f
*Replace appvsvr with your OLD App-V Management Server Name
5. Insert Install Software Task, Browse to the package you created earlier together with the silent key program

image

image6. Lastly, advertise the task sequence to the collection

If you don’t have a SCCM, you can use other method such as MDT, scripts or GPO to help you to do the job.

Thanks for reading. =)

No comments:

Post a Comment