Thursday, August 24, 2017

Relation between RAM usage in Task Manager Processes and Performance

Is the amount of ram shown in the performance graph, 5.5 GB in my case :


enter image description here


the sum of the ram used by programs shown in processes :


enter image description here


Somehow I find it hard to believe that those 6MB will amount to 4GB and when I close firefox for example it seems the graph in performance falls down by much more than 830MB.


Is it just an impression, or are the values in Task Manager/Processes systematically lower than real usage ?


Edit.: Here is also the RAMMapp. Paging file is still disabled.


enter image description here

Missing disk space in Windows XP

On my mother's Lenovo laptop, Windows XP claims that the hard drive is almost full. According to the properties window, 52.7 out of 55.2 GB is in use:


Drive C properties


By deleting temp files from Internet Explorer, System Restore, Recycle bin, Windows Update, System Cleanup, I managed to free up about one GB. That's still > 50 GB in use, which still is a lot more than I expected. Hence, I gave good old WinDirStat a spin, and here's the output:


WinDirStat


It might be hard to read here, but the first line says that the total amount of disk space in use on drive C is 24.3 GB. So Windows claims usage of 52.7 GB and WinDirStat can only account for 24.3 GB. Where is the other half of that disk space being used?


I hope someone has an answer, or some tricks or tips to do further research.




UPDATE: The laptop in question has an SSD hard drive. I am aware that these disk (at least the earlier ones) have a limited life-time. Could the symptoms described be caused by wear and tear on the SSD?

How to find and replace line(s) in multiple files using Notepad++?



I have been messing with notepad++ for a bit now and am confused as to how to go about doing this:



I have a line in multiple files (Within a root directory) that I am searching for. Example:




Brittany (File 1)
PeopleSleptWith 2
Tiffany (File 2)
PeopleSleptWith 4
Bonqueesh (File 3)
PeopleSleptWith 3456
.
.
.



My goal is to replace all of the PeopleSleptWith lines with a constant (I.E. PeopleSleptWith 7) but when I search and replace in multiple files, it does not remove complete line, which results in:



Brittany (File 1)
PeopleSleptWith 7 2
Tiffany (File 2)
PeopleSleptWith 7 4
Bonqueesh (File 3)
PeopleSleptWith 7 3456



When in reality I want:



Brittany (File 1)
PeopleSleptWith 7
Tiffany (File 2)
PeopleSleptWith 7
Bonqueesh (File 3)
PeopleSleptWith 7



So how do i go on about finding a string, removing everything within that line, and replacing it with another string?


Answer



Using Notepad++ to find a string on a line in a file, and replace that entire line with the match with another string




Instructions



Open Notepad++ and press
Ctrl+F and then from the Find in Files tab options.




Now you'll...




  1. Put the string in the regex format of the Find What:
    ^.*(PeopleSleptWith).*$




    • The string will go between the "()" parenthesis just as shown above in #1



  2. Put the 5 spaces and then the Replace with: PeopleSleptWith 7 string


  3. Put the Filters: as *.* or *.txt or whatever you are replacing file type wise

  4. Put the Directory: where you want it to be (the root folder)

  5. Check the Regular expression option

  6. Select Replace in Files

  7. Check the file(s) and all should be correct now



    enter image description here





Wednesday, August 23, 2017

windows 7 - Can't shrink partition due to mystery file

My system came with win xp. I installed Win7 in a separate partition, volume E. That was a while ago. I don't need xp anymore and now I want to shrink the C partition so that I can grow E. I deleted most files from C but since the boot manager is there I'm not totally deleting the partition. However I cannot shrink the partition because of a system file that's at the end. FSUTIL reports that the file name is "$LogFile::$DATA". I can't find it using any method I know of, I don't know what it is, but I want to get rid of it. What is it, and how can I delete it or otherwise shrink the partition?
Here's what I have now:


pic1
pic2

Deleted Recovery partition on Dell XPS 13. Now unable to boot into windows 7


Mine is Dell xps 13 ultrabook shipped with windows 7. I thought of installing ubuntu, so I unknowingly deleted recovery partition, formatted it and installed ubuntu. Now ubuntu is working fine. But in grub, I am not able to see windows. So I followed this tutorial How to Manually Repair Windows 7 Boot Loader Problems - How-To Geek to fix my windows. But it didnt work


In second screenshot, Windows 7 option didnt appear. I clicked next and did Startup repair which didnt help and then went to command prompt to execute the two commands


bootrec /fixmbr


bootrec /fixboot


The first command executed successfully but the second command gave me an error "the volume does not contain a recognized file system"


How can I recover my windows . Please help. I need windows badly


Thanks!


Answer



Finally got the solution. In case if someone else also faces similar problem, here is the solution


1)Some times system repair may not work


2)Its because C partition may not be active - In my case atleast this happend - so fix is - First make it active - http://www.sevenforums.com/tutorials/71432-partition-mark-active.html


3)Now try system repair. It works :)


So be careful while deleting recovery partition. If you delete it, make the main partition active and then try system repair.


Thanks guys :)


I just shared all my dual booting experience here - in case - it can help some one - http://rajeshksv.blogspot.in/2012/10/how-to-fix-dual-booting-issues-windows.html


wordpress - GCP compute Engine SSH permissions Issue

Hi Everyone i've been banging my head against this issue all day and all the solutions seem to be tackling different SSH issues.



My goal is to connect using FileZilla sFTP into my Google Compute Engine. I'm running a wordpress site there and I need file edit access.



In Terminal When I run :




root@wordpress-1-vm:~# gcloud compute ssh wordpress-1-vm



I get this error:



ERROR: (gcloud.compute.ssh) Could not fetch resource: - Insufficient Permission



I'm using Root user, but I also get this with my personal User which has OWNER access.



What I've tried:




I have payment set up, no problems
I've checked my IAM settings, my user is an Owner. I also added Admin access to compute Engine
I updated the File Permissions to '777' Mentioned HERE
I also get this same error when using Terminal on my local machine, or browser SSH connection from google cloud

windows 10 - Why does installing GeForce GT 730 1GB graphics card steal RAM?

I just installed this card and now system memory says 4GB RAM (only 3.19 usable). Is it not using it's own one GiB of RAM?


I'm running Windows 10 32 bit OS. 64bit processor.


GeForce 6100PM-M2 Mobo


Resource Monitor says 833MB reserved....

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