I cannot shrink Windows 7 OS partition because of some unmovable files. I was wondering how to identify these files, so that I might be able to search ways to move these files elsewhere. I read this post, but don't understand how to identify. Thanks and regards!
Saturday, August 19, 2017
Windows 7 - RCA audio to audio adapter
My monitor has RCA audio male inputs and my PC has standart audio input. I want to connect the PC and the monitor in order to use the monitor's volume.
I have not done this before, so what I am doing maight be wrong.
So, I have look trought all "strange" cables that I have in my PC box and there was no cable that can connect the PC and the monitor. A quick resarch in the internet point me to RCA to audio adapter, in my case "male to two males":

Unfortunatelly, this is still not doing the trick. Can anyone advice what can I try?
I am using windows 7.
EDIT 1:
My audio card is build-in (Intel G-Series).
My monitor model is LG M2752D LG.
I am able to use the an second RCA female adapter with 2 colons. So, I gues the problem is the monitor.
EDIT 2:
In the monitor tenichinal specifications is said:
Audio is catered for by two 5-watt speakers. There's an audio
mini-jack for inputting audio from a PC connected via VGA or with a
DVI-to-HDMI cable. Plus, if you use the component connection, two RCA
ports are on hand for the audio signal.
Firstly, I have try to do this using the RCA ports. As I was able to get sound using the other RCA female adapter with sound colons directly to the PC, I am pretty sure the issue is not due to the computer.
After that, I get one DVI-to-HDMI cable. I was able to get picture (only have to change the resolution) but again no sound. So, I guess the DVI-to-HDMI is working, I just have to do something other to get the sound working too.
windows 10 - PC won't wake up from sleep
The OS is Windows 10 with hibernation completely disabled through command line. Yet, the PC still won't wake up from sleep when Wake History Count more than 0.
When my computer goes to sleep for the first time since it was started, the led light on the tower is blinking and it wakes up perfectly upon mouse move or any key press. However, when the computer goes to sleep for the second time, the led indicator goes off and PC does not react to the keyboard or mouse. When I press power button the led light goes on, and fans start, but PC still won't wake up, neither by keyboard/mouse, nor power button press. I have to unplug it for some time in order to turn it on.
Here's the wake_armed command result:
$ powercfg -devicequery wake_armed
HID Keyboard Device
NVIDIA nForce Networking Controller
HID-compliant mouse
Here's power settings:
EDIT:
Here's the result of powercfg /energy test:
How to redirect all traffic except SSH to one local port with iptables
Host OS: Ubuntu 16.06 LTS
I have my server listening on port 1233. I have to redirect my all TCP and UDP traffic to port 1233 except the SSH port. I successfully redirected my all ports to 1233 with the following IPTable rules.
*filter
:INPUT ACCEPT [89:12442]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [114:10536]
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
COMMIT
*nat
:PREROUTING ACCEPT [2:64]
:INPUT ACCEPT [2:261]
:OUTPUT ACCEPT [8:524]
:POSTROUTING ACCEPT [8:524]
-A PREROUTING -p tcp -m tcp -j REDIRECT --to-ports 1233
-A PREROUTING -p udp -j REDIRECT --to-ports 1233
COMMIT
I have also added a rule for the SSH port, but I could not successfully establish an SSH connection with my server because PREROUTING chains will execute first. After searching, I found a lot of questions that look related to this, but not a single one covered this scenario.
You might be wondering about the use case of this type of implementation. It's a honeypot server and our idea is to set up the honeypot to listen for all traffic except SSH. I know I could define a range of ports or use the multiport facility of iptables, but I have to redirect my all ports except 22.
Answer
My SSH was server listen at port 22. I got success with the following IPTables rules.
iptables -t nat -A PREROUTING -p tcp --dport 1:21 -j REDIRECT --to-port 5000
iptables -t nat -A PREROUTING -p tcp --dport 23:65389 -j REDIRECT --to-port 5000
iptables -t nat -A PREROUTING -p udp -j REDIRECT --to-port 5000
service iptables-persistent save
service iptables-persistent reload
Friday, August 18, 2017
Shadow Copy nightmares with Windows 7 + SSD
My backups act horrible. It will sit for 20 minutes, locking up the machine attempting to do a shadow copy. When I look at the event logs, it is loaded with the error:
Volume Shadow Copy Service error: The I/O writes cannot be flushed
during the shadow copy creation period on volume
\?\Volume{621eaee6-beb3-11e0-a305-005056c00008}. The volume index in
the shadow copy set is 0.
Error details:
- Open[0x00000000, The operation completed successfully.],
- Flush[0x80042313, The shadow copy provider timed out while flushing
data to the volume being shadow copied. This is probably due to
excessive activity on the volume. Try again later when the volume is
not being used so heavily.],
- Release[0x00000000, The operation completed successfully.],
- OnRun[0x00000000, The operation completed successfully.].
Operation: Executing Asynchronous Operation
Context: Current State: DoSnapshotSet
I'm not 100% sure how to interpret this, but some sources online seem to suggest I expand the system partition from 100MB to 300MB. However, I couldn't figure out how to perform that operation. I'm pretty lost!!
I skimmed through this article and noticed that my C: boot drive is not marked as active (although my system reserve partition is). Does that have any bearing on things?
This is all occurring on my 120 GB Intel 510 SSD.
How can I perform a shadow copy/get this darned backup working??
Answer
The very first try should be to make sure that Windows is not right and confirm that your SSD is really idle. See the answers to this question for some suggestions (not the answer I posted there :-)
Secondly, try to disable your Anti-Virus and try again. Some AV programs can be so slow scanning files Windows thinks that the disk is too busy (we had one case with a program from a company starting with F-).
Finally, for a Windows XP I used the description to re-register all VSS components (as described here, for example). But I don't know if these components are still working for Windows 7.
hard drive - Laptop boots - Windows taking hours to load - unusable
I have a friend's Asus X54 L laptop that Windows 7 (64-bit) suddenly stopped loading correctly on.
Windows loads a little slowly to the login screen, I login, then it takes hours just to get to the background. The screensaver kicks in occasionally.
I can boot into safe mode just fine, but not with networking. Safe mode might be a little slow, but it is difficult to tell. Otherwise, it is usable and functional in safe mode. Safe mode with networking experiences the same slowness as a regular boot.
Would a dying HDD have symptoms like this? I have run chkdsk - all came back normal. Malwarebytes and SuperAntiSpyware quick scans in safe mode both came back clean.
I have turned off all startups in msconfig, and that didn't change anything.
I have run Windows Memory checker, and that also returned no problems.
I have run Autoruns but couldn't really see anything useful to me (not experienced with it though).
I have tried several system restores to no avail. There are 3 system restores available, 1 was automatic, 1 was related to the "Windows Module Installer", and 1 was from the "Language pack removal".
Finally, I have tried to load an Ubuntu Live CD (on my USB stick). I have done this successfully with many computers, but I get an error on this one most of the may through the loading sequence: 
Specs:
Graphics: Intel integrated graphics
CPU: Intel Core i3 2.20 GHz
Ram: 4GB
OS: Windows 7 64-bit SP1
HDD: Hitachi HTS547550A9E384
Can anyone give me some suggestions as to what the problem may be? My reading suggests HDD going bad, but I hope for the opinion of someone with some expertise.
EDIT TO ADD: I also note the BIOS will not save my boot priority settings. I have 3 times now set it to boot to USB, then CD, then HDD. It has reverted every time to the default, which is reverse of that order. No idea if it is relevant, but there it is.
EDIT 2: As per XXL below, I have added some screenshots of my S.M.A.R.T. tool.

