Skip to main content

Posts

Showing posts from December, 2016

windows 7 - Enable hidden hardware virtualization settings

I am trying to get the Windows XP emulation up and running on my new Windows 7 Professional installation and I found out that you need to enable hardware virtualization. I have a HP Media Center PC m7428n, I checked and it has an AMD Athlon 64 X2 4200 processor which should be able to handle hardware virtualization, but the BIOS setup has no option for it. I checked around and most people have said the HP often hides certain BIOS settings. Is there any way to get around this and enable it anyway? Answer Although many sources claim that virtualization works on your model, it's not an absolute certainity. According to wikipedia , the Athlon 64 X2 4200+ has two models with part numbers ADA4200DAA5BV or ADA4200BVBOX. This seems to be a confusion - there seems to be only a single model. The site products.amd.com elaborates some more, detailing both the above numbers, but calling them rather OPN Tray ADA4200DAA5BV and OPN PIB ADA4200BVBOX . It also says "Virtualization : No"

Copy to another NTFS disk and preserve hard links

I have to copy directory structure from one local NTFS disk to another (Windows 7+) and preserve hard links that exist within this directory structure. An acceptable solution would be to replace hard links with (relative) symbolic links before copy, but I'm not sure if it is practicable either. What are the options here? Answer Tool To Copy Hard Links Across Separate Disk Partitions LN - Command Line Hardlinks Command: ln --copy x:\dir\dir2 y:\dir\newdir In the above example the directories and files below x:\dir\dir2 are copied to y:\dir\newdir, and all hardlinks/junctions/symbolic links within x:\dir\dir2 are copied/tied to their new locations under y:\dir\newdir. Resource: http://schinagl.priv.at/nt/ln/ln.html Download: http://schinagl.priv.at/nt/ln/ln.html#contact Note: It appears you just download this software for your CPU architecture from the ZIP file, as well as the vcredist (Visual C++ Redistributable) and install it. Then just extract the files and folders from the

Power plans disappeared after Windows 10 Fall update (1709)

UPDATE: I went back to 1703. See source: New power options in Windows 10 Listing power plans using powercfg shows only the Balanced one. And that's the registry situation: And the power schemes, which seems fine: What happend here? Answer Answer copied from: Can't change powerplan settings in Windows 10 build v1709 The powersettings dialog itself has not been changed, but the upgrade removed all powerplan settings but the Balanced one, and it will remember the setting currently in use. If you switch to the balanced one, your old one will be forgotten too. In order to get them back, you need to create a new powerplan first, mark one of the 3 templates and give them a name. For example, if you want to use the default High Performance powerplan, you first have to create it before you can switch to it.

windows 7 - How do I make a batch file wait / sleep for some seconds?

I use a batch file to start up a few of the programs I need running in the background. Up until now, I had used the pause command to execute it after some of the other start-ups finished. I would prefer to use the wait or sleep commands but they do not appear to be included in Windows 7. Anybody know how to put those commands back in, or a different method that achieves the same results? Answer There are many sleep utilities you can download and drop into your System32 folder, one is provided with the Windows Server 2003 Resource Kit called sleep.exe . You can also use the ping trick: :sleep ping 127.0.0.1 -n 2 -w 1000 > NUL ping 127.0.0.1 -n %1 -w 1000 > NUL then from somewhere in your batch file, you can call it like so: CALL :sleep 1

web development - How to prevent Chrome from refreshing page when viewing source?

When viewing page source in Google Chrome, the browser opens a new tab and basically pastes the URL in with the view-source: prefix. This is undesirable. As a developer, I may include some diagnostic output that is only visible in the source after submitting a form. When Chrome Refreshes the page to view the source, it makes this information disappear. Is there anyway to prevent this behavior? Note: I'm familiar with the "Inspect Element" option. This is just not an adequate stand-in for viewing the raw page source of the exact page you're looking at. A quick test script After clicking the submit button, the page shows Array ( [foo] => bar ) If you view page source, you will see an empty $_POST output Array ( ) Update Apparently this bug has already been submitted. Sigh... If anyone knows of a good work around, I'd greatly appreciate it. Answer From the bug report page, the workaround mentioned in comment 12 works: In the Developer Too

installation - Anaconda distribution Python error [DatabaseError: database disk image is malformed]

There seems to be something wrong with my Anaconda Python installation. When I run Python through cmd it works and I can also run Python programs directly through cmd, and even import scipy, numpy, matplotlib etc. However, when I try to run IPython with cmd command 'ipython', I get the error: Traceback (most recent call last): File "C:\Users\User\Anaconda\Scripts\ipython-script.py", line 5, in sys.exit(start_ipython()) File "C:\Users\User\Anaconda\lib\site-packages\IPython\__init__.py", line 120, in start_ipython return launch_new_instance(argv=argv, **kwargs) File "C:\Users\User\Anaconda\lib\site-packages\IPython\config\application.py", line 563, in launch_instance app.initialize(argv) File " ", line 2, in initialize File "C:\Users\User\Anaconda\lib\site-packages\IPython\config\application.py", line 92, in catch_config_error return method(app, *args, **kwargs) File "C:\Users\User\Anaconda\lib\si

linux - Extending HDD in Ubuntu 18 Server

I am running ubuntu server 18 in hyper-v, I need to extend HDD. When i use fdisk -l I see that /dev/sda2/ have 1TB: Disk /dev/sda: 1 TiB, 1105954078720 bytes, 2160066560 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 8F74C1DF-DF9B-4FD7-AD20-87F1D8A8F989 Device Start End Sectors Size Type /dev/sda1 2048 4095 2048 1M BIOS boot /dev/sda2 4096 2160066526 2160062431 1T Linux filesystem when i use df -h i see that /dev/sda2 have only 125G: Filesystem Size Used Avail Use% Mounted on udev 419M 0 419M 0% /dev tmpfs 90M 972K 89M 2% /run /dev/sda2 125G 11G 108G 9% / tmpfs 449M 0 449M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 449M 0 449M 0% /sys/fs/cgroup /dev/loop0 91M 91M 0 100%

linux - How to make ssh log in as the right user?

I use ssh on a variety of machines, mainly linux. Accounts on these machines vary in naming scheme: if my name is First Last, then I have accounts: first, flast, last_f, lastf, and sometimes I need to log in as root. For each machine I use, I would like the openssh client to know which account to use when I don't specify on the command line. So the question is: How do I make ssh server Do The Right Thing when a username is not specified? Answer You can create a config file in your home .ssh directory, which can specify a default user, identity file etc and assign it to an alias which you can use to connect. For example, you could put this into the ~/.ssh/config file: Host example HostName example.com User first_last IdentityFile ~/.ssh/example_rsa Port 22 RSAAuthentication yes PubkeyAuthentication yes Host example2 HostName example2.com User last_first # other parameters as needed Then you can just type ssh example or ssh example2 on the

Why does BitLocker need a minimum volume size of 64 MB?

Since the future of TrueCrypt appears to be still unclear, I figured I'd try to get my stuff migrated into BitLocker at least for the time being. I nearly never have to access my encrypted data from anything that's not BitLocker-capable, so cross-platform compatibility isn't a big deal to me at this time. However, I am having a bit of an issue understanding the minimum requirement of a 64 MB volume. With TrueCrypt, I was able to protect small files (and most of my protected files are fairly small) in containers down to 300 KB or even less. When I finally created a VHD of an appropriate size last night (100 MB), it seemed the file system itself only took up about 3 MB and encrypting it with BitLocker didn't appear to take up any more. While 3 MB is still an order of magnitude larger than the smallest volume I could make with TrueCrypt, it's still relatively reasonable in comparison to 64 MB. This is an especially large amount of overhead (and largely wasted at that,

ubuntu - extracting file with too long of a name

I have a rar archive that I downloaded, except some of the filenames are too long to be created by ubuntu. How can I extract all of the files? The default archive manager on ubuntu goes through most of the files, fails, and deletes the entire folder. Ark extracts them and silently fails on names that are too long. Answer The usual filesystem limitation of 255 chars applies to unique file or directory names, not their entire path. So extracting it to /a won't help. The problem is that the RAR file format allows the archive to contain files which name can exceed 255 chars. You can work around this problem by printing the problematic file to stdout and redirecting it to a file: unrar -inul p archive.rar overly-long-file-name > shorter-name This extracts overly-long-file-name from archive.rar, into a file named shorter-name.

permissions - Deleting "undeletable" files in Vista

I recently upgraded my workstation from XP SP3 to Vista Business, and during the upgrade Windows moved my old C:\Windows directory to C:\Windows.old. I got all of the stuff I needed out of that folder, but there are six "undeletable" files there so I cannot remove it. They are: Windows.old\Program1\Adobe\Reader 9.0\Resource\CMap\Identity-H Windows.old\Program1\Adobe\Reader 9.0\Resource\CMap\Identity-V Windows.old\Program1\Common Files\Adobe\Acrobat\ActiveX\AcroIEHelper.dll Windows.old\Program1\Common Files\Adobe\Acrobat\ActiveX\AcroIEHelperShim.dll Windows.old\Program1\Common Files\Adobe\Acrobat\ActiveX\AcroPDF.dll Windows.old\Program1\Common Files\Adobe\Acrobat\ActiveX\pdfshell.dll Whenever I try to delete the files either through explorer or a command line, I get a permission denied error. I have tried to grant myself full permission on the files, but again, permission denied. I don't even have acrobat installed on my Vista machine, and I uninstalled Adobe updater. Howe

Change firefox menu color using userChrome.css

I would like to expand on my question , which I asked on superuser few weeks ago. As the question was formulated, the answers were satisfactory, and I have accepted. But it turns out, it does not solve my whole problem. I now have following code in my userChrome.css and the toolbar and menu background have my custom color: menubar, toolbar, nav-bar, #TabsToolbar > *{ background-color: rgb(102,66,60) !important; } But I need to change the background of the whole window frame, ie all panels and popup windows, such as when I click Edit -> Preferences Can somebody please advise how to color the whole firefox window with my custom color ? I am using Firefox 24.8.1 (Iceweasel) on Debian Wheezy. I would also like to apply the same solution to Thunderbird (Icedove). I need to achieve this using userChrome.css . I don't want to change the whole desktop Theme for all applicatiopns. I am using two separate firefox profiles, and I need them to look diferently so that I can tell them

wireless bridge - Connecting networks for two buildings

