Saturday, February 16, 2019

mac - Install Windows on a MacBook Prod legally




I have a MacBook pro retina, and I want to buy and install a Windows 7 on (in a bootcamp partition and/or virtualized via VirtualBox). However, I do not know how to get it legally in a non-physical format.



I could buy the Windows box in a store, but it has a DVD, and my Mac does not have DVD player. Thus, this is not an option.



I cannot find any Windows distribution in a USB drive or a way to download a ISO legally.



My question is where can I buy a Windows license and use it for my Mac.



In other companies and there is a place to download the ISO or installers that you already paid for. For example IBM with PassportAdvantage, or Oracle with OTN.


Answer




What Jamie says is quite right. To buy the key, you can use Sofway who will send you the key and download links via email. They are perfectly legit, I'm not from them but have used them in the past.



EDIT: Alternatively just install windows 7 by using the links above, then when it asks for product key in the setup, just press enter, which will give you a 30 day trial. Then after the install, windows will ask you to buy windows 7, and take you to their website.


Laptop randomly shuts down after latest Windows 10 update

Since the latest update of Windows 10 my computer decides to randomly shut down after every couple of minutes. First the screen goes black, then the sounds stops and after quite a while the power also goes down.


Obviously I though of cleaning the fan with a big vacuum, as suggested on My Windows 10 Computer Randomly Shuts Down . However, after doing this, the shutting down goes even quicker. I cannot even properly log-on before the shutdown takes place.


What should be my next step?


Ps. The computer is quited aged (roughly 3 - 4 years). The battery is dead enough such that I always need to have it plugged in an outlet. It might just be "done for" but I'm hoping to revive it for just a little bit more.

windows 7 - Removing BOOTMGR from USB flash drive


Got 8GB flash drive. It was formatted to FAT32 and is completely empty, but windows shows that 4KB are in use (once formatted to NTFS windows shows that 54MB are in use).


Used some disk editing software to look inside. Turns out the space is taken by some BOOTMGR. As I understand this is only used if I would be booting something from this flash drive?


Any way to wipe it all? So that after format where would be no used space.


Answer



Sure, here is how to.


Note that the used space could be overhead of the filesystem. Check if formarting to FAT32 reduces the used space.


Friday, February 15, 2019

command line - cmd > attrib - Unable to change attribute

I'm following this tutorial because I'm having problems with the Task Scheduler service:
http://technicallyeasy.net/2010/10/how-to-fix-keyset-does-not-exist-for-scheduled-tasks-in-windows/



Basically (in case the link dies), it says that you should go to C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\S-1-5-18 and delete everything that's in there.



Here's the problem I'm having - there is a single file, marked as hidden, system and read-only. The file name is "d42cc0c3858a58db2db37658219e6400_46884bcb-8fba-461e-a2ee-e996218ba78a".
When I try to delete it, I get the following message:
Cannot delete X : Make sure you specifiy the correct path




The file is definitely there, as I can browse to it via Windows Explorer.
I assumed that the problem is the "system" attribute.
I ran
attrib -s "path\to\the\file"



and the output:
Unable to change attribute - "path\to\the\file"



When I try to remove the hidden or read-only attributes instead, I get:
Not resetting system file - "path\to\the\file"



Once again, this is a file, not a folder.
Any ideas greatly appreciated!




PS: OS is Windows Server 2003 r2 x64

windows 10 - Does disabing wuauserv service affect installation of updates?

I want to manually control the launch the Windows Update service on a Windows 10 Home laptop because it runs too frequently, causing high CPU and draining the battery.


The idea is that the the service will be disabled and the user will launch Windows Updates on demand and then once the service has started and it is under way, set the service immediately to Disabled again. This should ensure that once updates are applied, Windows Update will not launch again by itself.


My question is, considering some updates need to reboot the system to complete their installation, would disabling the service in this way cause issues with these updates?


Alternatively, and unfortunately more complicated, is to



  • Set Windows Update service to its own svchost.exe process

  • Launch the service & Check for updates

  • Monitor CPU usage and disable once found it has settled down.


My plan is for the user to launch the update when they go to sleep and hopefully when they wake, the updates will have been done and the service will be disabled.




EDIT:


What I have done so far is to create two VBS scripts. One to stop and disable the service. It runs automatically at logon with elevated privileges through the Task Scheduler.


The second script enables the service and starts it. Then the GUI is presented to the user to click "Check for Updates". This way they can keep an eye on it. I will have her launch the second script once a week, probably weekends when she goes to sleep. Reboots should occur automatically.

partitioning - Dual booting: 0xc000000e Windows Error when installing GRUB


Hi everyone!
This is my first question so correct me please if I´m asking something wrong.


So my Problem is:
I´ve got a Lenovo E31-70 with pre-installed Windows 10 home 64bit and I tried to dual-boot Kali Linux on it.
First I´ve created an Partition with 100GB. Than I installed Kali Linux and the GRUB loader from an .iso image from an USB. The Installation was working fine and finally I had all installed.Then I tried to boot Windows and I got a boot error, but Linux was working well.
For some reason i cannot upload an photo of the error, but:


File: \Boot\BCD
Status: 0xc000000e
Info: The Boot Configurations Data for your PC is missing or contains errors.

After a bit searching I found that: http://answers.microsoft.com/en-us/windows/forum/all/0xc000000e-boot-error/ef08ab00-e130-4301-bc80-79d5b414a81f?auth=1
THE SECOND ANSWER


So I downloaden an Windows 10 .iso on my USB, started Windows repair, and wrote
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd


All worked fine, Windows was completly restored,
but when I restarted the PC, GRUB doesn´t appear!
I´ve tried restarting the Notebook several times, with the same result.


Than I found this solution: https://forums.kali.org/showthread.php?20559-How-To-Repair-Kali-Linux-Grub-With-Kali-Linux-Live-Cd-Dual-Boot-With-Windows-7


Again all worked fine. When I rebooted the Notebook, GRUB appeared. I thought it was the end... It wasn´t.
Because when I´ve tried to start Windows, I got the same 0xc000000e Error again.


NOTE:
Fast boot is turned off
Boot Mode is legacy(can switch to UEFI)


Conclusion:
When repairing Windows, GRUB doesn´t appear.
When repairing GRUB, Windows boot error.


I guess that GRUB is overriding Windows boot data...


[EDIT]
I can boot windows if i switch to UEFI. The problem is: I don´t want to switch in BIOS from UEFI to Legacy every time i need to boot another OS. Is there any way to boot Windows 10 in legacy or start GRUB in UEFI?


Answer



Most pre-installed Windows 10 use uefi with secure boot. I'm not very sure if kali supports secure boot or not but it definitely supports uefi.


Also it seems that you are installing kali in legacy. For GRUB to appear, both os must be in either legacy or uefi.


1 : Restore you windows 10 using the steps you already mentioned.


2 : Disable secure boot from bios.


3 : Install kali in uefi (not legacy).


Now GRUB should appear.


P.S : You don't need to turn off fast boot. Also you don't need windows 10 iso specifically to repair windows. It can be done using win 7 or win 8.1 iso.


windows - is it a good idea to change a recovery partition from primary to logical? [HP laptop]


I have a new HP laptop, model dv6-6c85la, with 1TB hard drive, and it has 4 primary partitions, like this:


|<- system [199 MB] ->|<- c: [899.8 GB] ->|<- d:(recovery) [27.5 GB] ->|<- e:(hp_tools) [4 GB] ->|


I wanted to make another partition, splitting "C" which is the main partition, into TWO partitions, and leave the rest as it is. but it doesn't let me because they are already 4 primary partitions (the ones in the diagram).


I read somewhere, that i could in fact split C into 2 partitions, but only if the adjacent partition (in this case d:(recovery) is converted into a "logical" partition. That way, the new unallocated part taken from C, and the recovery partition, would each be logical, "inside" an extended partition (right???)


As i understand, the resulting partitions would be:



  1. primary (system, no letter),

  2. primary (c:),

  3. extended [ logical (x:) | logical(d:recovery) ],

  4. primary (e: hp_tools)


"x" being the new one. am i correct?


My question is, if i do convert the recovery partition to logical (and thus, it is inside an extended partition adjacent to the new "x:" one), would i have any problems when in case of a disaster i would like to restore the system using the now logical instead of primary RECOVERY partition?


Or it is completely safe to change it to logical? My main concern is because i think i may need to be primary so the recovery can proceed in boot time? Or i am completely wrong? how does the recovery process happens?


I also understand that i can simply create recovery media, in DVDs, and then even i would be able to delete that recovery partition completely, but as of now, i don't want to do that. I may create the disks, but i don't want to delete the partition, simply because it would be a lot faster and easier to recover from a hard drive than disks.


Wrapping up: if i change a recovery partition from primary to logical, will the system still be capable of using it to recover? or it NEEDS to be primary to work?


The whole point is that i want to split C:, but as things are, i cant directly, i'd need to change the recovery partition to logical. Or is there another way?


thanks.


Answer



See this article on how to make a 5th partition properly without losing any functionality of any of the partitions partition.


Back up data and Make your Recovery media before you start changing partition structure.


I would also make this disc


hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...