Remotely Enable Admin Shares
As discussed recently on the SMS e-mail list at www.myitforum.com, what do you do when systems are in workgroups (not in the domain) with their admin shares enabled. This makes it difficult to install the SMS client as you cannot use the remote push in SMS due to the disabled admin shares nor can you use a loginscript or group policy due to the lack of domain membership. The solution is to use netcrawler and two scripts. One that parses the netcrawler log file, and one that connects to the system remotely to enable the shares and create a discovery record in SMS. Here is the vbscript that handles the DDR creation, WMI connection and enabling of the admin shares.
Grab the script…