I'm looking to get a direct connection between an office and a flat across the street. The flat will be using this as its internet connection so VPN is out of the question. I'd like to make the connection with two antennas that I would put in the windows; there's perfect line of sight, but three layers of glass in the way. Distance is about 100 meters. I'd like it to be cheap. The cheaper the better. I'd like it to be fast. At least 10Mbps, although 50Mbps would be nice. I'd like it to be reliable in that I wouldn't need to fiddle with the antennas every week. Low latency (under 100ms) is a major plus. Which hardware should I get to do that? Are there risks in this approach that I should be aware of?

Low memory message on Windows 7 SP1

I have a big problem with a computer that is getting a Low memory message. The specifications of this computer are: Windows 7 SP1 32-bit Operating System 4 GB RAM The computer is getting the following message every 4 or 5 days: Your computer is low on memory To restore enough memory for programs to work correctly, save your files and then close or restart all open programs. After this message appears the computer starts to run very slow and we need to restart it. The problem is that the computer it’s in a production environment and has to monitories the activity of a PLC constantly. The actions that we did trying to fix this memory problem but without success are: Stop all the applications that use a high volume of memory (SQL Server, Wonderware InTouch HMI SCADA, Reporting Services, VMWare) Reinstall the operative system and all the software. Scan for a virus issue without success. Checking the event viewer we found the following suspects messages: Application log Warning : PerfDisk;

Select "move window" from Win8 desktop taskbar

I have my TV connected as "extended desktop". I start the VLC video player in a resizeable window on my primary monitor, drag it to the extended desktop, and hit "F" for full-screen. Then I settle dowm to watch my movie. I have a full-size keyboard and my favourite mouse on the desk with my PC, plus a USB/wireless mini keyboard+mousepad gizmo that I only use to watch movies (I normally only use the space = pause key on the gizmo). When the movie finishes, VLC automatically reverts to a resizeable window, and I usually put the TV into "standby" mode then. On my old XP system, I can right-click the VLC icon in the Taskbar and select "Move" (if the VLC window is currently maximised, I hit "F" to make it resizeable first, otherwise the "Move" option is greyed out). On my new Win8 system, right-clicking on the icon for a running program in the Taskbar no longer offers the "Move" option. There may be other ways of doing t

command line - How can I extract the drive letter for a new mapped drive in a .bat?

I'm creating a simple command-line backup script to use robocopy to mirror "important" stuff to my NAS box. I would prefer not to rely on a hard-coded mapped drive letter for that NAS box. In the script I would like to map a temporary drive letter, copy the relevant files, and dispose of the mapped drive. I don't want to assume that if that drive letter is already mapped, that it's pointing to the place I expect. I also don't want to "assume" that some drive letter is available when I map the drive, thus the leading '*'. net use * \\nasbox\sharename password /user:username /persistent:no What's the proper way within my .bat script to extract that drive letter for use in subsequent commands? I was thinking that I could piece together some variant of "for"'s token-parsing, but I also suspect there must be an easier way than esoteric for-syntax. C:\>net use * \\nasbox\sharename password /user:username /persistent:no

linux - Allow users of a certain group to run a command without sudo

I know how to edit /etc/sudoers so that I can run a command as sudo without having to enter my password, however is there a way of allowing a program to be run completely without sudo, by all users of a group. (The programs I want to run is "mount" and "umount"). Answer Suppose I wanted to add a group of users who are allowed to run mount and umount without passwords. So I first want to add a group called "anyname" sudo groupadd anyname Next we need to edit the /etc/group and add the users anyname:x:407: will be present ,hence append users you want to add the users seperated by commas. anyname:x:407:user1,user2,... Now we need to configure sudo to allow members of the "anyname" group to actually invoke the mount and umount commands. You just need to add the following lines to /etc/sudoers %anyname ALL=NOPASSWD: /sbin/mount, /sbin/umount Now sudo mount wont ask password but since it is a pain in the butt typing sudo all the time, we can av

USB 3.0 slower than SATA for SSD

I have a Kingston V200 256GB SSD. When connected to my SATA 6.0gbps port on my motherboard I'm seeing sequential read speeds of 300 megabytes / second. When I put the drive into a sata to USB 3.0 enclosure and connect it to my USB 3.0 motherboard port my sequential read speed is maximum of 200 megabytes / second and average of 120 megabytes / second. I tried the enclosure on another machine and got 120 megabytes / second as well. I'm guessing the enclosure itself is the bottleneck. Anyone know of reviews/benchmarks on enclosure chipsets themselves so I can buy something that isn't going to slow me down? Answer http://electronicdesign.com/article/embedded/whats-difference-usb-uasp-bot-73593 The enclosure lacks the faster UASP mode. Real world throughput of USB 3.0 has a maximum of 400MB/sec (USB 3.0 has 36% overhead in the best case scenario). Typical USB 3.0 devices seem to be only BOTS enabled limiting them to a maximum of 250MB/sec although in my case this seems to be a

unix - How can I change to the previous directory instead of going up?

I currently spend a lot of my working hours moving back and forth between two paths which are very far down the tree and divert from each other at root. It strikes me that my life would be a lot easier if there was an argument for cd that takes the user to the last directory they were in. That is, if I'm in: /etc/foo/bar/baz/moo and then type: cd /var/lib/fubarred_app/blargh/logs I would like to be able to go back to the first directory without having to type the whole path again. The memory key does not cut it since I use enough commands in each place that it's just as difficult to go back and find the path I want as it is to type it myself. Is there a short command that would just let me go to the previous directory? Answer The command cd - will perform the swap you need on most of the mainstream shells, the older longer variant is cd "$OLDPWD" which will use the environment variable that contains the previous working directory. The POSIX man page for cd mention

