VBScripts not working on VMWare trhu OSD
For all that have the same issue, we found the solution: The issue is because after installing VMWare Tools, the following registry key is changed: HKLM\SOFTWARE\Microsoft\COM3\REGDBVersion to 06 00 00 00 (the default value is 010000) and because we are trying to execute the command line doing a run as with a domain user. To resolve the issue, we added some steps: to backup the registry, change the key and then restore the registry at the end of the sequence. More information can be found here: http://social.technet.microsoft.com/Forums/en/configmgrosd/thread/223fa6ab-7d39-4494-a4cf-d1320095a1e0
May 5th, 2012 10:39am
I'm trying to run a VBscript using a command line thru OSD but is not working with this error "Incorrect function. (Error: 00000001; Source: Windows)" We've three VBScripts on the task sequence and all of them are reporting the same error. We've tested the scripts manually and are working as expected. The same task sequence is used for Physical and Virtual machines. The exactly same step of VBScript is working fine on physical systems but not in VMWare. Is there any consideration to run VBScripts on VMs?
May 5th, 2012 11:47am
No there shouldn't be any special considerarations, what does the script actually do? You can post it here then it is easier to assist you.. Regards; Jrgen-- My System Center blog ccmexec.com -- Twitter @ccmexec
May 5th, 2012 11:57am
I concur with Jorgen. Scripts are an OS function and have nothing to do with the hardware that you run them on. The script itself must be relying on something else that is variable based on the hardware like a name, the existance of a driver, the existance of a service, etc.Jason | http://blog.configmgrftw.com | Twitter @JasonSandys
May 5th, 2012 1:30pm
Another thing, I've tested the VBScript in two task sequences. One is an installation task sequence (means that the task sequence build a server from scratch) the other one is an upgrade task sequence (to upgrade certain components). The same step runs ok in the Upgrade but not in the Install task sequence (in the same server).
May 5th, 2012 1:54pm
Without knowing what your script is doing and what exactly is failing, we really can't help you much as there are no inherent differences between the things you described ...Jason | http://blog.configmgrftw.com | Twitter @JasonSandys
May 5th, 2012 1:56pm