VBS Script To Create A CCR For A Specified Advanced Client Machine

 

This VBS script will allow you to enter an Advanced client resource machine name into an input dialog box and will then create a Client Configuration Request (CCR) file for the specified machine using the minimum information required to successfully create an Advanced client CCR.

 

VBS Script:

 

strComputer = InputBox ("Enter Machine Name")

 

Set objFSO = CreateObject("Scripting.FileSystemObject")

Set Output = objFSO.CreateTextFile(strComputer & ".Ccr", True)

 

Output.WriteLine("[NT Client Configuration Request]")

Output.WriteLine("   Client Type=1")

Output.WriteLine("   Forced CCR=TRUE")

Output.WriteLine("   Machine Name=" & strComputer)

Output.Close

 

MsgBox "Done"

 

Vbs Script To Create and Copy CCR’s Based On A Machine List

http://myitforum.com/cs2/blogs/dhite/archive/2006/09/10/Vbs-Script-To-Create-and-Copy-CCR_1920_s-Based-On-A-Machine-List.aspx

 

The CCR Request Process

http://myitforum.com/cs2/blogs/dhite/archive/2007/02/25/the-ccr-request-process.aspx

 

 

 

Published Sunday, May 11, 2008 8:03 AM by dhite
Filed under:

Comments

No Comments