The two images above are the full view of the Health tab.

This image (above) shows Disk Monitor running for over 6 minutes.

This image (above) Shows the results of a benchmark test.

The above image shows the results of a Random Access test.
I honestly don't know if these have helpful information, but this computer is not usable in it's current state. I appreciate any help I can get!
Answer
I have a solution! I had previously turned off all startups, but I had not turned off services. So I turned off all non-Microsoft services, and the laptop booted fine!
The last service in the list was the first one I turned back on, and it immediately would not boot correctly again. I turned that service off from safe mode - the laptop booted just fine again.
The offending service? "WRSVC", the service for Webroot SecureAnywhere. I have no experience with this program, but my research tells me it is at least a legitimate tool.
But that means the program only causes problems when the service is enabled. If I start the program manually after boot, it works fine. What would cause such behavior?
networking - Computer wakes up when called by ip
I have a Z97 motherboard from ASUS (windows 10), setup to work with wake on lan in uefi and windows settings:
- In the uefi settings I enabled wake on pci express from APM settings
- in windows, device manager, network cards, it's checked to only wake on magic PACKET, not pattern (pattern is disabled)
problem is, i can wake it up by simply calling the ip address
No wake on lan packets are sent. I just do a node js script that calls the ip of the computer and it powers on the pc
I did check with the powercfg utility to see if there are any armed devices and such, only the NIC is armed (which is should be for wol to work). also, -lastwake option doesn't say anything (wake history count - 0)
Other patterns that I noticed:
- if I shutdown windows -> run script -> powers on by ip
- if I shutdown windows -> turn off PSU -> turn on PSU -> run script ->
DOES NOT power on by ip. it DOES power on by wol (which is good)
I'm thinking if maybe there's something wrong with how windows shuts down the computer? I did try the "complete shutdown" using a shortcut for "shutdown /s /t 0" with the same result though.
just for infos, the script i'm running is this, so nothing fancy:
var request = require("request");
request({
url: "http://192.168.1.9/",
body: "",
method: "GET",
timeout: 3000,
}, function(error, response, body) {
console.log('done');
});
not sure what else i could try
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...
-
I needed to resize my Boot Camp partition so I used Gparted to move and resize it. This seemed to work, except that now I can't boot int...
-
My webapp have javascript errors in ios safari private browsing: JavaScript:error undefined QUOTA_EXCEEDED_ERR:DOM Exception 22:An...
-
I would like to use the jquery autocomplete function on a field of a form collection. For example, I have a form collection that got those f...

