Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS 2022 support #14

Open
Farb opened this issue Jul 5, 2021 · 20 comments
Open

VS 2022 support #14

Farb opened this issue Jul 5, 2021 · 20 comments

Comments

@Farb
Copy link

Farb commented Jul 5, 2021

Visual Studio 2022 preview version has been released ,please support 2022.BTW ,2022 is a amazing

Sent from PPHub

@beatcracker
Copy link
Owner

Hi there! Usually I don't spend time on adding preview versions (#1 (comment)). But if it's really amazing I might give it a try ;). No promises though.

@navrozashvili
Copy link

navrozashvili commented Jul 23, 2021

enterprise 2022 pre release registry key is Licenses\10D17DBA-761D-4CD8-A627-984E75A58700\09360 . It can be found using Sysinternals. Even tho adding days works even by just replacing 2019 key in https://github.com/l3afblow3r/VSEELicense it wont add more than 15 days. better than nothing.

https://github.com/navrozashvili/VSEELicense

@beatcracker beatcracker pinned this issue Jul 23, 2021
beatcracker added a commit that referenced this issue Jul 24, 2021
@beatcracker
Copy link
Owner

beatcracker commented Jul 24, 2021

I've pushed vs2022 branch which supports VS CE 2022 Preview. But as @navrozashvili mentioned, VS will only give you 15 days when you reset date in registry. I guess it's a preview limitation.

As soon as VS 2022 is finally released, I'll remove this branch and merge final 2022 support to the master.

@beatcracker beatcracker changed the title Add visual studio 2022 support ,please VS 2022 support Jul 24, 2021
@Farb
Copy link
Author

Farb commented Aug 15, 2021

I've pushed vs2022 branch which supports VS CE 2022 Preview. But as @navrozashvili mentioned, VS will only give you 15 days when you reset date in registry. I guess it's a preview limitation.

As soon as VS 2022 is finally released, I'll remove this branch and merge final 2022 support to the master.

Does it work for you? Why doesn't it work for me😪

@navrozashvili
Copy link

I've pushed vs2022 branch which supports VS CE 2022 Preview. But as @navrozashvili mentioned, VS will only give you 15 days when you reset date in registry. I guess it's a preview limitation.
As soon as VS 2022 is finally released, I'll remove this branch and merge final 2022 support to the master.

Does it work for you? Why doesn't it work for me😪

New key:
Licenses\10D17DBA-761D-4CD8-A627-984E75A58700\09460
but it wont add more than 7 days

@Farb

This comment has been minimized.

@Farb
Copy link
Author

Farb commented Aug 19, 2021

@beatcracker @navrozashvili
I have upgraded the vs2022 to 17.0.0 Preview 3.1,and I found the new key is 09478,then I modified the .psm1 file for the new key.Finally ,I ran my AddDays.ps1 scripts and printed Success string and vs2022 expire date is right .But it still shows "Your trial has expired " page .What reason?

F79D6ED4-AF24-4B5A-87BE-30E937BCA7BC
9FE825E7-3EBF-43AC-93D0-589D469759DF
FA6201AA-793E-4C33-A605-9C4B0E4DFAAC

@navrozashvili
Copy link

@beatcracker @navrozashvili
I have upgraded the vs2022 to 17.0.0 Preview 3.1,and I found the new key is 09478,then I modified the .psm1 file for the new key.Finally ,I ran my AddDays.ps1 scripts and printed Success string and vs2022 expire date is right .But it still shows "Your trial has expired " page .What reason?

F79D6ED4-AF24-4B5A-87BE-30E937BCA7BC
9FE825E7-3EBF-43AC-93D0-589D469759DF
FA6201AA-793E-4C33-A605-9C4B0E4DFAAC

Once it expires I believe some registry key is set in a private hive and changing that license key has no effect.

@Farb
Copy link
Author

Farb commented Aug 19, 2021

@navrozashvili so,there's no way to solve it,right?😂

@navrozashvili
Copy link

navrozashvili commented Aug 19, 2021

@navrozashvili so,there's no way to solve it,right?😂

  1. reinstall vs
  2. mess with their hive(I really suggest against it, I ended up overwriting my HKCU and bricking my windows user last time I did it😂)

@Farb

This comment has been minimized.

@Farb
Copy link
Author

Farb commented Aug 20, 2021

@navrozashvili
Finally ,I solved the problem by offline registration 🤓The link is https://blog.csdn.net/songfuliang2011/article/details/102486451 .
8D9A399A-A5C2-4C4F-A531-580A05CBD066

@undergroundwires
Copy link

The new registry key seems to be B16F0CF0-8AD1-4A5B-87BC-CB0DBE9C48FC and subkey is 09560. I have preview 4.1. I could set the expiration date when I changed the keys but still get "Your trial has expired"

@Farb the link is dead, would you like to share how you solved it on your hand?

@Farb
Copy link
Author

Farb commented Sep 27, 2021

The new registry key seems to be B16F0CF0-8AD1-4A5B-87BC-CB0DBE9C48FC and subkey is 09560. I have preview 4.1. I could set the expiration date when I changed the keys but still get "Your trial has expired"

@Farb the link is dead, would you like to share how you solved it on your hand?

The link is available. But the article language is Chinese, maybe you should translate the page. The essential is copying license metadata from a computer that you can login to another computer that you cannot login.

@ednt
Copy link

ednt commented Nov 9, 2021

I just installed the official VSCE 2022 and I found the key
1299B4B9-DFCC-476D-98F0-F65A2B46C96D
If I try 09678 I get 255,255,255,255,255 as date value, which is wrong.

@beatcracker
Copy link
Owner

Yep folks, gotta have a look at this as soon as I get a free minute.

@beatcracker
Copy link
Owner

Well, it looks like VS 2022 doesn't have any limits at all. I've installed it and moved clock to the year 2022 and back - no issues. And the license text says Product key applied instead of 30 days trial (evaluation period) 🥳

image

@lorisleitner
Copy link

The new key is 1299B4B9-DFCC-476D-98F0-F65A2B46C96D\09660

Works for my VS22 Enterprise

@nasusonetrick
Copy link

is it possible to increase Expiration of years instead of just days ?

@beatcracker
Copy link
Owner

@nasusonetrick I don't thinks so: looks like the limit is built-in into the VS expiration date checking code. It ignores anything larger then 31 days.

undergroundwires added a commit to undergroundwires/privacy.sexy that referenced this issue Sep 26, 2022
Improve documentation for Visual Studio scripts.

Add different keys reported by community for deleting Visual Studio 2022
licenses, see beatcracker/VSCELicense#14 for the key reports.

Add cleanup for SQM files that Visual Studio generates when it is unable
to connect to internet, to send the data when online. Improve cleanup
for Visual Studio logs.

Change revert behavior of the scripts to match default state of clean
Visual Studio installation.
undergroundwires added a commit to undergroundwires/privacy.sexy that referenced this issue Sep 26, 2022
Improve documentation for Visual Studio scripts.

Add different keys reported by community for deleting Visual Studio 2022
licenses, see beatcracker/VSCELicense#14 for the key reports.

Add cleanup for SQM files that Visual Studio generates when it is unable
to connect to internet, to send the data when online. Improve cleanup
for Visual Studio logs.

Change revert behavior of the scripts to match default state of clean
Visual Studio installation.
LarrMarburger pushed a commit to LarrMarburger/privacy.sexy that referenced this issue Nov 16, 2023
Improve documentation for Visual Studio scripts.

Add different keys reported by community for deleting Visual Studio 2022
licenses, see beatcracker/VSCELicense#14 for the key reports.

Add cleanup for SQM files that Visual Studio generates when it is unable
to connect to internet, to send the data when online. Improve cleanup
for Visual Studio logs.

Change revert behavior of the scripts to match default state of clean
Visual Studio installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants