elevated command administrator password


  1. Posts : 1
    w7 64
       #1

    elevated command administrator password


    I am writing a vba script for a standard user to run a program in elevated mode. Is there a way to program in the administrative password?

    ie..elevate "cmd /k mkdir "newfolder"

    The goal is to enable the standard user to create a new subfolder within a directory they don't have permission to do so as standard user.
      My Computer


  2. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #2

    Hello sausepan, and welcome to Seven Forums.

    You might see if the method used in the tutorial below may be able to help with this. You could use the tutorial below to create an elevated shortcut to run your script file.

    Elevated Program Shortcut - Create for Standard User

    Hope this helps, :)
    Shawn
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:04.
Find Us