Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: elevated command administrator password


16 Jan 2013   #1

w7 64
 
 
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 System SpecsSystem Spec
.

16 Jan 2013   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 System SpecsSystem Spec
Reply

 elevated command administrator password




Thread Tools



Similar help and support threads for2: elevated command administrator password
Thread Forum
Elevated Command Prompt Tutorials
Elevated Command Prompt Shortcut Tutorials
Elevated command prompt over SSH Network & Sharing
Tip for Elevated Command Prompt General Discussion
Intermittent elevated command shortcut General Discussion
How to open Elevated Command Prompt? Performance & Maintenance
elevated command prompt fails General Discussion

Our Sites

Site Links

About Us

Find 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 01:37 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33