From: B00ze64@hotmail.com   
      
   On 2017-04-07 20:50, T wrote:   
      
   > Hi All,   
   >   
   > I have been doing   
   >   
   > runas /user:administrator c:\windows\system32\mountvol.exe blah blah   
   >   
   > but it prompts the user for the administrator's password, which   
   > pisses them off.   
   >   
   > Is there anyway to do a Linux sudo or equivalent? Any way   
   > to tell the system that MountVol.exe is okay to   
   > run with administrator's privileges?   
      
   Save the credentials, but it might only work a user OTHER than   
   Administrator (but with Admin rights).   
      
   runas /user:administrator /savecred c:\windows\system32\mountvol.exe   
      
   It will prompt for the password once and save it in the credentials   
   manager so the next time you do it, it will not prompt. Problem with   
   Administrator that I ran into is that it saved the credentials with   
   Persistence=Session. But if I look at my credentials manager today I   
   have somehow managed to save the Administrator's password with a   
   Persistence=Enterprise, but I do not know how I did it lol.   
      
   Regards,   
      
   --   
   ! _\|/_ Sylvain / B00ze64@hotmail.com   
   ! (o o) Member:David-Suzuki-Fdn/EFF/Red+Cross/SPCA/Planetary-Society   
   oO-( )-Oo Does it bother ya that doctors call what they do a practice?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|