Quantcast
Channel: VMware Communities : All Content - VMware View
Viewing all articles
Browse latest Browse all 9103

QuickPrep Setting - Post synchronization script ???

$
0
0

 

Hi all,

 

 

I want to run Post synchronization script can add my %COMPUTERNAME% in the specific domain group with the simple batch script below ...

 

 

ECHO "Start" >> c:\test.txt

dsmod group "CN=VDI_TELEMEDECINE_PC,CN=Users,DC=icm,DC=local" -addmbr "CN=%COMPUTERNAME%,CN=Computers,DC=icm,DC=local" >> c:\test.txt

ECHO "Complete" >> c:\test.txt

 

 

When I run this script on my Parent VM it works fine. The echo command is just for validations, if i can't see the file C:\test.txt = script failed.

 

 

I use a Automated Desktop pools non-persistent

 

 

There is no clear documentation on how and when the custom script are run that you can specify in the wizard. So does anyone can help me

 

 

Is the Post synchronization script  is run after the VM is joined to Domain ?

 

 

Is the Post synchronization script is executed with the domain administrator account use by QuickPrep ?

 

 

What kind of script can be run, VB, batch file, etc.. ?

 

 

Are there specific logs for QuickPrep ?

 

 

When editing the new pool create previously the fields "Post synchronization script" is empty, why ? Looks like it does not save the value I entered in the fields

 

 

Thanks

 

 

Martin

 

 


Viewing all articles
Browse latest Browse all 9103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>