ubuntu no longer works, how do I get windows back without the code?

digiman2372

New member
Member
Local time
3:50 PM
Messages
40
Hello everyone, I installed ubuntu on my laptop ,and in the process, it asked me if I wanted to keep the windows 7 operating system or delete it and all the data I had on there. Unfortunately, I had to delete it because it oddly didn’t give me the option to keep windows 7 even though that’s what it was asking. Long story short, I messed up the booting code for ubuntu and now it won’t boot up. I just want windows 7 back. I know I can redownload the windows 7 OS onto a flash drive and boot it, but won’t it ask me for the activation key? What do I do then? Also, is it possible to get all my data back after I do?


sorry if i'm posting this in the wrong spot, redirect this thread as needed.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Hp pavillion dv6 laptop(stock)
OS
64
Hi igiman2372,

Your specs say desktop & laptop, your activation key (25 character key) on the bottom of the laptop or in the battery compartment if that is the computer you are referring to? If the desktop, the key should be on the side of the case? It would be in those places if it is Original Equipment Manufacturer (OEM) install.

Data back from what Ubuntu or your removed Windows 7. If you formatted the drive when installing Ubuntu, which you most likely did, nope, data is gone unless you had it on a separate partition or another drive.

Where can you download Widows 7 OS from? If you have an OEM install Microsoft's website won't let you because it asks for a retail key. We can help you with that! ;)

Snick
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP Desktop & Compaq Laptop
OS
Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
Hard Drives
Samsung 850 Pro 256Gb,
Hitachi HDD 1Tb,
Crucial MX SSD 250Gb
Segate 3Tb USB 3.0 Ext. Backup HDD
Internet Speed
150Mbps dn, 20Mbps up
Antivirus
Avast Free, Malwarebytes Anti-Exploit & Anti-Ransomware
Browser
Firefox, Chrome, Opera, & VPN

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
is it possible to get all my data back after I do?

Rule 1. If you want to recover data STOP using that disk immediately.

It depends what happened here:
Unfortunately, I had to delete it

There might parts of the disk that were not overwritten so a data recovery program might find something if you are lucky.
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
To recover your data you're gonna have to detach the hard drive and use a SATA to USB adapter to plug in the drive to another computer and run something like this program

Or if you just want to run Linux Mint or something, just boot the Linux Mint CD or USB image and format/write over thew whole disk and it should work.

What happened here is that you messed up Ubuntu's boot code somehow, thus you couldn't boot Ubuntu. You could try to repair grub. How to Repair GRUB2 When Ubuntu Won’t Boot
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
sorry for my late response everyone. first I want to thank all of you for taking the time to reply!! thank you so much! Now as far as finding the product key goes, the sticker on the bottom of the laptop is all faded away. However, there are some more numbers located where the battery is. this includes the serial number, product number, the PCID and the REV. would any of these work?
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Hp pavillion dv6 laptop(stock)
OS
64
the sticker on the bottom of the laptop is all faded away.
If windows 7 came preinstalled by HP, you don't need it. Skip entering the key when installing win7.

After you get to the desktop, run 7oeminstaller

It is the third program on that link.

Do you have win7 installation media ?
 
Last edited:

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Are you asleep? Always a good idea to respond before I get bored.
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
SiW2, i'm sorry, I wasnt asleep.I just wasnt expecting anyone to respond as fast as you did, thank you. I will be checking more often now. I do not have the windows installation media, but I can easily get it from the microsoft website right? my laptop did have windows 7 preinstalled, but that was my initial concerned is that I erased it for good when I installed ubuntu. anyhow, thank you so much for your suggestion, I will try this out tomorrow morning!
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Hp pavillion dv6 laptop(stock)
OS
64
it turns out microsoft wants me to verify that I have a product key for the windows 7 download. I have been having a hard time finding a trustworthy product key. Snick, You said this situation can be helped,what shall I do now?
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Hp pavillion dv6 laptop(stock)
OS
64
what is the edition , bit version and language?

According to the specs it came with win7 Home Premium x64.

Is that what you had? Is it en-US?
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
yes you or correct, windows 7 home premium 64x english. although, now that i think about it, worst case scenario I can install ubuntu again. If there are no last chances of me getting windows 7 again i'll just get ubuntu and mark this thread as solved.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Hp pavillion dv6 laptop(stock)
OS
64
Of course you can.

You need the win7 x64 home premium installation media, which is easy to find

Either

X17-58997.iso

Or

en_windows_7_home_premium_with_sp1_x64_dvd_u_676549.iso

They are the same iso file with different names



and license.

You should have the license key on a sticker on the machine somewhere. If you can't read it, you can use slp activation.
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
You can borrow a copy
Win7.ISO
Snick
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP Desktop & Compaq Laptop
OS
Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
Hard Drives
Samsung 850 Pro 256Gb,
Hitachi HDD 1Tb,
Crucial MX SSD 250Gb
Segate 3Tb USB 3.0 Ext. Backup HDD
Internet Speed
150Mbps dn, 20Mbps up
Antivirus
Avast Free, Malwarebytes Anti-Exploit & Anti-Ransomware
Browser
Firefox, Chrome, Opera, & VPN
Last edited:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP Desktop & Compaq Laptop
OS
Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
Hard Drives
Samsung 850 Pro 256Gb,
Hitachi HDD 1Tb,
Crucial MX SSD 250Gb
Segate 3Tb USB 3.0 Ext. Backup HDD
Internet Speed
150Mbps dn, 20Mbps up
Antivirus
Avast Free, Malwarebytes Anti-Exploit & Anti-Ransomware
Browser
Firefox, Chrome, Opera, & VPN

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP Desktop & Compaq Laptop
OS
Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
Hard Drives
Samsung 850 Pro 256Gb,
Hitachi HDD 1Tb,
Crucial MX SSD 250Gb
Segate 3Tb USB 3.0 Ext. Backup HDD
Internet Speed
150Mbps dn, 20Mbps up
Antivirus
Avast Free, Malwarebytes Anti-Exploit & Anti-Ransomware
Browser
Firefox, Chrome, Opera, & VPN
Back
Top