Does any have the vbscript to elevate rights to C drive.Any pointers will be very helpful

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Hi Novice_123,

I use to use SetACL and you find it here..

/Tjabocom Sweden
Answered 03/04/2006 by: SaiTech
Orange Senior Belt

Please log in to comment
*** Edit ***

I found your other post so I think I have a better idea now of what you are trying to do. Does the application always save the file with the same filename? If so I would create a blank file with that name and set permissions to that, that is unless the application needs to delete the file as well. Is there anywhere you can set the temp directory for the application? Maybe it is looking for an environment variable that isn't there and is therefore defaulting to C:. As a last resort you can call this as a custom action from your package, but opening up the root drive is a relatively dangerous option from a security standpoint:

c:\windows\system32\cacls.exe c: /E /C /G users:F
Answered 03/06/2006 by: xythex
Orange Senior Belt

Please log in to comment
We use this medhod where I work. http://www.microsoft.com/technet/prodtechnol/windows2000serv/howto/seconfig.mspx

Then apply it using something like this - objShell.Run "secedit /configure /db ""*Location of SDB File.sdb"""
Answered 03/07/2006 by: DReed
Yellow Belt

Please log in to comment