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

Thanks
0 Comments   [ + ] Show Comments

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.

Answers

0
Hi Novice_123,

I use to use SetACL and you find it here..
http://setacl.sourceforge.net/

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

Please log in to comment
0
*** 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
0
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
Answer this question or Comment on this question for clarity