Bypass PGP authentication on reboot

Add new value in the Windows Registry at
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Create a new String value with a meaningful name, like “Bypass PGP”, and edit it to contain this value:

"C:\Program Files (x86)\PGP Corporation\PGP Desktop\pgpwde" --add-bypass  --disk 0 --count 30 --admin-authorization --passphrase xxxxx

Params --disk 0 --count 30 are optional.

After that, run from a cmd with Run as Administrator the same command in order that bypass will be effective at the next restart.

Also, it is useful to remove old password if you change it, and add the new one.

"C:\Program Files (x86)\PGP Corporation\PGP Desktop\pgpwde" --remove-bypass --disk 0 --admin-passphrase
Request sent to Remove bypass was successful

"C:\Program Files (x86)\PGP Corporation\PGP Desktop\pgpwde" --add-bypass --disk 0  --admin-passphrase
Request sent to Add bypass was successful

Script


@rem  Script to bypass the PGP password prompt at the workstation restart

if "%1"=="" goto nopass

"%ProgramFiles(x86)%\PGP Corporation\PGP Desktop\PGPwde.exe" --add-bypass --passphrase %1

"%ProgramFiles(x86)%\PGP Corporation\PGP Desktop\PGPwde.exe" --check-bypass

goto :eof

:nopass
@echo No password provided. Run %0 admin-password
exit /B 1


C:\Users\IBM_ADMIN>”C:\Program Files (x86)\PGP Corporation\PGP Desktop\pgpwde” –help
Symantec Drive Encryption command line tool.
Usage: pgpwde –action [–options,…]

ACTIONS
………….

–add-bypass
Set a boot authentication bypass
–disk, -p, [–count]
[–aa], [–ap], [–admin-keyid], [–wdrt], [–interactive]

–check-bypass
Check if a boot authentication bypass is set
–disk

–remove-bypass
Clear boot authentication bypass
–disk, -p, [–aa], [–ap], [–admin-keyid], [–wdrt], [–interactive]

………..

 

Advertisements
This entry was posted in tools and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s