home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,542 of 42,547   
   B00ze to T@invalid.invalid   
   Re: need to elevate MountVol.exe   
   07 Apr 17 23:30:52   
   
   From: B00ze64@hotmail.com   
      
   On 2017-04-07 23:19, T  wrote:   
      
   > On 04/07/2017 07:59 PM, B00ze wrote:   
   >> 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,   
   >   
   > C:\NtUtil>runas /savecred /user:todd notepad.exe   
   > Attempting to start notepad.exe as user "KVM-W7\tony" ...   
   > RUNAS ERROR: Unable to run - notepad.exe   
   > 1311: There are currently no logon servers available to service the   
   > logon request   
   > t.   
      
   Specify the PCNAME:   
   RUNAS.EXE /savecred /user:PCNAME\Todd notepad.exe   
      
   > Poop!   
      
   Lol.   
      
   --   
   ! _\|/_  Sylvain / B00ze64@hotmail.com   
   ! (o o)   Member:David-Suzuki-Fdn/EFF/Red+Cross/SPCA/Planetary-Society   
   oO-( )-Oo  "I am the itch you cannot reach!" -Darkwing   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca