CDKey.vbs
0.00MB
CD-key.ps1
0.00MB

Windows CD-Key 알아내기

Microsoft/NT 2013. 6. 5. 15:01

내가 쓰고 있는 Windows에 CD-Key(Product Key)를 찾아내는 방법은 여러가지 입니다.

간편하게 MagicalJellyBean http://www.magicaljellybean.com/keyfinder/ 같은 간단한 프로그램을 이용하는 방법도 있지만, 해당 컴퓨터에 설치를 필요로 하지요

 

1. Magical Jelly Bean의 Keyfinder프로그램

 

2. VBS스크립트를 활용

또다른 방법으로 스크립트를 이용하면 별도의 프로그램 설치필요 없이도 가능 합니다.

아래는 구글링으로 찾아낸 VBS 

 

++Script 펼치기

 

 

해당내용을 메모장에 붙여넣기 하여 .vbs 형식으로 저장한뒤 더블클릭으로 확인 가능합니다.

  ㄴ 또는 아래의 파일을 다운받으세요

 

 CDKey.vbs


 

하지만, 위 두가지 방법으로는 Volume license로 적용된 CD-Key는 확인이 불가능 합니다.

이유는 해당 키값을 레지스트리에 암호화된 상태로 남아, 모두 BBBBB-BBBBB-BBBBB-BBBBB-BBBBB 이런 형식으로 보이기 때문이지요.

 

그래서, 또다시 구글링으로 방법을 찾아보았습니다.

3. PowerShell을 이용한 방법

 

 

3.1 아래의 스크립트를 메모장에 복사한 후 .PS1 형태로 저장 합니다.

     ㄴ 또는 아래의 파일을 받으세요

 CD-key.ps1

 

 

+++PS 스크립트 펼치기

 

 

3.2 PowerShell을 실행후, Set-ExecutionPolicy Unrestricted 와 Set-ExecutionPolicy RemoteSigned 를 각각 실행 합니다.

 

3,3 위 .PS1파일을 바로 실행하거나, (방법은 이곳: http://technet.microsoft.com/en-us/library/ee176949.aspx 참조)

         ㄴ 복사후 PS창에 붙여 넣기 합니다. (아래그림참조)

 

 

 

3.4 Get-WindowsKey 커맨드로 CD-Key확인. 이상 끝.

 

혹시 안되면 댓글 남겨주세요.

출처는 http://mspowershell.blogspot.kr/

'운영체계자료 > Windows NT Server' 카테고리의 다른 글

MSE 윈도우서버에 설치하는방법  (0) 2018.07.21
server 블루스크린 c00002e2  (0) 2016.04.07


MSE 를 서버에 설치하려면 기본적으론 설치가 되지않는다..


하지만 설정을 몇가지 바꾸면 정상적으로 설치할수 있다.






PowerShell 관리자권한으로 실행한 이후 MSE 설치파일뒤에 해당 옵션을 붙이어 설치하면 정상적으로 설치된 모습을 볼수있다.


\MSEInstall.exe /disableoslimit



server 블루스크린 c00002e2

 

해결방법

 

 

There are several reasons you may get get this error. The most common being a corrupt Active Directory database (NTDS.DIT). I know this sounds detrimental, but it's actually easy to fix this blue screen.

*** This is the Active Directory Database we're talking about here, so make sure you have a good backup of the server, in case this doesn't work***

This Stop code is only seen on a system with Active Directory on it. You notice it when the server is booting. You'll get a blue screen and an error code, like the following:

STOP: c00002e2 Directory Services could not start because of the following error:

A device attached to the system is not functioning.

Error Status: 0xc0000001.

Please shutdown this system and reboot into Directory Services Restore Mode, check the event log for more detailed information.

 

 

 

To begin, do as the message says, and boot into Directory Services Restore Mode. When the server powers on, press F8 before the OS begins to load. You should see a selection screen like this. Choose Directory Services Restore Mode:

Once in Directory Services Restore Mode, you can check if there is a problem with the database by running the following commands:

ntdsutil.exe

activate instance ntds

files

If there is a problem with it, you'll see something like this returned:

Could not initialize the Jet engine: Jet Error -501. Failed to open DIT for AD DS/LDS instance NTDS. Error -2147418113

To fix, just rename all of the .log files located in C:\windows\ntds\ to .log.old, or anything else, so they can be recreated.

Now reboot the server. For most people, this fixed the database, and the server booted up. For others, it still blue screened after this. If you continue to get a blue screen, run the following command in Directory Services Restore Mode, and then reboot:

esentutl /p "c:\windows\ntds\ntds.dit"

 

+ Recent posts