如何解决Win7系统“此Windows副本不是正版”问题

如何解决Win7系统“此Windows副本不是正版”问题,第1张

方法一:

1

打开Win7系统的开始菜单,点击“所有程序”。

2

打开“所有程序”里的“附件”。

3

右键“命令提示符”,点击“管理员取得所有权”。

4

在打开的”管理员:命令提示符“中输入“SLMGR -REARM”,并按回车键。

5

等待命令执行结束后,就可以短暂激活Win7系统,时限为4个月。

END

方法二:

1

按住键盘上的”Win+R“后运行”services.msc“命令。

2

从服务列表中找到并双击打开“Software Protection”、“SPP Notification Service”这两项服务。

3

分别把这两项服务的启动类型改为”自动“后重启电脑即可。

END

方法三:

1

激活Win7系统,可以使用windows7旗舰版激活密钥永久版的激活密钥来激活。

ubuntu终端 中输入 sudu gedit /boot/grub/grub.cfg

#

# DO NOT EDIT THIS FILE

#

# It is automatically generated by grub-mkconfig using templates

# from /etc/grub.d and settings from /etc/default/grub

#

### BEGIN /etc/grub.d/00_header ###

if [ -s $prefix/grubenv ]then

set have_grubenv=true

load_env

fi

set default="0"

if [ "${prev_saved_entry}" ]then

set saved_entry="${prev_saved_entry}"

save_env saved_entry

set prev_saved_entry=

save_env prev_saved_entry

set boot_once=true

fi

function savedefault {

if [ -z "${boot_once}" ]then

saved_entry="${chosen}"

save_env saved_entry

fi

}

function recordfail {

set recordfail=1

if [ -n "${have_grubenv}" ]then if [ -z "${boot_once}" ]then save_env recordfailfifi

}

function load_video {

insmod vbe

insmod vga

}

insmod part_msdos

insmod ext2

set root='(hd0,msdos6)'

search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

if loadfont /usr/share/grub/unicode.pf2 then

set gfxmode=640x480

load_video

insmod gfxterm

fi

terminal_output gfxterm

insmod part_msdos

insmod ext2

set root='(hd0,msdos6)'

search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

set locale_dir=($root)/boot/grub/locale

set lang=zh

insmod gettext

if [ "${recordfail}" = 1 ]then

set timeout=-1

else

set timeout=10

fi

### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###

set menu_color_normal=white/black

set menu_color_highlight=black/light-gray

### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###

menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {

recordfail

insmod part_msdos

insmod ext2

set root='(hd0,msdos6)'

search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

linux/boot/vmlinuz-2.6.35-22-generic root=UUID=7be3f69d-3a81-4336-8faf-9ab27587633e ro quiet splash

initrd/boot/initrd.img-2.6.35-22-generic

}

menuentry'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {

recordfail

insmod part_msdos

insmod ext2

set root='(hd0,msdos6)'

search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

echo'Loading Linux 2.6.35-22-generic ...'

linux/boot/vmlinuz-2.6.35-22-generic root=UUID=7be3f69d-3a81-4336-8faf-9ab27587633e ro single

echo'Loading initial ramdisk ...'

initrd/boot/initrd.img-2.6.35-22-generic

}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###

menuentry "Memory test (memtest86+)" {

insmod part_msdos

insmod ext2

set root='(hd0,msdos6)'

search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

linux16/boot/memtest86+.bin

}

menuentry "Memory test (memtest86+, serial console 115200)" {

insmod part_msdos

insmod ext2

set root='(hd0,msdos6)'

search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

linux16/boot/memtest86+.bin console=ttyS0,115200n8

}

### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###

menuentry "Windows Vista (loader) (on /dev/sda1)" {

insmod part_msdos

insmod fat

set root='(hd0,msdos1)'

search --no-floppy --fs-uuid --set 3c98-ac5d

chainloader +1

}

menuentry "Windows 7 (loader) (on /dev/sda2)" {

insmod part_msdos

insmod ntfs

set root='(hd0,msdos2)'

search --no-floppy --fs-uuid --set 8824ca4f24ca4044

chainloader +1

}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###

# This file provides an easy way to add custom menu entries. Simply type the

# menu entries you want to add after this comment. Be careful not to change

# the 'exec tail' line above.

### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###

if [ -f $prefix/custom.cfg ]then

source $prefix/custom.cfg

fi

### END /etc/grub.d/41_custom ###

其中带###行的是注释行 不要管就行了

下面我具体就是一下红色的字体的命令

set default="0" : 默认的开机进入 也就是如果开机是你不进行选择的话 计算机自动为你进如编号为0的系统

可以改为你想要默认的系统, 如1

set timeout=10 : 这个是允许你选择的时间(以秒为单位)

可以给为你认为比较理想的时间如15

Ubuntu, with Linux 2.6.35-22-generic'

'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)

Memory test (memtest86+)

Memory test (memtest86+, serial console 115200)

Windows Vista (loader) (on /dev/sda1)

Windows 7 (loader) (on /dev/sda2)

这六行是开机是的选项, 如果你不向让某一个选项出现,那么你可一讲测段删除,例如将第二个选项'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)删除,-------方法1:则只需要删除上文中的黄色背景的程序删除即可(切忌:不要多删也不要少删)。方法2:如果你不想删除,那么注释掉也可以,就是吧要删除的程序前加#(每行加以个)就是吧黄色背景的程序每一行前面都加一个#

下面是我的这个文件改过之后的样子:

红色的字是我改过之后的,黑色的字是原来的样则

#

# DO NOT EDIT THIS FILE

#

# It is automatically generated by grub-mkconfig using templates

# from /etc/grub.d and settings from /etc/default/grub

#

### BEGIN /etc/grub.d/00_header ###

if [ -s $prefix/grubenv ]then

set have_grubenv=true

load_env

fi

set default="0"

if [ "${prev_saved_entry}" ]then

set saved_entry="${prev_saved_entry}"

save_env saved_entry

set prev_saved_entry=

save_env prev_saved_entry

set boot_once=true

fi

function savedefault {

if [ -z "${boot_once}" ]then

saved_entry="${chosen}"

save_env saved_entry

fi

}

function recordfail {

set recordfail=1

if [ -n "${have_grubenv}" ]then if [ -z "${boot_once}" ]then save_env recordfailfifi

}

function load_video {

insmod vbe

insmod vga

}

insmod part_msdos

insmod ext2

set root='(hd0,msdos6)'

search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

if loadfont /usr/share/grub/unicode.pf2 then

set gfxmode=640x480

load_video

insmod gfxterm

fi

terminal_output gfxterm

insmod part_msdos

insmod ext2

set root='(hd0,msdos6)'

search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

set locale_dir=($root)/boot/grub/locale

set lang=zh

insmod gettext

if [ "${recordfail}" = 1 ]then

set timeout=-1

else

set timeout=10

fi

### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###

set menu_color_normal=white/black

set menu_color_highlight=black/light-gray

### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###

menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {

recordfail

insmod part_msdos

insmod ext2

set root='(hd0,msdos6)'

search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

linux/boot/vmlinuz-2.6.35-22-generic root=UUID=7be3f69d-3a81-4336-8faf-9ab27587633e ro quiet splash

initrd/boot/initrd.img-2.6.35-22-generic

}

#menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {

#recordfail

#insmod part_msdos

#insmod ext2

#set root='(hd0,msdos6)'

#search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

#echo'Loading Linux 2.6.35-22-generic ...'

#linux/boot/vmlinuz-2.6.35-22-generic root=UUID=7be3f69d-3a81-4336-8faf-9ab27587633e ro single

#echo'Loading initial ramdisk ...'

#initrd/boot/initrd.img-2.6.35-22-generic

#}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###

#menuentry "Memory test (memtest86+)" {

#insmod part_msdos

#insmod ext2

#set root='(hd0,msdos6)'

#search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

#linux16/boot/memtest86+.bin

#}

#menuentry "Memory test (memtest86+, serial console 115200)" {

#insmod part_msdos

#insmod ext2

#set root='(hd0,msdos6)'

#search --no-floppy --fs-uuid --set 7be3f69d-3a81-4336-8faf-9ab27587633e

#linux16/boot/memtest86+.bin console=ttyS0,115200n8

#}

### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###

#menuentry "Windows Vista (loader) (on /dev/sda1)" {

#insmod part_msdos

#insmod fat

#set root='(hd0,msdos1)'

#search --no-floppy --fs-uuid --set 3c98-ac5d

#chainloader +1

#}

menuentry "Windows 7 (loader) (on /dev/sda2)" {

insmod part_msdos

insmod ntfs

set root='(hd0,msdos2)'

search --no-floppy --fs-uuid --set 8824ca4f24ca4044

chainloader +1

}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###

# This file provides an easy way to add custom menu entries. Simply type the

# menu entries you want to add after this comment. Be careful not to change

# the 'exec tail' line above.

### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###

if [ -f $prefix/custom.cfg ]then

source $prefix/custom.cfg

fi

### END /etc/grub.d/41_custom ###


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/tougao/11859804.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-19
下一篇 2023-05-19

发表评论

登录后才能评论

评论列表(0条)

保存