security - How big of a risk are popular Chrome extensions?

I'm about to switch to Chromium and I installed a couple of extensions. Each time I installed an extension I was notified of which data the extension has access to, e.g.: I do understand that access to that data is necessary for the extension to work, yet I'm a bit worried that such an extension might one day decide to update and steal ("phone home") all my browsing data. Another example of a scary message (when enabling extensions for incognito windows): Warning: Chromium cannot prevent extensions from recording your browsing history. To disable this extension in incognito mode, unselect this option. Is that a possible threat when using popular Chrome extensions? It's a bit scary to have to trust another party for each new function you add to the browser. Answer You are forgetting the following: The more popular an extension is, the smaller is the chance of nobody noticing that the add-on does something harmful. In contrast to that, if you install some extensio

windows 10 - Move mouse proportionaly between different resolution (and DPI) displays

I have three displays, a 4K display flanked by two 1080p displays. Physically, these monitors are roughly the same size. Furthermore, Windows 10 handles the DPI scaling of the 4K monitor separately from the 1080p monitors just fine. So while it appears as such to Windows the real layout is three monitors of equal size side by side. The problem is that the mouse keeps getting caught on the edges of display 2 and three when dragging from display 1. I would like the mouse to continue onto display 2 or 3 regardless of which part of the left or right edge of display 1 the mouse touches. This question has been asked before (e.g. here ) and a common answer is to suggest that this behaviour is intentional on the basis that mouse movement should reflect different size displays. Such an answer is not appropriate as it doesn't consider DPI and scaling. Answer Perhaps LittleBigMouse could help you out? It's an alpha application, but it seems to be focusing on the issue you're having

display - Monitor emits a faint noise when certain patterns are displayed

Under normal circumstances, the Dell E2310Hc LCD Monitor seems to work fine. However, when I display an large array of hash characters ("#") a faint buzz can be heard from the monitor. It appears to be correlated to the periodic pattern somehow: Increasing the size of the pattern (i.e. changing the font size) changes the frequency of the noise. Adding more pattern enhances the sound. Increasing the contrast increases the intensity of the sound. Color does not seem to affect the sound. Increasing the contrast of the pattern w.r.t. the background increases the sound. Edit : Horizontally tiled patterns make little contribution, but vertically tiled patterns cause the majority of the noise. What could be causing this? I also noticed the same issue with another LCD monitor but it's a lot less perceptible. Answer Electromagnetic forces generated by the flows of electricity within the device are causing parts to vibrate due to alternating magnetic attraction and repulsion.

Hard disk not detected in BIOS, disk does spin up when powered

A friend asked me if I could fix his laptop, with the description "black screen on boot". Having tried using his laptop I immediately noticed that the laptop's BIOS claims there is no hard disk connected. (errored with no bootable OS found) Immediately my usual tricks were out the window -- usually booting up a portable installation of Ubuntu and using various software to check the hard disk health, etc, and recover data off it if needed, I did boot up Ubuntu anyway as it might get lucky, but no, no hard disks present. All the utilities off Ultimate Boot CD also couldn't see it, including MHDD32 and Drive Fitness Test (IBM/Hitachi). Next I tried it on my desktop computer using a powered eSATA cable. The hard disk spins up and sounds completely normal. It also feels like it's spinning fine, with the usual odd gravity feeling when picking up a spinning hard disk. However Windows (7) doesn't see any disk is present. I tried via different eSATA ports on my compute

Dism and removing a "package" from an Installed windows 7 64bit

I am exploring the possibility of removing "packages" from an Installed Windows 7 64bit. It is difficult to test deployment things when items were never installed to being with. My understanding so far: Microsoft claims that these "packages" are hanging out in bundles of seperated and distinct items for proper compatability, and interoperation of mixed .dll installations. They also claim that the system of belotion allows for an update to a program or system to be removed, reverting the program or system back to the way it was. They also state that only removal of a program will completly remove all the parts and pieces strewn through the system. Ok got that. Goal: To remove only ONE package, little baby steps, but I could not even accomplish the most simple and observable item. Unfortunatly a search reveals millions of Vista based information resources and few Windows 7 specific, 64bit in my case. Method #1 , I start as simple as I can >DISM.exe > C:\packag

unix - How can I find files that are bigger/smaller than x bytes?

In a terminal, how can I find files that are bigger or smaller than x bytes? I suppose I can do something like find . -exec ls -l {} \; and then pipe the result to awk to filter by file size. But shouldn't there be an easier way than this? Answer Use: find . -type f -size +4096c to find files bigger than 4096 bytes. And : find . -type f -size -4096c to find files smaller than 4096 bytes. Notice the + and - difference after the size switch. The -size switch explained: -size n[cwbkMG] File uses n units of space. The following suffixes can be used: `b' for 512-byte blocks (this is the default if no suffix is used) `c' for bytes `w' for two-byte words `k' for Kilobytes (units of 1024 bytes) `M' for Megabytes (units of 1048576 bytes) `G' for Gigabytes (units of 1073741824 bytes) The size does not count indirect blocks, but it does count blocks in sparse files that

laptop - How to make monitor edges match on Windows 7

