Skip to content

Instantly share code, notes, and snippets.

@gdurastanti
Created August 9, 2017 14:00
Show Gist options
  • Save gdurastanti/e79b1fae40a4eff14f5636b8994a89fc to your computer and use it in GitHub Desktop.
Save gdurastanti/e79b1fae40a4eff14f5636b8994a89fc to your computer and use it in GitHub Desktop.
Reset Parallels' trial
#!/bin/sh
# Reset Parallels Desktop's trial and generate a casual email address to register a new user
rm /private/var/root/Library/Preferences/com.parallels.desktop.plist /Library/Preferences/Parallels/licenses.xml
jot -w pdu%d@gmail.com -r 1
@nastys
Copy link

nastys commented Sep 11, 2021

brilliant, is working! the secret is to start quickly the vm :)
thanks

I think it's making sure Parallels is not running at all before changing the date, and that the VM is running before restoring it.

(There doesn't seem to be an issue with SSL certificates, and you could just start it offline anyway. If they start using an offline certificate, then just choose a date within its range.)

@Moha5000
Copy link

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt.
To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:

open -a Parallels\ Desktop
prlctl start "Windows 10"

Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

@nastys
Copy link

nastys commented Sep 14, 2021

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt.
To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:

open -a Parallels\ Desktop
prlctl start "Windows 10"

Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

Surprisingly, it actually works, and it's way more convenient than changing the date. Thanks!
I've created an Automator script based on this.

@davidjrkim
Copy link

davidjrkim commented Sep 14, 2021

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt.
To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:
open -a Parallels\ Desktop
prlctl start "Windows 10"
Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

Surprisingly, it actually works, and it's way more convenient than changing the date. Thanks!
I've created an Automator script based on this.

could you share with us how you've created the "Automator script" some of us aren't familiar with creating mac executables

@Ultimatron
Copy link

Ultimatron commented Sep 14, 2021

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt.
To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:

open -a Parallels\ Desktop
prlctl start "Windows 10"

Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

Thanks a lot! This is by far the most convenient solution I've been provided with so far.

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt.
To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:
open -a Parallels\ Desktop
prlctl start "Windows 10"
Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

Surprisingly, it actually works, and it's way more convenient than changing the date. Thanks!
I've created an Automator script based on this.

could you share with us how you've created the "Automator script" some of us aren't familiar with creating mac executables

No problem - from your Applications folder, open up the "Automator" app, select "Application" as your new document type, and under utitlites, select "Run Shell Script", and paste the command in. After that, just save the application, name it, and when you execute the app, it will run the command automatically for you!

EDIT: Quick note, when copypasting the commands into Automator, make sure you enter "/usr/local/bin/prlctl" instead of just "prlctl". If you don't do this, running the Automator app will fail with a "command not found" error. This is because Automator will only load commands from /usr/bin by default, and prlctl is located in /usr/local/bin.

@nastys
Copy link

nastys commented Sep 14, 2021

No problem - from your Applications folder, open up the "Automator" app, select "Application" as your new document type, and under utitlites, select "Run Shell Script", and paste the command in. After that, just save the application, name it, and when you execute the app, it will run the command automatically for you!

EDIT: Quick note, when copypasting the commands into Automator, make sure you enter "/usr/local/bin/prlctl" instead of just "prlctl". If you don't do this, running the Automator app will fail with a "command not found" error. This is because Automator will only load commands from /usr/bin by default, and prlctl is located in /usr/local/bin.

Instead of using the "open" command, you could also just add "Launch Application" and select "Parallels Desktop.app", then add "Run Shell Script" /usr/local/bin/prlctl start "Windows 11" after that.

@henriquec4rv
Copy link

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt. To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:

open -a Parallels\ Desktop prlctl start "Windows 10"

Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

Tried it, but it says on the second line:
The command is available only in Parallels Desktop for Mac Pro or Business Edition.

@srinandan2001
Copy link

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt. To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:
open -a Parallels\ Desktop prlctl start "Windows 10"
Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

Tried it, but it says on the second line: The command is available only in Parallels Desktop for Mac Pro or Business Edition.

Same

@davidjrkim
Copy link

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt.
To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:
open -a Parallels\ Desktop
prlctl start "Windows 10"
Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

Thanks a lot! This is by far the most convenient solution I've been provided with so far.

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt.
To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:
open -a Parallels\ Desktop
prlctl start "Windows 10"
Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

Surprisingly, it actually works, and it's way more convenient than changing the date. Thanks!
I've created an Automator script based on this.

could you share with us how you've created the "Automator script" some of us aren't familiar with creating mac executables

No problem - from your Applications folder, open up the "Automator" app, select "Application" as your new document type, and under utitlites, select "Run Shell Script", and paste the command in. After that, just save the application, name it, and when you execute the app, it will run the command automatically for you!

EDIT: Quick note, when copypasting the commands into Automator, make sure you enter "/usr/local/bin/prlctl" instead of just "prlctl". If you don't do this, running the Automator app will fail with a "command not found" error. This is because Automator will only load commands from /usr/bin by default, and prlctl is located in /usr/local/bin.

🤌 thanks

@henriquec4rv
Copy link

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt.
To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:
open -a Parallels\ Desktop
prlctl start "Windows 10"
Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

Thanks a lot! This is by far the most convenient solution I've been provided with so far.

If you have run out of trial, you can still use Parallels Desktop. If you do not have virtual machines - create the right one, the absence of a trial period will not hurt.
To start any virtual machine after you have run out of trial period in Parallels Desktop, you need to completely close all Parallels Desktop programs, and then line by line in the terminal these commands:
open -a Parallels\ Desktop
prlctl start "Windows 10"
Instead of Windows 10, quotes can contain any name for your virtual machine created in Parallels Desktop.

Surprisingly, it actually works, and it's way more convenient than changing the date. Thanks!
I've created an Automator script based on this.

could you share with us how you've created the "Automator script" some of us aren't familiar with creating mac executables

No problem - from your Applications folder, open up the "Automator" app, select "Application" as your new document type, and under utitlites, select "Run Shell Script", and paste the command in. After that, just save the application, name it, and when you execute the app, it will run the command automatically for you!
EDIT: Quick note, when copypasting the commands into Automator, make sure you enter "/usr/local/bin/prlctl" instead of just "prlctl". If you don't do this, running the Automator app will fail with a "command not found" error. This is because Automator will only load commands from /usr/bin by default, and prlctl is located in /usr/local/bin.

🤌 thanks

Is it working for you? It's still the same error for me.

@voltzisnasty
Copy link

voltzisnasty commented Oct 1, 2021

Here you go boyZ
Enjoy
remember to rename your windows to Windows 10 if not named that by default and your kali linux to Kali Linux
Thanks!
https://drive.google.com/drive/folders/17qhyG5y-781mgUZ0Cr4pDkNDUYS5A1j6?usp=sharing

@ntvuongg
Copy link

ntvuongg commented Oct 5, 2021

is there any way to reset free trial ? i have used up 14 day free trial and removed Parallels 17. But now when I installed it again, I can't pass the "We cannot offer you a new trial because a trial period has already been requested from this Mac ....". I have used all above commands but none of them works

@swdrana
Copy link

swdrana commented Oct 6, 2021

Here you go boyZ Enjoy remember to rename your windows to Windows 10 if not named that by default and your kali linux to Kali Linux Thanks! https://drive.google.com/drive/folders/17qhyG5y-781mgUZ0Cr4pDkNDUYS5A1j6?usp=sharing

it's not working

@ikshovon
Copy link

ikshovon commented Oct 6, 2021

Here you go boyZ Enjoy remember to rename your windows to Windows 10 if not named that by default and your kali linux to Kali Linux Thanks! https://drive.google.com/drive/folders/17qhyG5y-781mgUZ0Cr4pDkNDUYS5A1j6?usp=sharing

it's not working

Not working with parallels17 in Mac M1?

@swdrana
Copy link

swdrana commented Oct 6, 2021

Here you go boyZ Enjoy remember to rename your windows to Windows 10 if not named that by default and your kali linux to Kali Linux Thanks! https://drive.google.com/drive/folders/17qhyG5y-781mgUZ0Cr4pDkNDUYS5A1j6?usp=sharing

it's not working

Not working with parallels17 in Mac M1?

Yes

@voltzisnasty
Copy link

im using parallels 17 and it is working for me
dm me on discord ill get it to work for you if you are not able to do it
VOLTZ#4554

@voltzisnasty
Copy link

or I can make a video for u

@swdrana
Copy link

swdrana commented Oct 6, 2021

Sure, if you can it's will be very helpful for me.

or I can make a video for u

@voltzisnasty
Copy link

im on it bro

@ikshovon
Copy link

ikshovon commented Oct 6, 2021

im on it bro

waiting for you, bro

@ntvuongg
Copy link

ntvuongg commented Oct 6, 2021

im using parallels 17 and it is working for me
dm me on discord ill get it to work for you if you are not able to do it
VOLTZ#4554

i sent u a friend request

@swdrana
Copy link

swdrana commented Oct 6, 2021

im using parallels 17 and it is working for me dm me on discord ill get it to work for you if you are not able to do it VOLTZ#4554

xiaoyu#0084 please check

@swdrana
Copy link

swdrana commented Oct 6, 2021

Thank you so much 🥰 it's working ☺️

@ikshovon
Copy link

ikshovon commented Oct 6, 2021

im on it bro

it worked, thanks a lot @voltzisnasty

@ntvuongg
Copy link

ntvuongg commented Oct 6, 2021

Here you go boyZ
Enjoy
remember to rename your windows to Windows 10 if not named that by default and your kali linux to Kali Linux
Thanks!
https://drive.google.com/drive/folders/17qhyG5y-781mgUZ0Cr4pDkNDUYS5A1j6?usp=sharing

It worked. For anyone who has same problem as me.
Step 1: Download - https://drive.google.com/file/d/1yQREwAt2_6zTlqS16XGBwVKJHDpT7ORd/view?usp=sharing
Step 2: Uninstall the current parallels (Move "Parallels Desktop" in Application to trash then execute Uninstall.sh <Step 1> file with root permission through terminal)
Step 3: Change the date back to the date before that you offered for free trial
Step 4: Open Parallels 17 installer. If some parts not running then change the date back to normal. Once that part run, you have to quickly change date like Step 3 and keep doing this until you install successfully
Step 5: Right click red play button on the top right corner -> choose Accounts & License -> Create new Parallels account -> Login -> If it require internet (because you change date and time so now you can't access internet), you will have to change the date back to normal (Set day date and time automatically) then login -> quickly change the date back like Step 3 -> Click Try free for 14 days and now you should see the expired notice
Step 6: Use voltzisnasty's tool to startup your windows (https://drive.google.com/drive/folders/17qhyG5y-781mgUZ0Cr4pDkNDUYS5A1j6?usp=sharing)
Thanks goququ and voltzisnasty for scripts and tools.

@Eduardox18
Copy link

Here you go boyZ
Enjoy
remember to rename your windows to Windows 10 if not named that by default and your kali linux to Kali Linux
Thanks!
https://drive.google.com/drive/folders/17qhyG5y-781mgUZ0Cr4pDkNDUYS5A1j6?usp=sharing

Hi, I just run the script before the 14 days?

@swdrana
Copy link

swdrana commented Oct 6, 2021

Here you go boyZ
Enjoy
remember to rename your windows to Windows 10 if not named that by default and your kali linux to Kali Linux
Thanks!
https://drive.google.com/drive/folders/17qhyG5y-781mgUZ0Cr4pDkNDUYS5A1j6?usp=sharing

Hi, I just run the script before the 14 days?

before, after no problem it will worked perfectly.

@StupidRepo
Copy link

StupidRepo commented Oct 8, 2021

None of these solutions worked. I added you on DC.

im using parallels 17 and it is working for me dm me on discord ill get it to work for you if you are not able to do it VOLTZ#4554

@githubcom13
Copy link

LOL 😂

@narcyzzo
Copy link

check friend invites @voltzisnasty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment