EWF RAM "commit"

  • Thread starter Thread starter Tanch
  • Start date Start date
T

Tanch

I want to allow a non-Administrator user account the
ability to run the commit command. Is there a way to do
this? It appears commit must be run under Administrator
account.
 
Tanch,


Only an Administrator can issue a Committ to an EWF volume, a non-admin
can not issue this command. This is by design.

Thanks
Nandini[MS]
 
Tanch,

You could do something very, very insecure like....

strCmd = "runas /user:\administrator " & "ewfmgr " & "-commitanddisable"
set WshShell = CreateObject("WScript.Shell")
WshShell.Run strCmd
WScript.Sleep 10
WshShell.Sendkeys "adminpassword" & CHR(13)

Please keep in mind that something like this could be done from a compiled
custom shell not a script that could be read with any text editor. (That
would be my suggestion)

HTH,

Brad
 
Tanch,

Using this method someone could read admin password from your code and then you can imagine what could follow.
Other workaround is that EWF can be used from system account. This mean that you can write very simple service that would bridge
communication between EWF and your application.

Best regards,
Slobodan
 
Back
Top