Sunday, September 30, 2018

Laptop has black screen and fans on when on battery power

When trying to turn on my laptop using just the battery, the lights and fans run, but the screen and all other operations do not work.



When the power cord is plugged in, the laptop works fine. It will boot normally with or without the battery as long as the power cord is plugged in. If I unplug the cord while the computer is running, it will freeze in a couple of seconds.



I have tried a new battery and re-installing windows, which did not help.

windows 10 - Where is data written to on a hard drive after a wipe?


I just used the "windows media creation tool" on a 1TB HD, and my drive was mistakenly wiped in the process. I did not read the warnings when using "windows media creation tool," so tried to use a hard drive with data, thinking that new files would just be added onto the current partition. The 1TB drive was formatted and repartitioned down to 31GB, and 4gb of windows 10 iso were written onto the drive.


Where on a hard drive is data written to after a wipe? Would the files be written onto previously unused areas, or does the write location move back to the first area?


Answer



First note that logical location (the block addresses used by the OS) doesn't always correspond to physical location (where those blocks reside on disk platters or flash memory). The disk is free to make its own decisions on how to translate between the two, as long as it remains invisible to the OS.




With HDs, things like "previously unused areas" and "write location moving back" don't quite work – data is just written wherever the OS asks it to be written. That is, the same logical address (LBA) usually corresponds to the same physical location.


(SSDs, on the other hand, do keep track in firmware of which locations are "in use", which have been freed (using TRIM), etc. so if the OS writes twice to the same logical address, it will probably (I think?) get a different physical area every time.)




The logical location is constrained by the partitions. If the app has set up a 32 GB partition that starts at the beginning of the disk, then new files were written only within those first 32 GB, and the rest of the terabyte should remain untouched.


(A real disk wipe tool would have erased the whole disk, but that's not what the Media Creation Tool does – it only cares about writing as much as it actually needs.)


Space inside the partition, however, is managed by the filesystem's allocation algorithm (which usually picks varying locations in order to avoid fragmentation), so new data could've been written nearly anywhere within those 32 GB.


windows 8 - Remapping keys without external software


It seems my keyboard keys do not match up to their actual outputs, it's a UK keyboard, with the UK language installed on the operating system. In this case Windows 8.


for example the AT key on the keyboard is actually " and the tilde is | .


I recognise the mismatch of the at symbols being out of line with American keyboards, so I have tried the US layout also but that was also incorrect to the standard key layout I have on my keyboard.


Maybe it's a driver issue with the keyboard?


Or if not, is there a way I can remap the keys without using an external program, I'd prefer to keep the number of boot programs to a minimal if possible.


Thanks!


Answer



The best tool for the job is Microsoft's own remapkey.exe, available as part of the Windows Resource Kit. (That link is for Windows 2003; I've used it successfully over the years on many versions of Windows, including Windows 7; have not tested Windows 8).


remapkey.exe will write the mapping directly into the registry, I believe, and does not require a running process. You simply drag from actual key to desired key, and save.


remapkey screenshot


Windows can’t find hard disk drive after hard resets but drive works via a USB enclosure

The drive in question is a 3TB SATA Seagate (ST3000DM001-9YN166; Firmware: CC4H) hard disk drive and my system is Windows 7 64-bit.


I had some GPU trouble a while back and required to hard-reset a few times because video output would freeze; driver updated a dying GPU killed it, tried getting helped, each time I “tried” a fix, I would need to hard-reset to get back into windows to try another driver version.


After giving up and removing the GPU and returning to Windows, one of my drives disappeared.


I’ve tried TestDisk and Diskpart, neither can even see the drive.


I have it running on my external USB enclosure, one of the partitions of 4 became RAW. I’ve since formatted it and left it as unallocated under the assumption theres most likely a bad sector in that region.


I’ve tried putting the drive back into my PC and it still cannot be seen by Windows.


Any suggestions as to why the drive is not recognized when connected to the PC via SATA but works fine in an external USB 3.0 enclosure?
One of the partitions is a main data drive letter so I'm constantly writing/reading from it, its working right now in the enclosure.

Windows 7: folders' taskbar icons issue


I compressed the files on my System drive to gain some space, and now my folders icon looks like this in the taskbar:


enter image description here


I KNOW there is a very easy way to set this icon back to normal, since it already happened to me once a while ago, but I can't remember what it was...?!


thanks!


[EDIT] Deleting the IconCache.db file solved the issue:



  1. Open Windows Explorer, and configure your Folder Options > Views to show Hidden / System Files

  2. Go to C:\Users\\AppData\Local folder

  3. Delete the hidden IconCache.db file

  4. Reboot


I knew it was easy!


Answer



Deleting the IconCache.db file solved the issue:



  1. Open Windows Explorer, and configure your Folder Options > Views to show Hidden / System Files

  2. Go to C:\Users\< User >\AppData\Local folder

  3. Delete the hidden IconCache.db file

  4. Reboot


sorting - batch-rename filenames with numbers to sort alphabetically

I want to batch-rename files containing numbers, padding the numbers with zeroes.
The goal is to sort numbered sets of files alphabetically in the correct order in any application.


In a set of files with the same prefix text followed by a number, I want to pad each number with as many zeroes as the highest number has digits.


I.e a list of files named like this:


xx 1 abc.txt
xx 2 def.txt
xx 3 ghi.txt
xx 3.5 jkl.txt
xx 4a mno.txt
xx 4b pqr.txt
...
xx 100 end.txt

should become:


xx 001 abc.txt
xx 002 def.txt
xx 003 ghi.txt
xx 003.5 jkl.txt
xx 004a mno.txt
xx 004b pqr.txt
...
xx 100 end.txt

(System is Windows XP)


(Windows Explorer uses some kind of heuristic to sort files with numbers in this way, not always correctly. I am however looking for a way to actually rename the files)


Addendum


I was refered to this question as a possible duplicate:
How can I mass rename files?
The tools mentioned there (Bulk Rename Utility, AntRenamer, Free Commander Portable etc.) are as far as I can tell not capable of detecting the minimum amount of paddding needed for each set of files.


My thinking was this: Explorer is capable of detecting files with consecutive numbers, even if they are left-aligned without padding, as in my first example above. It uses this detection in order to sort the files correctly.
(see for example http://www.codinghorror.com/blog/2007/12/sorting-for-humans-natural-sort-order.html )
I am looking for a tool that does the same detection, but also renames the files accordingly.
(Finding the largest number for each related set of files, not simple the largest number in the whole directory, and then padding the numbers in each set.)


Or to put it annother way: I want to do a "natural sort" for all files in a directory, then rename them so that the ascii sort is identical to the "natural sort"


I now suspect that there is no tool capable of doing this, so I probably just need to write a script.

How to create Windows Keyboard Shortcut Using Windows Logo Key

How would you create a custom shortcut key combination using the windows logo key?



For example, a non-declared windows combination like ⊞ Win + C




For brevity; I'm looking for an answer that works, so if it requires things like altering registry keys I'm ok with that. I'm looking for an answer that does not use 3rd parties like AutoHotKey (although it wouldn't hurt to provide an answer using those for people that don't care and find it useful.)



I'm personally looking for a native solution or something I can change/add with default OS. Thanks






Wins 10 Home Edition

Saturday, September 29, 2018

security - How do I create a bootable USB Flash PcRepair Kit?



I do PC repair on the side and am looking to use a bootable flash drive as a PcRepair Kit. I'm also looking for anit-virus, anti-malware, Data-Recovery, Hardware testing. It would be great if it was embedded in an OS like XP or linux.


Answer




PenDriveLinux is a spectacular option. It creates everything you need for the bootable USB drive to repair pc's. You can boot up to a linux build of your choice, or to a repair disk of your choice (i.e. Ultimate Boot CD). Pendrivelinux also has Gparted, DBAN, Avira rescue disk and many other options. It even has an option to setup a windows installation (it says vista/7 but I'm pretty sure you could get an xp install on it too) If you're looking for an all in one, PenDriveLinux multiboot is what your looking for.


macos - How to Re-install an App that Shows up in the Appstore as 'Update' Instead of 'Buy App'


So long story short:


I dropped the wrong app into 'clean my mac' and I hit 'cancel' but it was too late by that point.


I rebooted and appstore said it had an update, when I opened appstore it was showing an update for the app I just uninstalled.


I tried clicking 'update' but it gives me an error saying it's unable to install after 'downloading'.


When I try to go into 'purchased apps' it shows the app as uninstalled so I click 'install' and I get an error saying it's already installed.


I'm running Lion OS X, latest version, updated, mac book pro is only a few months old.


I tried searching through the entire system to remove all traces of the app, after rebooting appstore no longer shows the app and no longer shows the update but on the apps page it still says 'Update'.


I tried reinstalling the app from desktop OUT of the appstore and again says the app is 'already installed'.


So after reading more about lion I found an article that spoke about 'BundleID' being the thing that tells appstore what's installed and needing updating however I can't find the location of where the BundleID would be.


Any thoughts?


I've tried CCleaner, AppCleaner etc and none of them show the app, mainly because it is uninstalled.


Update


I've spoken to Apple Support who confirmed that there is a file in the system that connects separately to tell the system if there are updates available however they declined to inform me of any further details.


Apple also referred me from technical support to iTunes App Store opposed to Mac App Store support and from there I have been referred to AppleCare who are currently 'investigating' this issue.


Hopefully there will be a fix that's simple to implement for people having similar issues, this appears to be a more common issue than I previously thought.


Answer



This fix is NOT supported by Apple's Official Support Policies



  1. Open Terminal

  2. Paste these codes in one line at a time:


    rm -r ~/Library/Caches/com.apple.appstore
    rm -r ~/Library/Caches/com.apple.storeagent
    rm ~/Library/Preferences/com.apple.appstore.plist
    rm ~/Library/Preferences/com.apple.storeagent.plist
    rm ~/Library/Cookies/com.apple.appstore.plist

  3. Navigate to: Launchpad > System Preferences > Spotlight > Privacy (tab)


  4. Click '+' in the bottom left

  5. Select 'Macintosh HD' (click ok when prompted)

  6. Leave it a few minutes and then click '-' to remove it

  7. Type something in Spotlight and wait for it to begin 'Re-Indexing'

  8. Once Spotlight has finished reboot

  9. Install the App out of App Store (this should work now)

  10. Once installed open 'Applications' locate app

  11. Right click and select 'Show Package Contents'

  12. Remove the file named 'embedded.mobileprovision'

  13. Remove the folder called '_MASReceipt'

  14. Reboot


When the Mac App Store launches it scans ALL apps regardless of if it was installed via MAS, it picks up the apps that were installed via MAS and then provides any updates, once the update has been triggered it gets embedded into those files (via an encrypted string) and remains there until cleared or updated.


This method removes the files that contain parts of the update string, when the app store cannot find the string it clears the update status and you should be good to uninstall and re-install via app store (I've just done this successfully) and/or update to a newer version.


This method was advised to me by an Apple staff member off duty and therefore does not actually represent Apple's Official Support Policies.


Installing Windows 7 from a USB Hard Drive




I have a Western Digital Passport External Hard Drive (320GB) that I want to partition to keep the data on, but use some of the free space to install Windows 7 onto my desktop computer. Microsoft has given me the Windows 7 Enterprise Edition ISO to download. I would like to take the External HD and partition it so I can fit the ISO image onto it. How would I go about doing this?



Trying to use GParted to partition the external hard drive has caused a chicken or the egg problem. GParted can't see the drive unless it's mounted, and when it is mounted it will not allow me to do anything to the partition. When it's not mounted, GParted can't see the drive at all and as such can't do anything to the drive.



Once the drive is correctly partition, how do I go about moving the ISO image Microsoft gave me to my USB External Hard Drive? Are there any special steps that I need to take?



I am using Ubuntu 11.04 & GParted 0.7.0, on my Chromebook to do this. Any support would be appreciated.


Answer



If you want to do it all within Ubuntu - install VirtualBox & create a VM for Windows. Install Windows within the VM ( by booting off the downloaded ISO - you can do so using VirtualBox).




Once you have Windows 7 installed in the VM, you can then use the Windows 7 VM to run the Windows 7 USB tool to make Windows 7 bootable from the USB drive.



*Yes I know it's too long, but I did this and it worked fine when my DVD drive conked off and I did not have access to a Windows system.


Friday, September 28, 2018

Excel - automatically fill down a row with date range matching a specific pattern


Given a specific start date (say Jan, 11th 2012 for example), I want to fill down a row in excel automatically with a date range matching the following pattern for the days (bi-monthly pay period).


1. 11th - 25th
2. 26th - 10th

Of course with actual dates in each cell including the month and year (not simply repeating the two values above). What I'm looking for is a way to put in one or two specific date ranges, such as:


January 11th, 2012 - January 25th, 2012
January 26th, 2012 - February 10th, 2012

And have excel automatically fill down many more cells in the same pattern:


January 11th, 2012 - January 25th, 2012
January 26th, 2012 - February 10th, 2012
February 11th, 2012 - February 25th, 2012
....
December 11th, 2012 - December 25th, 2012

How can I do this?


Answer



Format your columns to the date format you prefer. Enter the date of 1/11/2012 into cell A1 and the date of 1/25/2012 in cell B2. Copy the following code into A2;


=DATE(YEAR(B1),MONTH(B1), DAY(B1)+1)

and copy this into B2;


=IF(DAY(B1)=10, DATE(YEAR(B1), MONTH(B1), DAY(25)), DATE(YEAR(B1),MONTH(B1)+1, DAY(10)))

Go ahead and highlight A2 and B2 to drag them down as far as you need.


Should look like this when done;


Screen Shot


windows 7 - svchost eating up memory


I'm running Windows 7. It seems that svchost is eating up a lot of memory.


The user name for the particular svchost instance is "Network Service". The description is "Host Process for Windows Services".


Sometimes it eats up 50% of the CPU usage. Other times, it's just under 5%. I can't figure out when it's 50% and when it's not. But it fluctuates often -- even when I've just booted up and no programs were started.


How do I diagnose this?


Answer



SVC Host is made up of many services running on your machine. I recommend you either right click on it and choose "View Services" to see what is actually causing it (after choosing show processes from all users).


alt text


You can also use Microsoft / Sysinternals Process Explorer which should show you in more detail what is happening.


alt text


(Hovering mouse over the svchost.exe process in Process Explorer)


data recovery - Recover an overheated hard drive


So, today I was stupid, and left my laptop powered on and in my backpack for a few hours. When I took it out, the battery which had been fully charged was almost out of charge.


So, I power cycled it, and when it came on, the BIOS took extra long to start, and then the following text appeared:



Broadcom UNDI PXE-2.1 v2.1.0
Copyright (C) 2000-2006 Broadcom Corporation
Copyright (C) 1997-2000 Intel Corporation
All rights reserved.
PXE-E61: Media test failure, check cable
PXE-M0F: Exiting Broadcom PXE ROM
Operating System not found

So, the first thing I tried was booting off an Ubuntu 8.04 Live CD, which worked, but it could find no traces of my hard drive (even after cooling my hard drive in a fridge for ~20 minutes).


I still have a warranty from Dell. Has anyone found that they cover this sort of thing (and preserve the data)? I'll be calling them soon anyways, but I won't bother if it's a waste of time.


If I have to recover the data myself, what are the best options? Is there anything free, or should I pay a disk recovery service? Which programs/services are the best?


Answer



In the first instance, definitely call Dell as it is under warranty - that is what you paid the extra premium for (unless you were lucky and got it free). They will talk you through checking all the settings in the BIOS to ensure they are correct for your computer.


I would personally check if the disk is recognised in the BIOS and check that the boot order is correct. The excessive heat may have reset the BIOS settings. I have seen stranger things happen.


Seeing the PXE boot (boot from the network) message is quite a common thing with desktops, it is just a method of booting from the network. Sometimes it is below the harddisk in the boot order so you don't always see it come up.


You should be able to remove the disk and use a disk caddy to connect it to another working computer, usually via a simple SATA/IDE to USB connector. As long as the disk is not fried, you will be able to copy your existing data off.


In terms of data recovery, you will not have any luck doing it from your laptop if it is not recognised by the BIOS. If it is recognised using the disk caddy but unreadable, you might still be able to use something like R-Studio (which comes at a cost).


windows 7 - Bind language switching to a key combination in Win7

I have 3 languages on my computer (has recently added French) and switching them with default Alt+Shift is really annoying, because sometimes you can type the wrong symbol if you forget the language you are using at the moment. I use French, but not so often as the other two.



So, my question is: can one bind a certain key or key combination to switch to only this one language?

windows - replacing the Win 8.1 disk

The mother board on my out of warranty laptop running OEM Windows 8.1 died. So I bought another of the exact same model laptop with OEM Windows 8.1.



I do not want to spend hours copying and files and re-installing and re-configuring my old software on my new computer. Can I just put the hard disk from the old laptop into the new identical modeled laptop?



Will the be an OEM license issue with Windows 8.1?




Thanks



J.B.

ubuntu - Can't migrate logical volume to newly added physical volumes



I had a partition of 91GB added in a logical volume filled to 61GB. Now I got an external hard drive and added a couple of partitions 43GB and 26GB each to the logical volume.



I now want to move the data to these new pvs and repartition the original 91GB partition. I started out with pvmove -v /dev/sdxx but it says Insufficient free space. Not enough extents. I am confused. My vgdisplay shows me as 91.23GB allocated. Why?



Here's the partition table of my hard disk:



/dev/sda5   91G
/dev/sda1 58G



I have my /home as a logical volume with /dev/sda5 as physical volume.



I now have an external hard drive partition table as follows:



/dev/sdb1    43G
/dev/sdb2 26G
/dev/sdb3 80G



df -h /home gives:



Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/home-home--lvm
91G 61G 343M 100% /home


I want to remove /dev/sda5 from /home and repartition it. I have /dev/sdb1 and /dev/sdb2 free, so I want to add them to the lv home. How do I get this done?


Answer




I was initially naive enough to just add /dev/sdb1 and /dev/sdb2. And try pvmove on /dev/sda5.



Here are the steps that solved the problem:




  • Boot into maintenance mode, umount the /home


  • resize2fs to within the size the new
    partitions can hold. (here 68G).*


  • lvresize the logical volume.


  • Use pvmove /dev/sda1*



  • Now pvremove /dev/sda1

  • Format it as you please




    • -- Both highly time consuming operations.
      You can skip the pvmove and resize the partition following the instructions here. http://www.howtoforge.com/linux_resizing_ext3_partitions
      But then it involves tampering with the partition table, while the data is not backed up. So you better be aware of the risk involved.



Thursday, September 27, 2018

hard drive - Samsung HDD has been stopped detecting

2 days back when I start my Samsung Laptop (2.5years old), it's just showing up the Samsung Start Up screen and stuck.


It's not allowing me to enter into BIOS. Upon asking in a local service center, I got to know that the HARD DISK is damaged. So I tried to start my laptop with my friends HDD and it worked.


Being confirmed about the HDD damage, I tried to use it as external as I had an internal to external converter (Thanks to Segate BackUp Plus). First I got the windows sound of adding external drive and the LED get on. I was happy. But after a few second, the same sound struck and the LED start blinking continuously. In the whole process, my HDD didn't get detected for a second.


Now I have few queries/concern:
1. Is it possible to repair my HDD with out removing data?
2. If YES, what could be it's probable cost?
3. If NO, how can I recover data in home?

Windows 10 says my device is up to date, but it doesn't have this month's security update


This scenario is a bit different than the one described here. I'm running the latest feature update of windows, Windows 10 1709. In December, I had to manually install the Fall Creators Update in-place.


Starting in January 2018, the device falsely reported it was up to date several days after a security KB was rolled out. I had to resort to manually installing and downloading the January 2018 security update.


Now the February 2018 security update is out, and this machine again claims it is up to date but is not.


I've tried everything here (save clean install) to no avail. I've run Get-WindowsUpdateLog in powershell, and for some reason the update service really is not seeing any relevant security updates. (I've grabbed the ID of the relevant February 2018 update, KB4074588 with ID 29A306E7-C732-4FF8-A939-B1CD9FEEF0D6.1, and that update is nowhere to be found in the log.)


Any thoughts or suggestions before I just proceed with a new windows install?


Answer



One of the main issues with the January updates are that they require an updated anti-virus to update a specific registry value. Once that is done, then Windows will start seeing updates again.


If you do not have an anti-virus that will do this, or you have Windows Defender disabled, you can manually add the registry value.


Microsoft has released this advisory.


You can check if this is the case pretty easily.



  1. Click on start

  2. Type in regedit and hit enter
    Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\QualityCompat

  3. If cadca5fe-87d3-4b96-b7fb-a231484277cc exists and is set to 0x00000000 you should be getting the updates.


If not, you can create the entry if you wish.


Registry Entry


windows - A new drive gets a lot of space allocated after formatting - why?

I have a VM hosted on a Hyper-V server that's acting as an RDS host. I have added a disk of size 4 GB in order to place a paging file to it. When I format it, its capacity is reported as 3.97 GB, but once I assign it a letter, the free space gets shrinked by a whole 12% to 3.45 GB. I then run defrag s: /a /v, where "s:" is that drive's letter, it reports the following:



Microsoft Drive Optimizer

Copyright (c) 2013 Microsoft Corp.

Invoking slab consolidation on Swap (S:)...

The operation completed successfully.

Post Defragmentation Report:

Volume Information:
Volume size = 3,99 GB

Cluster size = 64 KB
Used space = 23,87 MB
Free space = 3,97 GB

Slab Consolidation:
Space efficiency = 100%
Potential purgable slabs = 0


That is, the space is actually released, but it gets immediately allocated back. I wonder what causes this? I have encountered that Recycle Bin properties were set to about 540MB for that disk, so I deactivated that setting to "Don't put files to recycle bin" for disk S:. Still the problem persists. What else could allocate that space?




UPDATE: If I remove the drive letter then format the drive again, the free space is listed correctly as 3.97 GB ($Mft most likely taking most space), but as soon as I assign it a letter I lose 500 MB space, even if I already set recycle bin volume for the drive. I cannot reboot the OS on that VM to check if that would fix the problem, but I have not encountered such behavior before - maybe recycle bin's still allocating its 540MB of default value just because it didn't refresh its settings by a reboot. Can someone confirm the issue, then?

Reinstall Windows 7: OEM or Standard?

A friend has asked me to repair his Toshiba laptop after a virus crashed it. I've managed to do a clean re-install using the built in recovery partition, but the newly installed Windows is running absurdly slow. As in, it takes upwards of 30 minutes between logging in and the desktop actually showing, and once up doing anything has the same kind of wait periods. Booting up in safe mode seems to be working just fine, however.


I've done the re-install twice now and had the same problem both times. I've also noticed that the Toshiba install comes with a huge amount of bloatware and I'm worried that this is contributing to the issue. Even if its not, it definitely isn't helping things. Since I have his product key and a compatible Windows 7 install disc I've been debating whether to just use that instead.


My question is: is there any potential issue using a standard install disc instead of the built-in OEM version? I realize that I'd have to go find all of the drivers and manually install them this way, but that'd be a small price to pay if it actually works. And I wouldn't have to spend time going through and removing all the useless apps the OEM version adds in. So other than missing drivers, what problems could I run into?


(EDIT)
I have used a linux live cd to check the hard disk and it is doing fine. I've tried removing some of the bloat while in safe mode, but half of the apps are could not be uninstalled due to errors/missing uninstaller/whatever. Starting up with a clean boot did not show any real difference in performance.

Wednesday, September 26, 2018

symbols - How can I type tilde (~) in the Ubuntu terminal with a Norwegian keyboard?

I am using Ubuntu terminal and want to type this:



sudo -H -u gitosis gitosis-init < ~/.ssh/id_rsa.pub



However I am not able to find tilde (~) on my Norwegian keyboard.



Can anyone tell me how to type it?

upgrade - Photoshop performance gain - ram/disk


What performance gain would i expect to see when going from a 2.4GHz, 4GB RAM (2+2), 250GB 5400RPM system to a 2.4GHz, 6GB Ram (4+2), 128GB Falcon SSD (230/190mb/s)? (Ram is 1066Mhz)


In particular im talking Photoshop with Large images/many layers. If you have a percentage or some good benchmarks that would be great. I have seen some, but nothing that looks at large photoshop files or ones with many layers.


At this point, what is the bottleneck of my system? Previously I would say that my RAM was, as the RAM would always max out and my pc would lag like crazy (this is when working with large photoshop images).


Would a scratch disk be of much help? I could dedicate a whole 250GB 5400RPM Portable hard drive as my scratch disk connected over Firewire 800. Seeing as the SSD is so fast, is this really beneficial?


Answer



It's hard to say exactly 'what kind of performance gain' you could expect, as it's subjective, and depends on a lot of other things that we don't know about.


Generally in Photoshop the images you're working on are loaded into memory, so there's very little disk access. Most of the disk activity will be due to pagefile/scratch disk usage for virtual RAM to support the files.


If the total size of the image(s) being edited are smaller than your available physical RAM (after Photoshop is loaded) there should be almost no disk activity.


You'll need a 64-bit operating system to use more than 4GB of RAM, so if you have that available to you, then more RAM is the better way to go, and I'd say go for as much as your motherboard will support.


Also, if you have lots of RAM, and the images aren't exhausting it, try turning the PS scratch disks OFF -- Photoshop will complain at startup (at least it did in the older versions), but it will force it to only use system RAM and remove potential bottlenecks at the hard drive. Warning - you maybe in trouble when you try and load REALLY big (or lots of) images when the scratch disks are off. ;)


If even with more RAM and no scratch disks it still isn't fast enough, THEN look into getting an internal SSD and put the scratch disks on it.


Unless you have lots of money, then just buy lots of RAM AND a quality SSD drive. :)


Firewire 800 isn't nearly as fast as direct access drives (ATA, SATA, eSATA, SCSI), so generally it's not a good idea to swap out virtual memory (scratch disks) to a 'slow' interface like that.


iso image - ISO on USB stick

According to Wikipedia, an ISO file is (emphasis mine):




ISO disc images are uncompressed and do not use a particular container format; they are a sector-by-sector copy of the data on an optical disc, stored inside a binary file. ISO images are expected to contain the binary image of an optical media file system (usually ISO 9660 and its extensions or UDF), including the data in its files in binary format, copied exactly as they were stored on the disc. The data inside the ISO image will be structured according to the file system that was used on the optical disc from which it was created.




When I use dd or some other low-level utility to write the raw ISO bytes to a USB stick I can't boot from the USB stick. Why is that? The raw filesystem structures are present on the USB stick. Sure, UDF or other filesystems are not ideal for usb but they should work, right?



I have tried this with the newer images of Windows 10 and Ubuntu 16.

Tuesday, September 25, 2018

ESET NOD32 4.0 - Lost settings password



A friend of mine forgot his NOD32 4.0 security password, so now he can't change the Antivirus settings and it keeps reporting a false positive. The worst part is he can't even uninstall it!



Is there a way to reset / recover the password or do I have to reinstall the operating system?


Answer



Try NOD's unlock utility




ESET has created an Unlock Utility to remove the administrative password and restore your > access to the configuration settings. Please follow the instructions below to use the > ESET Unlock Utility:





  • Save the program unlockv3.exe to your local harddisk.

  • Run program unlockv3.exe (double-click on the file icon) – a new window displays on the desktop.

  • Send us the ID number that displays via e-mail to support@eset.eu together with your username and password that was sent to you after the purchase (for verification). If you don’t know your username and password, it is possible to have them sent. (More detailed info here ).

  • Close the window by clicking on the Quit button.

  • Wait for your UNLOCK CODE - it will be sent back to your e-mail address.
    When you receive the e-mail with your UNLOCK CODE, run unlockv3.exe again. (in Windows Vista, please make sure you run it under an administrator account).

  • Insert the UNLOCK CODE into the "UNLOCK CODE" dialog box (please enter the code correctly).

  • Click on the "Unlock" button.


  • Click on the Quit button.



linux - Can't Access Port number 80 and 443 after adding Iptables rules

In my CentOS 6 i added a IPtables rules like DROP all the policy like





iptables -P INPUT DROP




Then I allow Port NO 22,80,443 with this command,




iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT



iptables -A INPUT -i eth0 -p tcp --dport 443 -j ACCEPT




iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT




Now can access SSH with putty. But i can't access Internet. I have to know the exact problem of this.? Please help me.

printing - How to print A4 papers by HP Deskjet 1010

Recently I've bought an inkjet printer HP Deskjet 1010. Previously I had a printer. I usually print with A4 papers. But I can't print A4 documents with the printer. It supports only letter size. I go to printer settings and then click Preferences and then Advanced. Then I choose A4 as paper size. But still it can't print A4 papers. The lower portion of the paper isn't printed.


I tried to add the screenshots but I can't because I've not 10 reputations.

windows 7 - On a laptop which consumes more power - cordless mouse or wired mouse?


Which consumes least power from the laptop battery out of the following - a corded USB mouse or a cordless mouse with USB transceiver or bluetooth wireless mouse?


I have a laptop running Windows 7 64-bit and am looking to use a solution that'll use the least amount of energy from my laptop's battery. yes, I know the built-in touchpad would use the least energy but I'd like to use an external device - more comfort.


Either via practical experience or via tests carried out, could someone please help to narrow down the type of mouse that'd serve my purpose? Not looking for a fancy mouse - 2 button + wheel is enough.


Answer



A few years back Toms Hardware did a review of items that related to the power consumption of notebooks. Their testing at the time revealed that a bluetooth mouse is very slightly better. The complete coverage can be read here.


From Tom's Hardware


Windows 7, SSD used space does not match total files space used


I have a 60GB SSD showing as 55GB in properties, installed with Windows 7 as c: drive.


I selected everything in C drive and went to properties and it says 37GB but when I right click on the C drive and go to properties it shows 48GB used.


I am trying to understand where the extra 11 GB is.


I have changed the page file settings, and changed it to use 512mb, putting the main page file on an HDD disk but this made no difference after a reboot.


I have also made sure the recycle bin is empty.


Can anyone suggest what might be consuming the missing space?


Answer



How much ram do you have?


Windows 7 creates a hibernation file on c:\ . For example, my hibernate is 3G and the pagefile is 4G.


There are a few other hidden windows files/folders that will not show up when you select all in c:


A tool like http://www.piriform.com/ccleaner will help you clean up worthless files off your windows drive.


command line - Fixing lost administrator permissions on a NAS in a Windows environment

This is in a Windows environment. I have an issue on a NAS volume where the Administrator has lost all access to various folders and files. I can find the offending folders and files and have been using batch files to grant ownership to the administrator account and then granting the access, but have a problem with nested folders. So if we have -


"h:\folder1\folder2\folder3\folder4" where EACH folder is not accessible or owned by Administrator


I list the folders into a txt file and then edit to run the commands to grant ownership in a batch file thus -


fileacl h:\folder1 /O Administrator:F
fileacl h:\folder1\folder2 /O Administrator:F
fileacl h:\folder1\folder2\folder3 /O Administrator:F
fileacl h:\folder1\folder2\folder3\folder4 /O Administrator:F


then I edit to create the following to grant access -
fileacl h:\folder1 /G Administrator:F
fileacl h:\folder1\folder2 /G Administrator:F
fileacl h:\folder1\folder2\folder3 /G Administrator:F
fileacl h:\folder1\folder2\folder3\folder4 /G Administrator:F


The problem is that only folder1 will be fixed as I won't have access UNTIL the second command is completed to touch folder2. Same for 3 & 4.


My question is - is it possible to execute two commands per line of the created text file listing so that it would execute both commands for folder1 before moving on to folder 2 and so on? Manually copying a& organizing this all would take forever as I have several thousand nested folders. A FOR loop in DOS/CMD prompt?
Thx!

Windows 7 64-bit installation from alternative media (no DVD/USB Flash drive)



Greetings



I currently have Windows 7 x86 installed on my computer. I want to install Windows 7 x64 on a different partition on my computer. However there is a little issue, I cannot run the x64 install from Windows 7 x86 which I currently have.



I was planning to Install Windows 7 x64 on another partition to then boot up from that partition to install it on the partition I actually want my OS on. Once that is complete I could just format the partition from the Windows 7 x64 that I didn't need anymore. But the installer will not run from the x86 version of Windows 7 even though I do not want to upgrade that Windows directly.




The reason I'm doing this in such a weird way is that my optical drive is broken and I'm really not into buying a new one since I would use it like once every year or so. I also don't have a USB Flash Drive which is big enough to hold the installation files.



As far as I'm aware I cannot use an external hard drive such as this one, which I do have. Are there any alternatives in which I can install Windows 7 x64 or am I forced into buying a USB Flash Drive or new optical drive?



Thank you in advance for your replies.



Edit:
Partitions

This picture shows my current partitions on my laptop. I want to get Windows 7 x64 on the C partition but have to install it first on the F partition to then boot up the F partition windows to format C and install x64 on that one. My external drive is J.




Edit 2: No alternative computer which has a DVD drive, install files are located on an iso from MA3D. To install my 32 bit version I mounted the ISO in Daemon Tools to replace my Windows Vista but since I cannot run 64 bit into my 32 bit OS this doesn't work.



Edit 3:
cmd bootsect
Following this guide the above screenshot shows me another problem. I cannot update my USB external HDD with BOOTMGR compatible code because I'm on x86 Windows 7. Seems I'm forced into buying a new optical drive after all.



Edit 4:
I'm going to try to create the boot HDD with the setup files in a virtual machine with the x64 windows 7 installed.



Edit 5:

Solution in my case: Installed a virtual machine with x64 then made the USB external into the boot device and installed it. So this solved my problem.


Answer



You can "burn" a Windows 7 .ISO to a USB drive & install from there, http://store.microsoft.com/help/iso-tool.



AFAIK, so long as Windows (your BIOS actually) can see your Passport - as a boot device, you should be able to use that.


Monday, September 24, 2018

csv - Excel Formats Numbers as Dates

I have several very large .csv files that I need to work with, and Excel makes this very easy (obviously). One of the fields is in the format 10/3/2013 19:00, and Excel automatically converts this to its own date/time format when it opens the .csv file. I need to handle the raw text data, however. If I select the column and change the cell format to Text, Excel changes the values to just decimal numbers (41550.7916666667 in the above example).



How can I get Excel to just display all of the fields in text format? I'm using Excel 2013.

windows 7 - Two of my four HDDs in my RAID10 array aren't being recognized as part of the array. How do I get them back into the array?

The short version:
I have a Windows 7 PC with 4 x 4TB HDDs in RAID10, managed by Intel RST, which lists all of the drives as Status: Normal (and big green checks) but two of the drives aren't recognized as part of the array and the array itself is Status: Failed. Also when I check the partition types, the 2 HDDs that aren't in the array are GPT, while the 2 HDDs in the array are MBR and 'Not Applicable.' How do I get the drives back into the array? The drives are of course not accessible thorough Windows Explorer.


HDDs via Intel RST:


Extra details (i.e., how I got here):
One day suddenly, clicking on E: drive yielded a dialogue box blocking access and saying I need to format the drives. Intel RST software that managed the RAID wouldn't run, producing some non-helpful error. Re-installation attempts of the RST software were failures. Also, checking the SATA mode in the BIOS showed it was AHCI when it should have been RAID. So I changed it to RAID. But then I couldn't boot because the bootmgr couldn't be found. So I removed the 4 drives and put them in a new and identical PC, and that's when I saw that 2 drives weren't in the array anymore.


So how can I make the RAID incorporate all four drives again? Or how can I get at the files some other way?

Upgrade Windows 8.1 Enterprise to Windows 10

I have Windows 8.1 Enterprise and I wanted to install the Windows 10 Enterprise evaluation (from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-10-enterprise). I don't want to wait until the IT team at our company decides to give us the official update and I rather just install it and in a few weeks I'll get the key from them.


Now, I downloaded the evaluation version ISO but when trying to install it (mounting the ISO file and double clicking setup.exe) it tells me that the versions are different and that I cannot keep any of my files or apps if I continue.


Both versions are Enterprise 64bits and both are in English (US).


Any idea of why that might happen?

windows 7 - Replace 60GB solid state drive with a higher capacity one






I have a 60 GB solid state hard drive on my desktop, running Windows 7. It's working great, but it's getting frustrating to always be running out of space. Now that prices are dropping, I'm thinking of upgrading it.


What is the procedure to upgrade my solid state hard drive to a higher capacity solid state hard drive?


Thanks


Answer




  1. Purchase a cheap USB/SATA 2.5" drive enclosure when you get your
    SSD. You can get one for around $10 US at most online retailers.

  2. Put your new drive in the enclosure.

  3. Download the ISO of Parted Magic, since it has both GParted and Clonezilla included.

  4. Burn a disc from the ISO

  5. Connect the drive enclosure to the computer.

  6. Boot to this disc.

  7. Use Clonezilla to clone the old drive onto the new one.

  8. Use GParted to expand the partition on the new drive to encompass the additional space left untouched by the cloning process. Apply any changes. NOTE some people have had issues with resizing Vista and Windows 7 boot partitions with GParted, so feel free to skip this step until you have booted to the new drive. Expand the partition from Drive management within Windows if you want to take the safe route.

  9. Shut down, and replace the old drive with the new drive.

  10. Boot to new drive, right where you left off with old system intact.


networking - Resetting gone wrong

I have reset my linksys router, and now my internet is horribly slow.
please check details from command prompt below and tell me what's wrong. Thanks.



Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft
Corporation. All rights reserved.


C:\Users\Think>ipconfig /all


Windows IP Configuration


Host Name . . . . . . . . . . . . : Think-PC Primary Dns Suffix
. . . . . . . : Node Type . . . . . . . . . . . . : Peer-Peer IP
Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . .
. : No DNS Suffix Search List. . . . . . : Home


Wireless LAN adapter Wireless Network Connection 2:


Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : Description . . . . . . . . . .
. : Microsoft Virtual WiFi Miniport Adapter Physical Address. . . .
. . . . . : 08-3E-8E-A6-74-09 DHCP Enabled. . . . . . . . . . . :
Yes Autoconfiguration Enabled . . . . : Yes


Ethernet adapter Local Area Connection 2:


Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : Description . . . . . . . . . .
. : TAP-Windows Adapter V9 Physical Address. . . . . . . . . :
00-FF-8D-03-85-AB DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes


Wireless LAN adapter Wireless Network Connection:


Connection-specific DNS Suffix . : Home Description . . . . . .
. . . . . : Broadcom 802.11n Network Adapter Physical Address. . .
. . . . . . : 08-3E-8E-A6-74-09 DHCP Enabled. . . . . . . . . . . :
Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6
Address . . . . . : fe80::6d26:5dca:5dec:3e11%12(Preferred) IPv4
Address. . . . . . . . . . . : 192.168.1.100(Preferred) Subnet Mask
. . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . .
. . : 20 December 2013 07:19:53 Lease Expires . . . . . . . . . . :
21 December 2013 07:19:53 Default Gateway . . . . . . . . . :
192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 352861838 DHCPv6 Client DUID. .
. . . . . . : 00-01-00-01-18-E7-A5-EE-B8-88-E3-E8-81-D6


DNS Servers . . . . . . . . . . . : 208.67.222.222
192.168.1.1 NetBIOS over Tcpip. . . . . . . . : Enabled


Ethernet adapter Local Area Connection:


Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : Home Description . . . . . . .
. . . . : Realtek PCIe GBE Family Controller Physical Address. . .
. . . . . . : B8-88-E3-E8-81-D6 DHCP Enabled. . . . . . . . . . . :
Yes Autoconfiguration Enabled . . . . : Yes


Tunnel adapter Local Area Connection* 11:


Connection-specific DNS Suffix . : Description . . . . . . . .
. . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . .
. . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . .
: No Autoconfiguration Enabled . . . . : Yes IPv6 Address. . . .
. . . . . . . : 2001:0:9d38:6abd:817:129f:3f57:fe9b(Prefe rred)
Link-local IPv6 Address . . . . . :
fe80::817:129f:3f57:fe9b%21(Preferred) Default Gateway . . . . . .
. . . : :: NetBIOS over Tcpip. . . . . . . . : Disabled


Tunnel adapter 6TO4 Adapter:


Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : Description . . . . . . . . . .
. : Microsoft 6to4 Adapter Physical Address. . . . . . . . . :
00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes


Tunnel adapter isatap.Home:


Connection-specific DNS Suffix . : Home Description . . . . . .
. . . . . : Microsoft ISATAP Adapter #2 Physical Address. . . . . .
. . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . :
No Autoconfiguration Enabled . . . . : Yes Link-local IPv6
Address . . . . . : fe80::5efe:192.168.1.100%24(Preferred) Default
Gateway . . . . . . . . . : DNS Servers . . . . . . . . . . . :
208.67.222.222
192.168.1.1 NetBIOS over Tcpip. . . . . . . . : Disabled


Tunnel adapter isatap.{8D0385AB-841D-4FA3-A3AB-08FA1E6B0EE4}:


Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : Description . . . . . . . . . .
. : Microsoft ISATAP Adapter #5 Physical Address. . . . . . . . . :
00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes


Tunnel adapter isatap.{2960ADF4-79DD-44C8-8794-6033DE9AA0CB}:


Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : Description . . . . . . . . . .
. : Microsoft ISATAP Adapter #6 Physical Address. . . . . . . . . :
00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes


C:\Users\Think>


C:\Users\Think>ipconfig /all


laptop - Is it possible to transfer data from a damaged hard drive?

I have a Dell Inspiron 1720 with a damaged hard drive. I was wondering about a few things really.


Is it possible to recover/transfer data from it at all? I assume it's only partially bad, particularly in a start up area.


If so, can I perform the transfer using the 1720's two internal hard drive slots? Or must I use an external hard drive?

Sunday, September 23, 2018

linux - Total disk usage for a particular user



I would like to see the total disk usage for myself on a particular file system. I executed the command



du -h ~my_user_name



However, this lists every directory owned by my_user_name. I would like to get the sum total of all of this information. What is the appropriate option to pass? I tried



du -h -c ~my_user_name


but that did not work.


Answer



Passing -s to du will restrict the output to only the items specified on the command line.



du -sh ~


How to write a bootable ISO Windows installation disk to a disk partition (and not USB flash drive)?

I have already read How to write bootable iso to a partition? and How do I place a bootable ISO on a USB drive?, but here it's a bit different:


I'd like to put the Windows 10 (or 7) bootable ISO installation disk into an external disk partition (and not into a USB flash drive). How to do this?


More generally, how to write a bootable ISO to a disk partition with Windows?


Notes:



  • The latter is important because the main solutions of How do I place a bootable ISO on a USB drive? don't work: Rufus, for example, doesn't offer the possibility to do it on a hard drive partition (I just tried now, the "Device" list is empty ; when I insert a USB flash drive, here it works)


  • If possible, I'd like to install the bootable Windows 10 installer ISO into (bootable) Partition 2 of a disk. Partition 1 of the same disk is where Windows will be eventually installed ; once it will be installed, I will be able to delete this no-longer needed Partition 2.





Why to do this? Here's the reason: I've installed Windows many many times, but at the end it's always slow from a USB flash drive. A nice solution would be: put the ISO installer on Partition 2 of the actual disk where it's going to be installed, then boot on this Partition 2, and install Windows on Partition 1. Then you can remove Partition 2. It should be very fast, in the case it's a SSD for example.

motherboard - Could other hardware be responsible for bad sectors on my hard drive?



I have a Gigabyte P67A-UD3-B3 motherboard. There is a single hard drive (a cheap Seagate Barracuda drive) attached to it over SATA3, and AHCI is enabled in the BIOS. Recently, the drive started to encounter lots and lots of bad sectors and the reallocated sector count reported by SMART shot up to huge numbers. That problem exhibited itself in spectacular fashion, where the OS would rarely boot even though everything on the drive was still readable, and every tool I threw at the problem agreed the drive was doomed.



The hard drive was replaced by warranty and I used ddrescue to directly copy the old one. However, I just ran a self-test on my replacement drive, which I have had for about two days, and it is reporting a single reallocated sector. Now, I know one reallocated sector isn't necessarily a bad thing, but I'm worried to have bumped into this already after replacing a drive that failed for the same reason. Is it possible some other hardware is responsible for this?



(For what it's worth, the motherboard has failed me already, so I wouldn't mind blaming it and force-choking the thing to death).


Answer




You can try doing a full format. This will sometimes fix bad sectors. Also try http://crystalmark.info/software/CrystalDiskInfo/index-e.html for some more information about your drive. A bad controller should not cause bad sectors but could corrupt data. Most likely they sent you a refurbished drive that also is defective.


windows - Using wget does not give same output as browser



I am using wget for Windows (gnuwin32 wget-1.11.4-1) in Windows 8 and using it for a helpdesk tool called Kayako, telling it to poll from an email queue. The command line looks like this:



wget.exe -O null --timeout 25 http://xxx.kayako.com/cron/index.php?/Parser/ParserMinute/POP3IMAP



I know it takes around 20 seconds to receive a response from the server in my particular case when using a browser with the URL in the command line above. However, when using that command, it returns almost immediately. This is an excerpt of the output:




Connecting to xxx.kayako.com[xxx.xxx.xxx.xxx]:80... connected. HTTP
request sent, awaiting response... 200 OK Length: unspecified
[text/html]




I would like to know what would be the difference between the two cases and how could I get wget to behave in the same way as the browser (I know it doesn't because Kayako is not polling from the email queue).


Answer




Some websites offer browser optimized pages. That means the site checks on a request what kind of browser you are using and serves you with an optimized page or as a fallback a standard page.



Also java-script could be a problem see link


hard drive - Why do different manufacturers have different S.M.A.R.T value?


First of all, I think everyone knows that hard drives fail a lot more than the manufacturers would like to admit. Google did a study that indicates that certain raw data attributes that the S.M.A.R.T status of hard drives reports can have a strong correlation with the future failure of the drive.



We find, for example, that after their first scan error, drives are 39 times more likely to fail within 60 days than drives with no such errors. First errors in reallocations, offline reallocations, and probational counts are also strongly correlated to higher failure probabilities. Despite those strong correlations, we find that failure prediction models based on SMART parameters alone are likely to be severely limited in their prediction accuracy, given that a large fraction of our failed drives have shown no SMART error signals whatsoever.



Seagate seems like it is trying to obscure this information about their drives by claiming that only their software can accurately determine the accurate status of their drive and by the way their software will not tell you the raw data values for the S.M.A.R.T attributes. Western digital has made no such claim to my knowledge but their status reporting tool does not appear to report raw data values either.


I've been using HDtune and smartctl from smartmontools in order to gather the raw data values for each attribute. I've found that indeed... I am comparing apples to oranges when it comes to certain attributes. I've found for example that most Seagate drives will report that they have many millions of read errors while western digital 99% of the time shows 0 for read errors. I've also found that Seagate will report many millions of seek errors while Western Digital always seems to report 0.


Q: How do I normalize this data? Is Seagate producing millions of errors while Western digital is producing none? Wikipedia's article on S.M.A.R.T status says that manufacturers have different ways of reporting this data.


Here is my hypothesis:


I think I found a way to normalize (is that the right term?) the data.


Seagate drives have an additional attribute that Western Digital drives do not have (Hardware ECC Recovered). When you subtract the Read error count from the ECC Recovered count, you'll probably end up with 0. This seems to be equivalent to Western Digitals reported "Read Error" count. This means that Western Digital only reports read errors that it cannot correct while Seagate counts up all read errors and tells you how many of those it was able to fix.


I had a Seagate drive where the Read error count was less than the ECC Recovered count and I noticed that many of my files were becoming corrupt. This is how I came up with my hypothesis. The millions of seek errors that Seagate produces are still a mystery to me.


Please confirm or correct my hypothesis if you have additional information.


Here is the smart status of my western digital drive just so you can see what I'm talking about:


james@ubuntu:~$ sudo smartctl -a /dev/sda
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: WDC WD1001FALS-00E3A0
Serial Number: WD-WCATR0258512
Firmware Version: 05.01D05
User Capacity: 1,000,204,886,016 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Thu Jun 10 19:52:28 2010 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 179 175 021 Pre-fail Always - 4033
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 270
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 1468
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 262
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 46
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 223
194 Temperature_Celsius 0x0022 105 102 000 Old_age Always - 42
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0

Edit: Here is the Seagate drive that I was talking about that was causing data corruption. This data is from HDTune.


HD Tune: ST3250623A Health
ID Current Worst ThresholdData Status
(01) Raw Read Error Rate 45 38 6 77882492 Ok
(03) Spin Up Time 99 98 0 0 Ok
(04) Start/Stop Count 100 100 20 640 Ok
(05) Reallocated Sector Count 100 100 36 0 Ok
(07) Seek Error Rate 85 60 30 359872048 Ok
(09) Power On Hours Count 94 94 0 6028 Ok
(0A) Spin Retry Count 100 100 97 0 Ok
(0C) Power Cycle Count 100 100 20 689 Ok
(C2) Temperature 25 55 0 25 Ok
(C3) Hardware ECC Recovered 50 47 0 201555081 Ok
(C5) Current Pending Sector 100 100 0 0 Ok
(C6) Offline Uncorrectable 100 100 0 0 Ok
(C7) Ultra DMA CRC Error Count 200 199 0 1 Ok
(C8) Write Error Rate 100 253 0 0 Ok
(CA) TA Counter Increased 100 253 0 0 Ok
Power On Time : 6028
Health Status : Ok

The fact that the Hardware ECC Recovered is larger than the Raw Read Error Rate is counter intuitive in my opinion.


This is what I've found to be a "normal" seagate drive where the ECC Recovered matches the Raw Read Error Rate:


HD Tune: ST380011A Health
ID Current Worst ThresholdData Status
(01) Raw Read Error Rate 62 46 6 79986164 Ok
(03) Spin Up Time 98 98 0 0 Ok
(04) Start/Stop Count 100 100 20 6 Ok
(05) Reallocated Sector Count 100 100 36 0 Ok
(07) Seek Error Rate 83 60 30 210309663 Ok
(09) Power On Hours Count 93 93 0 6516 Ok
(0A) Spin Retry Count 100 100 97 0 Ok
(0C) Power Cycle Count 99 99 20 1325 Ok
(C2) Temperature 25 52 0 25 Ok
(C3) Hardware ECC Recovered 62 46 0 79986164 Ok
(C5) Current Pending Sector 100 100 0 0 Ok
(C6) Offline Uncorrectable 100 100 0 0 Ok
(C7) Ultra DMA CRC Error Count 200 188 0 18 Ok
(C8) Write Error Rate 100 253 0 0 Ok
(CA) TA Counter Increased 100 253 0 0 Ok
Power On Time : 6516
Health Status : Ok

EDIT:


I want to clarify that I know that Google generally considers S.M.A.R.T useless. I know that everyone should backup their data. I am however in the business of fixing other peoples computers. Most people do not have backups or have RAID. It is not cost effective for corporations to troubleshoot hard drives, so they just run them on a RAID until they die. I find it useful in my line of work to check the SMART status of the hard drive. It takes like 30 seconds. If I am lucky enough for a bad drive to show a hint of failure such as scan errors or reallocated sectors, I know to get the drive the heck out of there. If no such hint exists, I'll probably spend many hours troubleshooting slowness and data corruption until I finally find that the hard drive is bad.


I'm just trying to fine tune this process.


Answer



It does appear that different manufacturers use SMART values for sometimes radically different things, as you can see here:



My hard disk(s) in ReadyNAS is reporting high SMART Raw Read Error Rate, Seek Error Rate, and Hardware ECC Recovered. What should I do?


Seagate uses these SMART fields for internal counts, so this is a known issue with Seagate disks. Look for abnormal counts in other fields, especially Reallocated Sector Ct and ATA Error Count.



So when it comes to your actual question ...



If I am lucky enough for a bad drive to show a hint of failure such as scan errors or reallocated sectors, I know to get the drive the heck out of there. If no such hint exists, I'll probably spend many hours troubleshooting slowness and data corruption until I finally find that the hard drive is bad.



I'd say a good rule of thumb is, you can only expect SMART settings to be comparable within the same drive manufacturer, and maybe even the same drive model!


So when you're looking at diagnosing those SMART counts, keep that in mind... one manufacturer's "read error retry count" may mean something totally different than another manufacturer's. Sad but true. :(


Saturday, September 22, 2018

windows 7 - You don't currently have permission to access this folder

I'm trying to understand an error on Windows 7 Professional Edition:




You don't currently have permission to access this folder





This error shows two buttons, Continue and Cancel. The folder is C:\windows\system32\tasks, but it could be any system folder.



I'm in an Admin account. I click Cancel, open Explorer and check effective permissions on C:\windows\system32\tasks for the Admin account.



Everything is checked.



So why do I get the "You don't currently have permission to access this folder" error when trying to open the folder?




And what permissions does the Continue button set that hasn't already been set?



Just trying to understand how this works, and eventually to set permissions on a task so a non-privileged user can run it.

Are the downloads from Windows Store resumeable



I am downloading windows upgrade. Its 2.xxGB (I don't remember right now, and neither is it being shown there) and anytime I will have to go to sleep as its almost night here, so I wanted to ask, are the downloads there resumable? I have searched Google, but the results are for Download Manager of IE :/



Any guess about it?



Answer



yes it is resumable.
download can be cancelled for now and when it is restarted from install link on home of windows store it will resume.


File/folder permissions and groups on Linux with Apache

I'm trying to learn about permissions on linux webserver with apache.


Some clues to the system:
The server I have to play around with is Fedora based. Apache runs as apache:apache. To allow for e.g. php to write to a file the file needs to be chmod 777. 755 is not sufficiant.


What I'm wondering is basically how set up permissions like they should be on e.g. a "shared web host".


My main problem is that if I set a permission so that one user cannot access anothers home folder, then apache can't read from the public_html folder either.


To keep the users out I need to set chmod 700. But to let apache to read I need to have at least execute on world, so a 701 basically works, but won't let some users in.


So I'm really stuck on what to do. Have been concidering adding the apache user to the frous grours below to avoid having to add the world execute flag, but is that a bad thing? Should it be the other way around, the users in the groups below should also be in the apache group?


I was aiming at having 4 groups:


1. webapp
same as dev_int, but is the only one that can go inside the webapp/live folder to e.g. do an update from the repo.


2. dev_int
can read,write and execute everything in the "web root", including the two below, but nothing outside of the web root


3. dev_ext
can read write and execute in all client folders, but cannot access anything outside of the webapp root


4. clients
Basic ftp accounts. Has a home folder with a public_html, but cannot access any other home folders


An example of folder structure:



  • webroot    no users in the aforementioned groups can go outside of here

    • some_project    :dev_int only

    • webapp

      • live    :webapp only

      • staging    :dev_int and :dev_ext

      • clients    :dev_int and :dev_ext

        • client_1    :dev_int, :dev_ext and client1:clients

          • public_html




    • dev

      • developer_1    developer_1:dev_int OR :dev_ext

        • public_html




macos - Can't access Leopard (Mac Mini) from Snow Leopard (Macbook) - Remote Management & File Sharing



Solved - It was my router, that had some issues routing this traffic in between Wired & WiFi connections. When I switched both to WiFi, it worked right away.



Problem - Can't access Mac Mini's shared folders and screen via the Macbook




Problem Machine - Mac Mini running 10.5.8



Test Machine - MacBook running 10.6.7



This is an odd support request for me. I have never ever had this issue with my macs. Currently running Lion, Snow Leopard, Leopard on MBPs, MBs, Minis & a Hackintosh box as well. Everything has worked flawlessly forever.



However, I suddenly had to reformat a hard disk on my mac mini and I decided to try out Leopard (for reasons I forget & most likely will upgrade to SL tomorrow). Now I can't access Remote Desktop or share files with that box via any of my devices. I have tried all the usual stuff - Connect As, Change permissions -> no permissions, checked net connections, wifi -> wired, cleared nvram blah blah. Everything anybody has mentioned I have done.



At this point, I am ready to move to SL but just for the sake of knowing what could ever go wrong, I wanted to figure this out. Any help is appreciated.




Thanks.



Update: So as it turns out, I can use Screens (iPad app for VNC) to access my mini's desktop. But I can't seem to get it going on my SL machines yet. I tested my SL macbook to remote control other boxes & it works flawlessly.



ScreensScreenshot


Answer



1) Look in System Preferences/Sharing.
2) " " " " /Security.
3) Into which disk format did you reformat the Mac mini and why?

4) What does System Profiler tell you about the network?
Regards
Paul


uac - Deploying Windows Service through group policy fails with Event ID 102

I'm trying to deploy a custom Windows Service (written in C#; installed through a VS setup project) using a group policy. To help debug this, I also have two additional MSIs in the same policy. All three packages are deployed as a machine policy, not a user one.



  • On one machine (runs Windows Server 2008; no UAC), all three deploy fine. The service is set to Automatic, as expected.

  • On two machines (run Windows 7; UAC), the two other MSIs deploy fine, but my service fails to install. The event log gives an event ID of 102, which appears to be a permissions problem:



The install of application "Package Name" from policy "Policy Name" failed. The error was The installation source for this product is not available. Verify that the source exists and that you can access it.



However, all three packages come from the same share linked through UNC, so this is unlikely. My guess is that UAC is the problem; that the service requires additional permissions. Do I need to alter the MSI somehow?

Super/win key not working on Linux and Windows

I have both Linux and Windows systems on my machine. Everything was going ok, but yesterday my super/win key button stopped working after restarting the computer and changing in BIOS the fn key options (so that i didn't have to press it to use the functionality of f1..12). I tried to check it on Windows 10 OS but it didn't work.

Group Policy settings for the Windows Firewall are sometimes ignored on startup

We deploy our Windows Firewall settings (among other security settings) as local policies to our machines. They are not part of a domain. There is a weekly restart configured for each machine, combined with a chkdisk.


The problem is, that on some machines the firewall settings when the service starts are NOT loaded from the Group Policy - the local settings and rules are used (which we do not desire). This only happens occasionally and the problem is not reproducible reliably. When I check the configured Group Policies on the machine where the local settings were used instead, everything is set correctly.


How does the Windows Firewall service determines if it should load the rules and settings from the Group Policy or from the local settings? Are there known bugs or race conditions regarding the Group Policy service and the Windows Firewall service or has anybody else encountered a similar problem? Is it possible that the chkdisk interferes with the policies?


The workaround would be that we set the local settings to be a copy of the policy settings, but I would like to understand what the cause of this problem is.


The event log entry looks like this (these settings are taken from the local settings, not the ones defined in the Group Policy - although they are defined!)


The following policy was active when the Windows Firewall started.
Group Policy Applied: No
Profile Used: Public
Operational mode: On
Allow Remote Administration: Disabled
Allow Unicast Responses to Multicast/Broadcast Traffic: Enabled
Security Logging:
Log Dropped Packets: Disabled
Log Successful Connections: Disabled

text cursor - Can Notepad++ remember line position?

I have TextPad on my home computer, but I can't use that on my work machine. It has an option where it remembers cursor position in certain cases. Here's an example:


  • text one

  • text two is longer


  • Let's say I put my cursor after the first LI and started typing


  • text one

  • text two is longer


  • In TextPad, if I hit the down arrow, the cursor will snap back to be after the second LI, so I can immediately type (or paste) the same class. But in Notepad++ the cursor will simply end up after the n in longer, and I have to click or backtrack to get back to the LI tag.


    Is there any option in Notepad++ to replicate the TextPad behavior?

    Friday, September 21, 2018

    Is it possible to update from Windows 8 Enterprise to version 8.1 without having to reinstall the OS?

    Today we are told that the 8.1 update, (a version which allows you to keep apps, settings, and files), is officially being rolled out worldwide. No longer will you have to do a clean OS install, to go from 8 to 8.1.


    But I don't see the update inside my (Enterprise's) desktop 'Windows Update' program, and furthermore, Microsoft themselves say:



    If you’re running [Enterprise], you can't install the free update to Windows 8.1 or Windows RT 8.1 from the Store.



    However they DO also say:



    If you installed Windows 8 using an MSDN ISO, you might be able to install Windows 8.1 using a similar ISO from MSDN



    But it does not specify whether this method allows seamless apps and settings-retaining upgrading or not.


    Is there a method for doing it (whether official or unofficial - perhaps confirmed via experience of updating with some sort of Enterprise 8.1 ISO), or is an update indeed expected for the Enterprise version via the desktop 'Windows Update' program?


    A further observation which may help: the page I cite refers to the 'Windows Store', which is the 'Modern UI' app store and NOT the desktop 'Windows Update' program which typically updates desktop Office and desktop Windows alike.

    After Windows 1709 update (Fall Creators Update), there are "corrupt files not fixed" when running sfc /scannow

    I have run sfc /scannow periodically ever since getting this laptop in March, and it never comes up with any errors. However, after the latest 1709 update (Fall Creators Edition) of Windows installed, I have been getting the message "Windows Resource Protection found corrupt files but was unable to fix some of them..." I was also having problems with the mouse and keyboard being completely unresponsive at times (I discovered that closing the lid and putting it to sleep, and then opening the lid again and waking it up made the mouse and keyboard return to normal), and also a blue screen - both problems that I had not had before the 1709 update.


    I decided to re-install Windows, but I was concerned about losing some programs that came with the computer that weren't Windows programs, and therefore would be lost with a Windows re-installation (like the program that controls the backlight colors, which is nice). So I did a "Reset this PC" instead, but after doing so, I found that the "Windows Resource Protection found corrupt files but was unable to fix some of them..." error message was still there upon running sfc /scannow.


    I've tried a different method - using the Media Creation Tool to update, as opposed to installing the update through Windows Update (which is what resulted in all the problems starting in the first place), but the same error appears when running sfc /scannow.


    I tried a different method, going back to a back-up I made using AOMEI Backupper a few months ago (July), which was still under the 1703 update. After reverting to that disk backup, I then did the "Reset" again and then ran sfc /scannow - and it showed that no errors were found. However, I realized that the "Reset" resulted in a "clean" version of the 1703 update - not the 1709 update - being installed. So then I tried using the Windows10Upgrade9252.exe that I downloaded from the Microsoft website which installs the 1709 update itself, instead of using Windows Update or the Media Creation Tool (which had both resulted in the sfc /scannow error message). Again, after the 1709 update finished installing, the same error message appeared in sfc /scannow.


    I've tried running "DISM /Online /Cleanup-Image /CheckHealth", "DISM /Online /Cleanup-Image /ScanHealth", and "DISM /Online /Cleanup-Image /RestoreHealth" - and then running sfc /scannow again, but it's still the same error message. I've tried running sfc /scannow in Safe Mode, but it's the same error message.


    I see that others have also had problems after the 1709 update installed on their computers, but I don't think I've found any solution that applies to my particular problem. I don't know if this sfc /scannow error message is happening for everyone who installs the 1709 update, or if it's just me. Perhaps it's an issue with a new Windows build that they will fix eventually?


    If anyone has any ideas on how to fix this problem - or if anyone can tell me whether this is "normal" to have this error message - I would greatly appreciate it.


    Thank you all.

    64 bit - Is there any benefit from installing Windows 7 64-bit when you have less than 4GB of RAM?


    I've recently purchased Windows 7 Ultimate. I have an AMD Athlon64 X2 5000+ with 2GB DDR2 RAM. I know RAM has gotten much cheaper, I know, I know, but I am not going to be able to upgrade my RAM for about a year.


    My question is obviously this; will I get any benefit from installing 64-bit Windows over 32-bit if I'm only using 2GB of RAM?


    As I understand, the minimum requirement is 2GB & max is 192GB so if the minimum for 64-bit is 2GB & the minimum for 32-bit is 1GB will I lose performance if I chose to install 64-bit at it's minimum requirement over 32-bit whose minimum is half the amount?


    I would like to install the 64-bit edition if only because it's the future. 192GB of RAM! that's incredible! Plus I've heard it simply performs better. But that is with a larger amount of RAM.


    I've tried to make this question as easy to decipher as possible. Any advice would be greatly appreciated.


    Answer



    I see only three potential benefits:



    • 64-bit applications can grant you a performance boost, when higher numerical precision is needed. If you are only using your PC for stuff like Firefox or iTunes, you probably won't get a boost but if you are using some scientific or higher-demanding applications, it is definitely the way to go.


    • Drivers are usually more stable since Microsoft requires 64-bit drivers to be certificated which does mean that at least some stress testing was done. 32-bit Windows do not have that requirement so manufacturers tend to be cheap. Unfortunately this also means that new drivers are usually first available for 32-bit version and 64-bit version may come little bit later.


    • If you are developer, it may be useful for testing your application in 64-bit environment. When you have 64-bit Windows, you can test both 32-bit and 64-bit behavior.



    Personally, I would stick with 32-bit Windows in this particular case unless you have very good reason.


    networking - SSH+ SOCK Proxy vs VPN


    Basically I want to route all my internet traffic (http,https) out to another network (hosted network) and make it encrypted to the end node(hosted network). I can do this right now via SSH> Port forwarding & Socks on Firefox/other application.


    But lets say I want to do it LAN wide. I would ether need to route all TCP/UDP traffic to the SSH Server which will forward the traffic through socks proxy, right?


    Or I could use a VPN, right? However here's the kicker and reason I do not want to use a VPN. Some of the traffic I don't need encrypted. Example I don't need rdp or sftp traffic encrypted. Thus hints why I am only trying to encrypt "internet" traffic (http/https protocol) traffic.
    Could I limit what type of traffic is routed via VPN? I guess as long as my router comes before my VPN client I can tell which traffic for the client to listen to ?


    Answer



    In line of principle you can do whatever you like. For instance, if your router is a Linux pc, or has as an OS DD-WRT,OpenWRT, or Tomato, you can build an OpenVPN which connects to the remote network, but only forwards HTTP/HTTPS traffic (or whichever port you are using). The advantage is the centralized control: one single installation covering all of your machines, even those, like an Xbox, over which you have no control.


    But, on the other hand, using a similar trick (see later), you can do the very same with SSH+Socks. So, it is really up to you.


    The trick is to have two routing tables, using what is called policy/source routing. You can have a routing table for the OpenVPN connection, and another routing table which is your usual table without the VPN. You find a concise but sufficient intro to the topic here.


    The whole trick is choosing, as the rule to choose which routing table to apply, on the basis of the destination port: if the destination ports are 80 or 443, then choose the routing table thru the VPN; otherwise choose the traditional routing table.


    It's fun and easy, it is just a bit of work.


    macos - How to download big file with chrome on Mac OSX?


    If I try to download a big file on unstable connection/server (XCode 4) Google chrome simply "stops" downloading on first network error so I have a first 1-2-3 gigabytes of file and chrome thinks that download is finished.


    Unfortunately, I need to download an entire file, so I need a more advanced download tool like a wget. But there comes a problem: most URL's currently on the web is not a direct URL but multiple "redicrect" pages that utilize complex javascript in order to generate next url and redirect browser to it. Chrome handles such things ok, but if I try to supply such URL to wget it will download some "intermediate" page as a file - not a file itself but an HTML page with complex redirect javascript.


    is it any way to get a direct URL from chrome or to somehow discover it so I can use it with wget? Maybe it's some avanced download manager integrated in chrome that I just need to install? I use MacOS X 10.6.6 and latest Google chrome.


    Answer



    The actual path to the downloaded file is stored in the file's metadata when downloading using Safari. Open the file's Get Info dialog to see it.
    enter image description here


    I'm not sure if it also applies to Chrome.


    Thursday, September 20, 2018

    windows 7 - No signal to monitor after uninstallation of display driver

    I was on the Sony website trying to get the latest display driver for my Sony VAIO laptop. Their instructions told me to uninstall my display driver through add/remove programs in the control panel and to reboot then visit the website and install the latest driver.



    Easier said than done, after the uninstall my laptop won't display on the monitor anymore. (My 5yr old dropped my laptop and broke the screen 2 months ago, so I've been using a monitor to display the image ever since.) Even in safe mode the monitor gets no image, although after pressing f8 repeatedly I do hear the windows start up sound.




    My model number is VPCCW21FX the video card is NVIDIA GeForce 310 M and my OS is Windows 7 Home Premium 64-bit. I just want to know how to display the image on my monitor so I can install the latest driver and finish the process but I can't see anything since it's broken.

    macos - Missing the first character of a line on full screen apps on Linux server ssh'ed from OS X Terminal


    enter image description hereI am having problems with the Terminal application on Mac OS X Snow Leopard.


    I use ssh to connect to a remote Linux server and perform configuration file editing.


    For some reason, it sometimes misses characters when it's connected to the Linux server. I have had problems pinpointing this and making it happen in a repeatable manner - unfortunately this is the best method I have come up with it:



    1. Connect to Ubuntu 8.04 server


    2. Edit some text file with nano (full screen app)


    3. The first line of the text file is missing the first character of the line (the leftmost character). E.g. if the text file contains line "asdf" you'll see "sdf".


    4. If you move the cursor to this position the character will be back there (the line is redrawn by nano)


    5. Resizing the Terminal app window does not bring back any characters


    6. If you hit refresh (CTRL+L) in nano the characters will be lost again



    The same problem can be observed with less and some other terminal apps.


    The problem is not repeatable with the Gnome terminal or other terminal application, so it cannot be related to the server configuration. However, I have the same problem on two different OS X installations, so it might be linked to my default settings.


    I suspect this might be related to UTF-8 encoding or Terminal settings somehow, but I have not yet managed to figure out which setting triggers it.


    The used ssh client is:


     OpenSSH_5.2p1, OpenSSL 0.9.8r 8 Feb 2011

    Edit:


    This is actually repeatable on local OSX too and not tied to Ubuntu.


    Installed Macports (not sure if needed) and using the following GNU nano to edit text files::


    GNU nano version 2.0.6 (compiled 11:42:28, May 18 2009)
    Email: nano@nano-editor.org Web: http://www.nano-editor.org/
    Compiled options: --disable-nls --enable-color --enable-extra --enable-multibuffer --enable-nanorc

    The following terminal related environment variables are set:


        TERM=ansi
    TERM_PROGRAM=Apple_Terminal
    TERM_PROGRAM_VERSION=273.1

    In Terminal.app it says the emulation is ansi and encoding UTF-8.


    Not stil sure which is the triggering combiation (which Terminal mode, etc.)


    Answer



    Looks like Terminal is just buggy.


    I recommend using iTerm 2 instead.



    iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with Leopard, Snow Leopard, or Lion. Its focus is on performance, internationalization, and supporting innovative features that make your life better.



    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...