I have two screens. My primary screen is a 3840x2160 laptop screen. My secondary screen is a 1920x1080 monitor. The issue I'm having is that due to the screen resolutions, Windows thinks the laptop monitor is ~4x larger than the external monitor, when in reality the laptop monitor is physically smaller. What I would like is for the left edges of my laptop monitor to match up with the right edges of the external monitor. How can I do this? Edit: Without lowering the resolution of my laptop monitor. Answer Natively, you can't get rid of the unaligned edges unless you set the displays to the same resolution, and align the displays (on the side they share) in the display properties. The program DisplayFusion has an option to prevent bumping against edges when moving between monitors at different resolutions, as well as ones that are not aligned exactly. I've been happily using DF for years to deal with multiple monitors, and it's handy as heck. :)

permissions - Run task scheduler task on demand from limited user account in windows 7

My goal is to for a limited used to be able to run a netsh script that requires administrative privileges: netsh wlan stop hostednetwork netsh wlan start hostednetwork From my administrative account I created a task scheduler task that runs this script with elevated privileges and saved my admin password in it. It worked. But the task is not visible from the limited user account. I tried creating the same task from the limited user task scheduler - did not happen, it told me the user has no rights to create the task. Tried schtasks.exe from the limited user, it also does not show the task I want to run. Is there a way to share the task I created from the administrative account with a limited user so he is able to run it on demand? Or give him privileges to create the task himself? Answer Go to C:\Windows\System32\Tasks find the related task and assign "read and execute" rights to the user you want to be able to access it. Be sure to assign to "current object only."

Virtual audio driver for Windows?

Is there any (possibly free or open-source) virtual WDM audio driver for Windows, with additional processing plugins, which would add one more layer between windows applications and actual sound card's audio driver, allowing to: Add software DSPs to general audio output. I would like to be able to use custom effects, like compressor, or stereophonic-to-binaural converter for listening online streaming media on headphones, etc. Connect its output to some custom buffer instead of the sound card. For example, to be able to record audio, or to send audio via wireless connection to some other wireless source? I know only about VAC driver, but don't know how I would use it to do any of these tasks. And unfortunately it is not free. Also, audio driver was just my idea how to solve these issues - if you know other way, please share your knowledge. I need this for Windows 7 and/or Windows XP.

Windows 8 - WiFi adapter finds no wireless networks! ends up with "No networks found"

I have a Dell Inspiron n5110 machine with Intel Celerino WiFi N1030. Its been about two weeks I have started using Windows 8. Formerly, I was using Windows 7 Home premium in which I had no any problem. Yesterday morning, when I tried to connect my WiFi, I found a red cross in the WiFi bars. I thought it might have been disabled but it wasn't. Driver was installed and windows didn't find any problem with the driver and the adapter itself. I tried reinstalling the driver but it didn't work. Thought the adapter might be malfuntioning; booted Linux from USB and the adapter was detecting wireless networks. And lastly, I tried System Restore to the last time when it was working. But Ethernet works well. EDIT: I downloaded the latest driver from Intel for Windows 8 and installed WiFi connection utility. And the connection utility actually detects wireless networks but the network doesn't show up in Networks. Answer You know the adaptor is fine because it works in another ope

windows 7 - Online computer not responding to pings

I was doing a bit of scanning on my network lately, knew all the hostnames to each computer connected. But whilst pinging one of them ping returned Request timed out. . This is strange as I know the computer is online and that the computer responds correctly to pinging on a different (enterprise) network. Is there something on the computer, my network, or my computer that is bugging with this? - That's just a sub-question, I don't expect this to be the main answer. The real question: Why does this happen? Why does pinging the IP4 address not work? EDIT : Pinging the Hostname used to default to the IP4 address, but now it defaults to the IP6 address. Why does this happen? But now that it pings using IP6, how come it all of a sudden works? > ping -6 THE_COMPUTER Pinging THE_COMPUTER [lengthy IP6 address] with 32 bytes of data: Reply from [lengthy IP6 address]: time=1ms Reply from [lengthy IP6 address]: time=1ms Reply from [lengthy IP6 address]: time=1ms Reply from [lengthy IP

linux - Migrating Windows 7 to new hard drive/partition

So, I'be managed to migrate my Windows 7 data over from /dev/sdb3 to a new partition on /dev/sdc1 using ntfsclone. I managed to resize the volume size to match the new partition size. I also used ms-sys to add a Windows 7 MBR to /dev/sdc. Windows won't boot. It will if I have /dev/sdb3 still enabled, but the ultimate goal here is to remove that partition. Besides, under this condition my new drive is only seen as D and not as the boot drive. I've googled all over.... Help? The ntfsclone command was ntfsclone -O /dev/sdc1 /dev/sdb3 Answer I found that cloning Windows partition to a different disk fails all too often, sometimes because of the changed drive letters, sometimes because of botched boot records, etc. The following two solutions helped me many times, but they are not 100% foolproof either: Use "Repair" function of Windows 7 boot disk. It often manages to repair many boot problems. Change the boot drive back to C: using these instructions . Unfortunately

windows 7 - Touch gestures in IE not working without explorer.exe being run once

Edit: Rephrasing my question: Upon further troubleshooting, I can conclude that: Touch gestures (dragging, pinch to zoom, touch-and-hold right click) in Internet Explorer start to work when: The system has been running for ~2 minutes. This coincides with the delayed start of services. Explorer.exe is being run, then killed. I assume Explorer.exe starts some services? The services with delayed start are as follows: Security Center Software Protection Windows Defender, Search and Update Windows Font Cache Service Microsoft .NET Framework NGEN v4.0.30319_X64 and X86 I see no connection between these services and touch gestures, but just in case, I manually tried starting these services, but without luck. What else happens delayed after system boot, which also happens when explorer is started? Edit 2: I just found out that it is ~2 minutes from login . So that would mean services can't play a role in it. As I understand it, services have nothing to do with logging in. They run unaffect

windows 8 - Samsung laptop slowed down

I have a notebook NP550P5C from Samsung. It has impressive parameters: 8 GB RAM Intel i7 3610QM @ 2,3 GHz 904 GB HDD with 8 GB SSD It runs Windows 8.1 64bit. It used to be very fast but after 22 months it gets slow in normal operations. When I log in from sleep mode, it may take few minutes until everything is loaded. Firefox or Chrome - I can go for coffee when I switch tabs. It does not happen always but too often to notice. I realized from a task manager that when the response is slow the HDD is 100% utilized. There is single partition and it has 146 GB of free space. Disk is not fragmentized. I noticed that there has never been any activity on SSD drive. It seems that it is not used at all. A merchant was claiming that SSD drive will host system files to boost the performance. I try to minimize running background services. There is start8, crashplan, google drive and evernote. Any idea how I can improve the performance? I think that windows reinstallation may help but that would b

security - Weird hits on port 2703

I'm getting these periodical console messages on my Mac: 7/22/11 8:01:03.925 AM Firewall: Stealth Mode connection attempt to UDP 10.0.0.1:2703 from 91.143.232.133:15881 7/22/11 8:01:05.885 AM Firewall: Stealth Mode connection attempt to UDP 10.0.0.1:2703 from 91.143.232.133:15881 7/22/11 8:01:09.926 AM Firewall: Stealth Mode connection attempt to UDP 10.0.0.1:2703 from 91.143.232.133:15881 Ran whois 91.143.232.133 and got: inetnum: 91.143.232.128 - 91.143.232.143 netname: CVIDIA descr: CVIDIA ltd country: il admin-c: OH341-RIPE tech-c: OH341-RIPE status: ASSIGNED PA mnt-by: QOS-ISP-MNT source: RIPE # Filtered Checked where the IP leads to, it leads here: https://91.143.232.133/Login/Login I've read the port 2703 is used for SMS chat, but also might be used by a trojan. Should I be worried?

How do I install Windows 10 from USB to a UEFI Secure Boot Machine

With a new bare Machine how do I install Windows 10 from a USB stick and install it with secure boot and EFI turned on? Answer First make sure your bios has secure boot turned on. Next, build your USB stick with Fat32 Then install normally. The 11 steps for manually preparing / building a USB Disk to be a bootable Win 10 Install. This bootable USB stick will work for both older BIOS installs as well as the newer UEFI installs. Diskpart (Run from a CMD prompt) List Disk Select Disk # (Where # is the number of your USB disk) Clean (removes any partitions on the USB disk, including any hidden sectors) Create Partition Primary (Creates a new primary partition with default parameters) Select Partition 1 (Focus on the newly created partition) Active (Sets the selected partition to an active valid system partition state) Format FS=fat32 quick (Formats the partition with the FAT32 file system. FAT32 is needed instead of NTFS so that it can load under the secure boot UEFI BIOS.) Assign (Assig

windows - How can I get rid of Chromium?

How can I get rid of Chromium? I have already tried to get rid of it by using the control panel. I went to the programs list, selected Chromium, and hit uninstall. The computer said it had a problem, and then asked if I wanted to remove it from the programs list. Is there any other way to get rid of it? Answer try this:- OR Go to C:/Program Files. Delete the Chromium folder. Go to C:/Program Files(x86). Delete the Chromium folder. Click on Start -> Run.. Type %AppData% Delete the Chromium folder. Type %LocalAppData% Delete the Chromium folder. Delete The Shortcut. Sorry if it is a little cumbersome, but Hope this Works!!

How to make google-chrome or chromium use less memory

My computer has only 4GB memory, and opening 8-12 random tabs on chrome or chromium often freezes my computer. Currently I'm using google-chrome-stable --process-per-site . This helps to some extent. Is there any way to run chrome or chromium in a single process? Could anyone give me some tips on how to control chrome's excessive memory usage?

Command to see all Windows commands

When I type help in windows command line, it lists a whole bunch of commands. However I find that there is a whole set of commands that do not appear in this list, for e.g. many networking commands such as ping, tracert, arp, netstat, net etc. I am sure that there is also a whole bunch of non-networking command which is also not listed. So my question is this. Why are these additional commands not shown in help ? Is there a subset/group of commands only that help shows? Is there any command/method to list all the commands that can be executed in windows? (I am not talking about additional .exes that get added to path when some new software is installed..)

windows - What is the different between sdelete -c and -z?

I've learned from this article to use sdelete as a step to shrink VDI file: sdelete -c c: But what does the -c ('Clean free space' as described by its help text) mean? Doesn't it write free space with zero? And what about -z (Zero free space)? What is the different between sdelete -c and -z? I tried the step in the article mentioned before, but failed to reduce the size of the .vid file. Then I followed this superuser post , and changed the option -c to -z , and succeeded. So it seems -z writes zeros to free space, and -c writes something else (random bits possibly). Answer I think this is a common mistake. Maybe the -z option was not available in earlier versions. SDelete 1.61 says -z Zero free space (good for virtual disk optimization) Note that doing so will first expand your hard disk to the full size. Only in the shrinking process by VMWare it will become smaller again. A quick test on my machine: -z took 1:01 minutes -c took 2:11 minutes Which in

Disabling laptop's internal keyboard in windows 10

I am using an external keyboard and due to small space I need to place it on top of my laptop build in keyboard. I used to be able to unstall it in device manager for every start up to disable it back in windows 8 but somehow the internal keyboard manage to work even it is "unstalled" and disappeared in windows 10. I tried to install a wrong driver to the device and it just causes BSOD everytime I boot my laptop. Is there any way to really disable the internal keyboard of a laptop?

wireless networking - Windows 7 - Disable WiFi when connected to a wired physical network

I am using a sub-notebook AS1810TZ which has NO DOCKING. It has a button to turn the WiFi module off and save some power. From time to time, it is connected to the wired network and use wireless network most of the time. I notice that the WiFi is not in use when cable is connected, but it is still active and send signals which consume power. I could rather turn it off(deep sleep) automatically once I get TCP/IP connection to same network at wired interface, and resume the WiFi module on wired disconnection. I am asking something similar to this case Docking Station Disabling/Enabling Network Connection I am not asking anything about metric nor priority, if you are thinking about it. When concurrently connected to wired and wireless ensure Windows 7 uses wired connection I've search on task condition, but it does not provide a option of wired/wireless network. When concurrently connected to wired and wireless ensure Windows 7 uses wired connection Answer Perhaps check out Wireless

macos - Make OS X's Quick Look work for custom file extensions

I find Finder's Quick Look feature (launched with Space ) very useful, but it works only for a limited number of file extensions. In work I often get .properties, .conf, .ddl and other files which are essentially text, yet in Quick Look their content is never displayed: Is there any way I can tell my Mac to treat those files as text? Thanks! Answer QLStephen adds support for both files without a filename extension (like README ) and files with arbitrary extensions (like file.xyz ).

No sound (USB speakers) in Ubuntu 9.04 Jaunty Jackalope

I just installed Ubuntu 9.04 and have been unable to get sound functioning. I have a set of USB speakers (not USB powered with a stereo plug... they are totally USB). I've tried plugging them directly into the tower as well as into the USB port on my Dell 2405FPW monitor. Both USB ports are functioning correctly (I tested by sticking a flash drive in there - they both read it), and the speakers are functioning correctly in Windows. If it's relevant, I have an SB Audigy 2 sound card that came with the computer, but is not being used. Any ideas? Thanks! EDIT: These are the speakers - Logitech S-150 USB Speakers Answer You may have to assign sound output to them with PulseAudio. There's a WIKI about configuring PulseAudio here , but it comes down to just a couple of steps: 1. Install pavucontrol, the PulseAudio volume control panel, and launch it. Switch to the playback tab. 2. Launch something that plays sound (like Totem). It should show the VU meter for the playback. 3.

windows 7 - What are some DVD Unprotecting software?

Can you please list off what are some DVD unprotecting applications that are available to download. I use Need4Video DVD Ripper to rip my DVDs. However, it will only rip unprotected DVDs. I will not be doing anything that will be illegal. Only ask this question so that I can put my DVDs on a hard drive. So that I will not have to bring my DVDs to Afghanistan. Note: Must be compatible with Windows 7 Answer Try AnyDVD from Slysoft, http://www.slysoft.com/en/ They have a suit of products that allow you to unprotect and copy the DVD on your hard disk.

How do I disable Aero Shake in Windows 7?

I'm always accidentally minimizing most of my windows. This is really annoying. How do I disable Aero Shake? Answer The best way to do this is to use the Group Policy editor. Go into the start menu, type in gpedit.msc, and hit enter. When it comes up, go into User Configuration -> Administratrive Templates -> Desktop. In here you'll see a settings called "Turn off Aero Shake window minimizing mouse gesture". Set this to enabled and no more Aero Shake. Here's a picture of the Group Policy Editor, with the setting highlighted: Another option is to edit a key in the registry. If you don't have Group Policy Editor for some reason (lower end Windows 7 edition), this might be your only option. There's a downloadable reg file that will handle this automatically from the How-To Geek .

Pinning a specific folder to the taskbar in Windows 7

How can I "pin" my "Documents" folder to the Windows taskbar in Windows 7? I have Explorer pinned in my taskbar but when clicked, it opens by default my "Libraries" directory and not the desired "Documents" directory. Answer Just drag the link to your Documents folder to the task bar. It will show up as a link to start the Windows Explorer but you will see the Documents folder listed as one of the pinned folders in the jump list. If you wish to force the link to open to the folder directly, you can modify the shortcut to open the folder of your choice. Just right click on the link, right click on the Windows Explorer shortcut and go to properties. Then add the path to your folder in the target. You could use %USERPROFILE%\Documents in this case.

microsoft word - Create character text-style that does not override color?

This question is very similar to this one: Word 2010: Create a Style without a font color But it is for a different version of word, and none of the answers given at the linked post solved the issue. I am using Winword from Office 365 ProPlus Version 1902. I regularly copy & past in color-highlighted text from some other sources, and while I want the font to change based on the destination document, I want to keep the font-coloring of the original. Example: My source text document looks like: And I want to copy & paste it into another document so that it appears as: When pasting, I'm given a couple of options: Keep source formatting Merge formatting Bitmap Text only None of them is helpful here. So what I want is to paste with "Keep source formatting", and then highlight that text and apply a pre-defined Style from my destination document. Unfortunately, all Styles I can define override the color information when applied.

display - Philips Brilliance monitor periodically shifts screen by 2 pixels and cuts off screen borders

I noticed a strange issue with my new Philips Brilliance 242B7 (23.8") monitor: more or less every 5 minutes, the image moves 2 pixels vertically or horizontally. The problem is that when the image moves, the border in that direction is cut off by 2 pixels. Here's some picture (taken obviously with a smartphone, since a screenshot from the OS wouldn't show the issue). Lower border normal: Lower border cut (note the incomplete Classic Shell Start button on the left and the missing blue lines): Upper border normal: Upper border cut: Left border normal (this is an icon left-aligned on the desktop): Left border cut: Switching the monitor off and on again solves (temporarily) the problem. There is no "adjust picture" or similar option in the monitor settings that I could try to use. The monitor is set to 2560x1440 (native resolution) and is connected to the computer via DisplayPort. The computer has a NVIDIA GeForce GTX 1080 graphic card. I run Windows 10 Home, and h

linux - cant start systemd - Failed to get D-Bus connection

I am trying to setup a daemon width systemd on Debian. systemd was already a part of the distro.. Have just added a new unit file my-daemon.service under /etc/systemd/system/ but after reboot I get this error no matter what I do. It worked before reboot ~ # systemctl daemon-reload Failed to get D-Bus connection: Unknown error -1 ~ # systemctl list-units Failed to get D-Bus connection: Unknown error -1 Have also tried to delete the unit file my-daemon.service and rebooted the system.. But still get the same error # dpkg -l | grep -i dbus ii at-spi2-core 2.14.0-1 amd64 Assistive Technology Service Provider Interface (dbus core) ii dbus 1.8.22-0+deb8u1 amd64 simple interprocess messaging system (daemon and utilities) ii dbus-x11 1.8.20-0+deb8u1 amd64 simple interprocess messaging system (X11 deps) ii lib

Is there an OS wide manner for opting out of display advertisements on Windows 8?

I am running the enterprise evaluation version of Windows 8 and wonder if I missed a setup step to opt out of the advertisements in some of the tiles like the one below. I have not yet turned on location services and am less worried about tracking at this moment than just not seeing the ads as I explore the OS. I'm not looking to ban all advertisement, just the ones that come with the bundled application tiles and the core system. Did I mistakenly opt-in or enable these? If not, can I disable them system wide in a setting or two (or by hook and crook if necessary)? Answer As it currently stands, there's no way to opt-out of the ads. The "Ads in Apps" framework is provided by Microsoft to App creators as a unified advertising system to make monetizing their programs easier (and probably so MS gets a cut as well). Just because the apps may have been bundled with Windows, doesn't mean the app creators don't (also) want to get paid by advertisements. :) The ass

Can't change powerplan settings in Windows 10 build v1709

After upgrading my windows 10, I can no longer change powersettings. It only says the one I use and Balanced. Where has the setting to change power plan settings moved to? Answer The powersettings dialog itself has not been changed, but the upgrade removed all powerplan settings but the Balanced one, and it will remember the setting currently in use. If you switch to the balanced one, your old one will be forgotten too. In order to get them back, you need to create a new powerplan first, mark one of the 3 templates and give them a name. For example, if you want to use the default High Performance powerplan, you first have to create it before you can switch to it. EDIT: It appears to be a bug in the upgrading process. A fresh install of windows 10 does have the default powerplan settings available. EDIT2: Its worse than I thought. Apparently a bug in the windows 10 installer sometimes does manage the powerplan settings, sometimes it doesn't. I bet the upgrade has the similar probl

File extension for Markdown files?

Is there an official file extension for standalone Markdown files? Answer There is no requirement for a Markdown file extension, as other answers have explained. But in order for editors or parsers to guarantee that the file they are using is Markdown-formatted, they would look for one of the following extensions: .markdown .mdown .mkdn .md .mkd .mdwn .mdtxt .mdtext .text .Rmd There are websites such as GitHub that only use a selection of these extensions for converting to HTML so developers will conform to their standard. (see examples below) Personally, I have seen .markdown and .mdown used the most, and as a Linux user I would avoid using .md as this can also be a m achine d escription file for compiling code with GCC. Examples of extension usage: GitHub : markdown, mdown, mkdn, mkd, md ( source ) Elements Markdown Editor: markdown, mdown, mdwn, md Vim markdown : markdown, mdown, mkdn, mdwn, mkd, md Bitbucket : markdown, mdown, mkdn, mkd, md, text ( source ) R Studio : Rmd F

memory - What happens when you install > 4GB of RAM in a computer with a 32-Bit OS?

So I'm a programmer and I'm not a complete idiot so I know exactly why you can't access memory where you can't have pointers. But I've never tried this and I don't think I ever will because it seems like a big waste of money/time. I'm just wondering if there are any tools that let me access my himem (You'd think we'd have gotten around this issue by now). Answer If you have a a processor with the Physical Address Extension (which you probably do) and the correct OS ( e.g. not a consumer version of Windows, it uses PAE but is capped at 4GB ) then the memory can be mapped and used normally. Otherwise the memory will simply not be addressed, the OS will tell that you that you have however many chips of however big they are but they just won't be added to the amount of memory you can access.