→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jprateragg
Champion Sweeper
We're using Lansweeper v6.0.100.67. I'm using Chrome 61. Whenever we go to a Windows asset and click on Open C$ or Open Admin$, we get the following pop-up error message:

Execution of the Windows Script Host failed. (Access is denied.)


I can use other basic actions without issue--it's just the Open $C and Open Admin$ that's not working. Thanks!
6 REPLIES 6
Esben_D
Lansweeper Employee
Lansweeper Employee
Good to hear you found the cause.

I will add your request to the customer wishlist, unfortunately, since there are already workarounds and solutions in place, it will most likely have a low priority unless many other customers are experiencing the same issue.
jprateragg
Champion Sweeper
Okay--after a lot of digging, I've discovered that one of our antivirus products, Cylance, is blocking the script from executing. So, I stand corrected--it was a permissions issue. 🙂

I am able to fix it for the time being by updating the action with the following command:

explorer.exe "\\{smartname}\c$"


It's not ideal (I don't want to mess with the default Lansweeper action), but it's working. Would it be possible for you to move away from VBS scripts? I talked with our security team and they aren't willing to to unblock these scripts.
Esben_D
Lansweeper Employee
Lansweeper Employee
The error displayed in your screenshot unfortunately does point to a permission issue. The last thing I can recommend is to uninstall and reinstall your browser plugin to see if that fixes your problem. Alternatively you can check and see if it works on other browsers. You can find the latest browser plugins here:
  • Chrome: https://www.lansweeper.com/kb/22/custom-actions-in-chrome.html
  • IE: https://www.lansweeper.com/kb/10/customactions.html
  • Firefox: https://www.lansweeper.com/kb/11/firefoxplugin.html
If you are sure it is not a permission issue and the above has not fixed the problem the only thing I can recommend is contacting our support team for further troubleshooting and provide the following:
  • Screenshot of your Asset actions in Configuration/Asset Pages.
  • Screenshot of your browser version.
  • Screenshot of your browser plugin version.
  • Screenshots of one problem client machine's Lansweeper webpage. Show us the following tabs: Summary, Scan Time, Errors (if it exists).
  • Program Files (x86)\Lansweeper\Service\Errorlog.txt, as present on your Lansweeper server.
  • Screenshot of a connection test performed to the same problem client machine with testconnection.exe, which can be found in Program Files (x86)\Lansweeper\Actions on your Lansweeper server. Perform the test from your Lansweeper server to the client machine, submit the same credential used by Lansweeper to scan the client and show us the entire test window.
jprateragg
Champion Sweeper
I'm not going to lie--I expected a better answer from Lansweeper about this. Of course my user account can access the C$ share of that machine. As a workaround I have to open an explorer window and manually go to \\workstation\C$. So I don't believe it is a permission issue.
Esben_D
Lansweeper Employee
Lansweeper Employee
Access is denied would mean that the user trying to run this action does not have the correct permissions to access this folder. Do note that when you run an action in Lansweeper you are doing so using the account running the browser. So if the account running the browser not have permissions to access the asset's folder, the action will return access denied errors.

You can run actions as different users which is explained in this knowledgebase article: https://www.lansweeper.com/kb/187/running-actions-as-a-different-user.html
jprateragg
Champion Sweeper
I just want to say I was having the same problem too. Now I'm on Chrome 62 and Lansweeper 6.0.110.80 and I still have this same problem.