You are here

StartUp TrueCrypt with request of admin password

5 posts / 0 new
Last post
AutopilotNN
Offline
Last seen: 4 months 1 week ago
Joined: 2013-03-25 02:16
StartUp TrueCrypt with request of admin password

I want to place PortableApps AND the container TrueCrypt on a flash card. I will store the Documents folder in the container and the Data folder of some programs from PortableApps.

I work in windows xp under the user, but I can use admin password for start of the necessary programs. I want that Start launched TrueCrypt. TrueCrypt requested admin password, the password of the container and mounted the container a disk with the letter "P".

I used PortableApps.comLauncher to create start TrueCryptPortable.exe
Launcher\TrueCryptPortable.ini:
[Launch]
ProgramExecutable=TrueCrypt\TrueCrypt.exe
CommandLineArguments =/quit background/with y/m rm/lP/v "%PAL:Drive % \data.tc"
RunAsAdmin=try
SupportsUNC=yes

Here it is convenient to use PAL:Drive because truecrypt doesn't accept the relative paths.

Everything almost turned out, the StartUp in Start works, there is a window of password entry of the administrator, but TrueCrypt tries to mount the container with the name "C:\WINDOWS\system32\/NCRC". If to try to launch TrueCryptPortable.exe clicking of the right mouse button and start from the administrator, everything works, but so it is impossible to do a StartUp by means of Start.
autorun.inf it is forbidden by an antivirus.

If in TrueCryptPortable.ini to add the WorkingDirectory parameter, the way to the erratic container will exchange "%WorkingDirectory%/NCRC"

[Launch]
ProgramExecutable=TrueCrypt\TrueCrypt.exe
RunAsAdmin=try
SupportsUNC=yes

As a result of this configuration launches the TrueCrypt window with "C:\WINDOWS\system32\/NCRC" volume name

Probably, NSIS adds to TrueCrypt start a way to system files.
I don't know what command it is possible to correct it.

AutopilotNN
Offline
Last seen: 4 months 1 week ago
Joined: 2013-03-25 02:16
This method works as it is

This method works as it is necessary, but requires one more program
RunAsAdmin (http://luethje.eu/prog/)

App\RunAsAdmin\RunAsAdmin.exe
App\TrueCrypt\TrueCrypt.exe (truecrypt.sys, truecrypt-x64.sys)

AppInfo\Launcher\TrueCryptPortable.ini:
[Launch]
ProgramExecutable=TrueCrypt\TrueCrypt.exe
CommandLineArguments =/q background /c y /m rm /lP /v "%PAL:Drive%\data.tc"
RunAsAdmin=try
SupportsUNC=yes

CODYQX4
Offline
Last seen: 4 years 4 months ago
Joined: 2010-04-23 20:39
I have a TrueCrypt Portable

I have a TrueCrypt Portable in my skydrive with all my apps, but it is not meant to auto launch anything, and will get the /NCRC.

AutopilotNN
Offline
Last seen: 4 months 1 week ago
Joined: 2013-03-25 02:16
OS? How you launch TrueCrypt?

OS? How you launch TrueCrypt? I have a StartUp - a special case of a problem of creation of start with the rights of the administrator.

CODYQX4
Offline
Last seen: 4 years 4 months ago
Joined: 2010-04-23 20:39
I require administrator. I

I require administrator. I use the RunAsAdmin=force.

If you don't have admin rights it won't work.

Log in or register to post comments