Looking for an example of wmic netuse create

Discussion in 'Scripting' started by Brian, Feb 21, 2006.

  1. Brian

    Brian Guest

    I'm playing with creating mapped drives via wmic and am running into some
    problems. I cant tell if creating mapped drives are just not allowed via
    this method or i don't have all the required properties set. if youhave a
    working example that would be really helpful. :)
    Thanks,
    Brian

    Here's my best effort/results:
    wmic:root\cli>netuse create remotepath='\\\\obtuse\\admin$',localname='z:'
    Create instance of 'Win32_NetworkConnection' class (Y/N)?y
    ERROR:
    Code = 0x80041024
    Description = Provider is not capable of the attempted operation
    Facility = WMI
    wmic:root\cli>
     
    Brian, Feb 21, 2006
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.