Jump to content


regan

vbs script issues

Recommended Posts

So the easiest way to test this is using PsExec, Then from there you can track down exactly what is happening. if it works for PsExec running as local system then it will work for CM12.

 

This video will get you started. Instead of using wbemtest, execute your vbs. Best of luck.

http://www.youtube.com/watch?v=d9UqSSQ3kBE

Share this post


Link to post
Share on other sites

seems to work fine when run with user rights if i manually install via software centre but if i set it as required i guess it used the local-system account. so my question is how to i give the local system account access to my UNC file share when i have already given everyone-domain computers full read access? could it be because the drive dont map until a user is logged on maybe?

Share this post


Link to post
Share on other sites

seems to work fine when run with user rights if i manually install via software centre but if i set it as required i guess it used the local-system account. so my question is how to i give the local system account access to my UNC file share when i have already given everyone-domain computers full read access? could it be because the drive dont map until a user is logged on maybe?

As Jorgen stated above you need to give Domain Computers access to the share and files.

No CM12 does not need a users logon for the script to work correctly.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.