Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Veyon Community Forum

  1. Home
  2. Help & Troubleshooting
  3. networkobjects clear and import: access denied

networkobjects clear and import: access denied

Scheduled Pinned Locked Moved Help & Troubleshooting
4 Posts 2 Posters 84 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Didier
    wrote on last edited by
    #1

    I,
    I scripted the automated installation of VEYON (version veyon-4.8.2.0-win64) on Windows 10 64-bit stations with an active directory.
    UAC is activated on the stations (default value) as well as the firewall.
    The script is launched "as administrator" on the station from a domain administrator account (not the administrator account, so the access token is not full).
    The first phase goes well until I want to import a list of stations.
    I have access denied in write mode.
    The command line is:
    "c:\Program Files\Veyon\veyon-cli.exe" networkobjects clear
    "c:\Program Files\Veyon\veyon-cli.exe" networkobjects import I:\DAIP56\VEYON\salle.csv format "%%name%%,%%host%%,%%mac%%,%%location%%"

    What folder should be writable ?
    Thank's for the answer

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Didier
      wrote on last edited by
      #2

      To complete my tests.
      The script is launched from a network drive (I:)
      The script works correctly except for part "veyon-cli.exe networkobjects".
      This line works:
      "c:\Program Files\Veyon\veyon-cli.exe" config export "I:\USERS-APPLIS\VEYON%SP%\configuration\master\Veyonconf.json"
      But with those lines I have "the configuration is not accessible for writing":
      "c:\Program Files\Veyon\veyon-cli.exe" networkobjects clear
      "c:\Program Files\Veyon\veyon-cli.exe" networkobjects import I:\DAIP56\VEYON\salle.csv format "%%name%%,%%host%%,%%mac%%,%%location%%"

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        ybgnetman
        wrote on last edited by
        #3

        As best practice - I would modify the remote path from I:\ to the actual unc remote location (\server\share) which will always be available - you could experience a problem where the profile of the administrator account used may not be fully loaded and therefore mapped drives may not be available.

        Back to the problem in hand, it may be that the domain administrator account used is not a member of the local administrators group on the machine - which would prevent some actions being taken with the cli against the service and file system (as the account would not have permissions to interact with it, unless specifically added).

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Didier
          wrote on last edited by
          #4

          Hi,
          Thank you for the answer.
          Indeed, by putting a UNC path I no longer have the problem of access denied.
          It's a total success of the working class !

          1 Reply Last reply
          0

          Powered by NodeBB | Contributors
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups