Skip to main content

Posts

Showing posts from August, 2016

windows 10 - In VBScript, I need a code to subtract 1 from searchResult.Updates.Count, so that Count = 0 and WScript.Quit will be run consequently

I already googled for hours but failed to find the answer. 'ServerSelection values ssDefault = 0 ssManagedServer = 1 ssWindowsUpdate = 2 ssOthers = 3 'InStr values intSearchStartChar = 1 dim strTitle Set updateSession = CreateObject("Microsoft.Update.Session") Set updateSearcher = updateSession.CreateupdateSearcher() updateSearcher.ServerSelection = ssWindowsUpdate Set searchResult = updateSearcher.Search("IsInstalled=0 and Type='Software'") For I = 0 To searchResult.Updates.Count-1 Set update = searchResult.Updates.Item(I) If update.Title = "Intel Corporation driver update for Intel(R) HD Graphics" Then I need a code on this line to subtract 1 from searchResult.Updates.Count, so that Count = 0 and WScript.Quit will be run consequently. End If If searchResult.Updates.Count = 0 Then WScript.Quit End If set objShell = createobject("wscript.shell") objShell.Run("ms-settings:windowsupdate") , 0 Next WScript.Qui

windows 7 - How to convert existing Win7 64 bit to virtual machine?

As I've upgraded from an old disk to a new one and decided to rather re-install the OS than copy an image and drag along all the 'crap' accumulated over the years I thought it would be a good idea to run the 'old' OS in a virtual machine thus making the transition easier: in case of need I'd still have access to 'the old machine' during the time I'm setting up the new one and not everything is migrated yet. I've done this in the past with a WindowsXP machine, so didn't expect too many problems. I was so wrong =) It took me the better part of the day figuring out what could be the problem, mostly looking in vain for help on the internet =( Hence I'll write down below what I did to get it working so maybe someone else can benefit from it...

windows - How to create a self extract setup?

I"m using VS2008 and I made a project for my own use. I can create setup using VS utility of setup creating called deploying project. But I want a self extract setup that launch by user in easily way how to do it? Answer The most popular choices are: Also common, but not recommended for small projects:

How to make windows explorer preview scripts and other text files

When you click a file with the preview window open, windows will show you a preview if windows knows how to do it. But files like .json and .py will not preview. It would be sometimes useful in the open dialog of any editor to preview a script before opening it. Most open dialogs will inherit the windows explorer preview settings but .... How do you make windows associate .py files as text like files for the preview pane? Answer The answer came from this link this link as music2myear mentioned but the accepted answer in that link did not work for me. What worked for me was 2nd answer in the thread. Member user255627 points out the correct key is HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.py which requires attribute PerceivedType REG_SZ text . I created an attribute in this key with reg command. You can substitute .py with any extension type and enable a bunch of extensions this way. No need for a external program as mentioned in other thread. reg add HKLM\SOFTWARE\Classes\.py /v Perce

windows - How do I map an FTP site to my computer as a drive letter?

Is there a way of doing this automagically and reliably? I know of the feature to add an FTP site as a Network Location which then appears in My Computer , but I see no way of assigning a drive letter to it. It would be a necessity for whatever free software or hack to cache the username and password so it does not have to keep being entered. My operating system is Windows 7 Ultimate, 32 bit, but any suggestions for earlier versions of Windows back to XP would be appreciated too Answer You can with NetDrive (free for home use): Mounts remote storage as a local hard disk on your PC Data transfer by drag and drop files in windows explorer Able to run files(video, audio and any other .exe files) Mounts drive automatically when Windows starts.

windows 10 - Change pc password with command prompt

Welcome , today I'm working with the command prompt on Windows 10 , I like to know if it is possible to change my pc's password with this and how can I do it. Thank you Answer Yes you can. You need administrative privileges and you need to know your username. From the command prompt, enter the following command, and replace with your actual username: net user * Then enter the new password. Do note, it will not ask to reconfirm your password, so any typo can mean the end of logging in.

utf8 hebrew on mysql console on debian (via putty on windows)

I have a my sql server running on a debian linux hosted at linode.com some of my data has hebrew characters in it. I am connecting to the server via putty ssh on windows 7. when I run the sql admin console (mysql) and execute a select query all hebrew characters are displayed as '?'. I am not even sure where the problem is, but I guess its either the mysql console or putty that is loosing the hebrew. the data itself is o.k. (I know this because it is also accessed via a web page where it displays just fine). any ideas on what I should do to enable hebrew for this scenario? Thanks. Answer Character encodings are a little changeling, it could be that your data (which, after all is all just binary). You should first check your database's encoding, and the table's individual encoding. The encoding referrs to the internal storage… a good example might be that you're storing ISO-8859-1 so the database expects only ISO-8859-1 , but if some of the data is in Hebrew, thes

windows - How do I press Ctrl+Alt+Delete in VirtualBox?

I'm running VirtualBox with Windows Vista as host OS and Windows Server 2008 as guest OS. To login to Windows Server I have to press Ctrl + Alt + Delete , but my host OS reacts on that so I can not send it to VirtualBox. How can I do it? Answer Usually there is an entry in a menu somewhere. Host key + Del 1 should work too, though. If you're using Remote Desktop, then use Ctrl + Alt + End instead. 1 You should know what your host key is, but it's configurable. Mine usually was Right Ctrl . If you want to know what your Host Key is, open VirtualBox and go to File → Preferences → Input . If you don't like the current key, you can change it to whatever you wish.

windows 7 - Invalid BOOT.INI (dual boot XP with 7)

I had Windows XP x64 as my main system, and i also had a second partition with Windows XP x64. Both booted from first partition (C:) I then installed Windows 7 Ultimate on the first partition. I've added NTLDR using BCDEDIT. I've also copied NTLDR, NTDETECT.COM and BOOT.INI onto the drive where XP remained. However then i try to boot into Windows XP x64 i get Invalid BOOT.INI file Booting from c:\windows\ NTDETECT failed I found instructions on how to fix it using a boot disk, however the partitions are on a software RAID. I've tried to boot from a customized XP CD with the drivers, however it does not offer me a Repair option for some reason - just setup. Partitions that i have:'= System Reserved Main (Windows 7) Secondary (Windows XP x64) Here's the contents of my BOOT.INI: [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Windows XP Professional x64 Edition" /fas

ubuntu 9.10 - How to move existing Linux installation to USB flash drive and make it bootable?

Is there any possibility to move my already installed Ubuntu Linux to the USB flash drive and make it bootable. So that it would boot on the other machine? P.S. I have an installed Ubuntu Karmic (9.10) Linux installed on my machine. I want to make it portable, to move it with all installed packages and tuned software to a USB flash drive. Answer Although I did not do it myself, I would try recommend the following: Get yourself a USB stick (16G or more) with the base Ubuntu, and set it up with the appropriate partition. If you're using the default Ubuntu disk partitioning (everything under /), that should be easy. Copy all files form all directories to the UST stick run grub-install on the new device, such as /dev/sdb1: cd /boot/grub grub-install /dev/sdb You should be able to boot from your new USB stick.

How can I verify the health of hard disks using a Synology NAS?

I'll receive my first NAS (a Synology DS413) and three hard disks tomorrow. Of course I'd like to check if everything's fine with the disks before setting up RAID and migrating my data. Unfortunately, I don't have a PC to put them in; I've got only notebooks. Can I somehow do this with the NAS firmware? And what kind of tests should I run, apart from S.M.A.R.T.? Answer The Storage Manager will show the SMART status of each disk. Log into the web interface and go to Main Menu > Storage Manager > HDD Management. You can also schedule a more in-depth SMART test using the Test Scheduler Option on this screen.

Scroll modifier for mouse/trackball in windows

I have a trackball (Logitech Trackman Marble in this case, though this could apply to any mouse or pointing device) where I would like to use one of the buttons as a middle-click when I click it, but to trigger scrolling action when I hold it down and move the ball around. I could do this quite easily in Linux by setting scroll-modifier in the X config, but the driver that comes with the trackball (Logitech) only allows one or the other. Is there any way to set this up in Windows 8?

windows 7 - How can I make my multi-monitor setup wrap around?

I have a 4-monitor setup on Win7 Ultimate (nVidia 8800GTS + 6600GT), and I'm experimenting with various layouts for optimal awesomeness. One thing that really bugs me is the sheer distance that the mouse pointer needs to travel horizontally to get from the left edge of the left screen to the right edge of the right screen. It would be tremendously awesome if I could set it up to wrap around so that if I move the cursor all the way left it wraps around to the right again. Unfortunately, I can't for the life of me find any way to make this happen. Googling around gives a Mac utility that does exactly what I want; someone also suggested connecting the computer to itself with Synergy , which seems awfully kludgey and I never got it working anyway. Is this possible with Windows? I'm happy to get my hands dirty with some COM scripting if necessary, but I don't really know the Windows API...

hard drive - Error "a disk read error occurred" on Windows XP

Around a week ago I sometimes had trouble bringing up Windows XP profile (so it would boot into a temporary profile directory). I ran CHKDSK three days ago on boot and didn't find any bad blocks . Starting yesterday, my desktop (Windows XP SP3) became really weird. After I booted up it seems like something was eating up my CPU (though I didn't see anything suspecting in the resource monitor fired up using Ctrl + Alt + Delete ). The computer booted very slowly, and applications started very slowly. My real video files which used to play smoothly was lagging. My phone dial up had trouble logging into most web sites while some (like Slashdot and google) seemed to be more or less fine. Was there problem with the network? My girlfriend's netbook running behind a home gateway (which dialed pppoe for her) connect to the web just fine! So this ruled out the possibility. Today I booted up again, and the same thing happened. At first I suspected it was a virus. So I changed my BI

linux - Why unprivileged user can't change file ownership?

From chown(2): Only a privileged process (Linux: one with the CAP_CHOWN capability) may change the owner of a file. The owner of a file may change the group of the file to any group of which that owner is a member. A privileged process (Linux: with CAP_CHOWN) may change the group arbitrarily. What's the reason for this restriction? Why an unprivileged user can't change file ownership of a file it owns (ie. no /etc/shadow)? $ touch blah $ chown root:root blah chown: changing ownership of `blah': Operation not permitted Answer By allowing users to "give away" files you run afoul of various features of the OS. Such as: Taking up another user's disk quota. Impersonating another user (or even root) via setuid. Having insufficient privileges to undo a mistaken chown. Making it appear that someone else had created a given file. Setting up cron jobs to run on other user's accounts. And many more...

linux - How to add a Windows 7 to grub2

I installed Ubuntu and Windows 7(windows first). After that I can't boot into Windows. sudo update-grub2 Not see Windows.(but file explorer see this partition). I add to /etc/grub.d/40_custom menuentry ‘Windows 7′ { set root=’(hd0,4)’ chainloader +1 } And after that update-grub2, but when I restart my computer grub isn't starting(starts ubuntu). fdisk -l UrzÄ…dzenie Rozruch PoczÄ…tek Koniec Bloków ID System /dev/sda1 * 1 11077 88969217 5 Rozszerzona /dev/sda4 11077 19457 67317760 7 HPFS/NTFS /dev/sda5 1 11077 88969216 83 Linux

video - How to add subtitles in other places

I've seen some videos where there are signs written in another language, and right next to the sign a subtitle has been added to explain what it says. So far I have only been able to add subtitles to the bottom of a video. How can I add subtitles to other areas of the video? Answer Advanced SubStation Alpha supports placing subtitles at any position, angle, size, and font.

website - wget not converting links

I am trying to mirror a fairly large site (20,000+ pages) prior to a major overhaul. Basically, I need a backup before cutting over to the new one in case we forgot something we need (we'll have about 1,000 pages at launch). The site is run on a CMS that I cannot easily extract usable data from, so I'm trying to make the copy with wget. My problem is that wget does not appear to be actually converting links, despite the presence of --convert-links or -k in the command. I've tried a couple of different combinations of flags, but I haven't been able to get the output I need. Most recent failed attempt was: nohup wget --mirror -k -l10 -PafscSnapshot --html-extension -R *calendar* -o wget.log http://www.example.org & I've also included the --backup-converted, and --convert-links instead of -k (not that it have mattered). I've done it with and without -P and -l, again no that they should matter. Results in files that still have links like: http://www.example.org/

robocopy /mir changes destination folder name-how to prevent that

When I run a robocopy batch file that reads: robocopy "C:\Users\mgo\Documents" "E:\Documents backup on the UltraBay drive" /mir the destination folder gets renamed to "E:\My documents" WHY? How to keep that from happening? What arguments can I use to preserve the destination folder name? This only happens when doing robocopy from a SYSTEM folder (My documents, My pictures, etc) but not when I create a non-system folder and copy the contents to a non-system destination folder that I created. Then the destination folder name does not change. Obviously, it's a Library/System folder thing...

Win7: Invert Colors Of One Specific Window

I often use ctrl+alt+I and windows magnifier to invert the colors of my screen, to make bright windows easier to read. The problem is that, eg, some windows are naturally dark and some are naturally light, and so I find myself often toggling the inversion as I switch between windows. I would like to be able to apply preferences on a per-window basis: eg, my email client is white-based and I would like to keep it always inverted. Is there a way to accomplish this?

Will I be able to reactivate Windows after Motherboard Change?

My computer is a custom-built machine, and I want to upgrade the motherboard, processor and RAM. I am running Windows 7 Pro, and am using a valid volume license that we own. After I upgrade the motherboard, I want to use my same hard drive and don't want to reinstall everything. Will I be able to reactivate Windows with my volume license? (there is another part to my endeavor, but I posted a separate question for it) Answer The answer is most likely yes. A change of motherboard will always trigger a reactivation. That vast majority of times, you can complete that without any problems.

windows - Your USB can perform faster?

I get this message "Your USB Composite Device can perform faster...". I am sure that both the device and the USB is USB 2.0 (by testing using another USB 2.0 device into the very same port,...), why this could happen? As shown in the picture, my USB Composite Device already plugged to a bold Hub, and also the word "Enhanced" indicates it already plugged to a USB 2.0 port. Answer Is the physical USB port that you are plugged into soldered directly onto the motherboard, or is it connected via a cable... as all Case Front USB ports are? It is completely possible that the device is USB 2.0, and the header on the motherboard is USB 2.0, but that the port or wiring for the port connected to the header is NOT USB 2.0. Of course, this is a relatively specific situation, but we don't know the specific details of your situation. There is even the potential that the issue is the cable between the port and the device.

windows 7 - Update HKCUControl PanelColors Background via CMD and apply immediately?

Hello all and thanks in advance for any assistance! Every time I restart my PC at work, the group policy goes into effect and changes the background color of my system to the company default. In Windows 7, because the color of the background is a lighter color, it makes all icon text dark and impossible to read with my dark wallpaper. Also, if I remote into my machine and disable UI options for a smoother experience, the background is the very bright default color rather than a wallpaper... All that said, essentially I resort to changing the background color to a darker color manually by navigating to the "Window Color and Appearance" window and setting the Desktop color to a dark color. So, I began looking for a way to automate this change, and my first thought is to create a simple BAT script and launch it from my Startup folder. I've figured out how to update the register entry for this particular color change, but I can't seem to figure out how to make it take eff

networking - What does it mean for proxy server to be of "HTTPS" type?

What does it actually mean for proxy to be "HTTPS proxy"? On the internet you can find many sites with free public proxies and some of them allow you filter them by their type. While I understand how regular HTTP proxy works, how it's different compared to HTTPS proxy? Is HTTPS proxy the one that allows accessing sites that are https:// (via CONNECT tunnel to port 443)? What happens when I try to access regular http:// site via HTTPS proxy, is the connection between my computer and proxy server encrypted? Or it goes all the way in plain text? My thinking is that: HTTP proxy allows regular methods like GET , POST etc. HTTPS proxy allows regular methods but also allows CONNECT *:443 method. Answer A proxy can be both an HTTP proxy and an HTTPS proxy if it supports the CONNECT command. If it does not support the CONNECT command, it can only do HTTP. During normal operation, the HTTP proxy receives the HTTP request, and is "smart enough" to understand it a

command line - Use ffmpeg copy codec to combine *.ts files into a single mp4

I've got a bunch of ts segments described by a single index.m3u8 file: index.m3u8 segment1_0_av.ts segment2_0_av.ts segment3_0_av.ts segment4_0_av.ts segment5_0_av.ts I know they are all encoded the same way. ffprobe gives me the following: Input #0, mpegts, from 'segment1_0_av.ts': Duration: 00:00:10.00, start: 0.100511, bitrate: 1251 kb/s Program 1 Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 12.50 fps, 25 tbr, 90k tbn, 25 tbc Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 105 kb/s Stream #0:2[0x102]: Unknown: none ([21][0][0][0] / 0x0015) I'd like to combine them into a single mp4 container. But when I try commands like: ffmpeg -f concat -i filelist.txt -c copy output.mp4 where the generate the filelist.txt from the index.m3u8 file, it complains about not being able to read various files. But converting the ts files themselves seem to work fine. I thi

Conemu: How do I make several console windows in one tab from task file?

How to make several console windows in one tab from task file? I want to make a grid 2×2 of consoles in one tab. I can do it by hand when create new consoles and select "To right" or "To bottom" options. But I want it to be created automatically on start up. Option "autosave/restore opened tasks" is unabled for some reason. So the only way is to create it in task. So, how can I create 2×2 grid in task? Answer This is your task contents. Checked in ConEmu build 120909. >cmd -cur_console:n cmd -cur_console:s1TVn cmd -cur_console:s1THn cmd -cur_console:s2THn This is an example. Splitting in ConEmu may be as complex as you want, any configurations with any proportions are possible. Read project wiki for more information about -new_console and -cur_console switches. To run all that without creating new Task There is /cmdlist ConEmu.exe 's switch. Usage example for shortcut contents (on desktop, for example): ConEmu -cmdlist cmd -cur_console:fn |||

windows 7 - How to setup a new homegroup in Win 7 when there is another homegroup setup on the network

I live in an appartment with three people and one of these people has setup a homegroup without my knowledge. He has left on a long holiday and won't be back for some time. I need to create a group to share files with the other person who lives with me, so we need to setup our own homegroup or gain access to the current one. Here are some facts about the situation to consider before answering: 1) The person who setup the homegroup is the only member of the homegroup 2) I am not joined to this homegroup 3) I don't know the password of this homegroup and I can't find it out without access to his computer or being a member of the homegroup. 4) I don't have access to the person who setup the homegroup's computer 5) When I go to "Network and Sharing center" in Windows 7, there is no option to create a new homegroup, there is only the option to join the existing one. What is the solution here? Answer Steps to create a new homegroup with another homegroup on th

Reverting ubuntu updates

I recently installed automatic updates on my ubuntu system and now ubuntu won't load into graphical mode. I have a dual screen setup and manually configured my monitors before. Is there a way to revert to before I installed the updates?

Microsoft Office alternative for Windows?

Is there something similar to Office for Windows but free? I am student living on a budget, Office is not an option at the moment. Answer Try OpenOffice.org Edit : Since the creation of this post, many if not most of the supporters of OpenOffice.org have migrated to LibreOffice , which was originally based on OpenOffice.org and now has a more active development than its parent project.

ffmpeg: Turning images/audio into video with ffmpeg

I am using ffmpeg to turn a sequence of images ( img001.png , img002.png , and so on) into a video ( output.mp4 ) using the following command: ffmpeg -r 1/5 -i img%03d.png -r 25 -qscale:v 2 -shortest -codec:a copy output.mp4 The result is a video that displays every input image for five (5) seconds. Is it possible to have ffmpeg parse the filename paths and timings from a file? I tried the slideshow tutorial on the official ffmpeg website but the output displayed only the last image, briefly, at the end of the video. Is it possible to bundle audio files with those settings? For example: file 'image001.png' file 'sound001.wav' duration 5 file 'image002.png' file 'sound002.wav' duration 2 file 'image003.png' file 'sound003.wav' duration 3 Image001 is displayed for five(5) seconds while sound001 is being played back and so on. Answer The concat demuxer method in the slideshow tutorial is the way to do this. Did you repeat the last imag

vim - tmux printing u'0x001b' and "]112" randomly

So I've lived with this problem for several weeks now, hoping that if I just let it happen enough, I would figure out the underlying trigger. No luck. tmux in bash in gnome-terminal in XMonad on Ubuntu 14.04.1 LTS (clean install). same bug in when instead of XMonad I use vanilla Unity (even clean installed). It seems that every now and then something is printing the character u'0x001b', superimposed over a ']' character in the string "]112" instead of recognizing this as escape followed by some numbers, tmux prints it verbatim to a (random) position on the screen. Recently, the string "]112" has also started to appear without the unicode character very occasionally. It appears that if the characters go off the end of a vim line, replacing the first one can sometimes leave the others intact. Anything that forces a redraw of the rectangle holding the unicode character gets rid of the whole sequence of them. In Vim, I can delete each individual ch

Windows 7 side Taskbar: how to have multiple icon columns?

NOTE: I know this can be done with the taskbar on the bottom. I seek the solution for a taskbar on the side. I attached a picture of what I mean. In the screenshots, you can see that my taskbar program icons are arranged in a single column. I want to be able to have multiple columns. This would mean arranging the icons into squares and have them be placed side by side, as well as above and below one another. This can be accomplished with taskbar being on the bottom of the screen, however, I require this arrangement when I have my taskbar on the side of my screen. Currently if I expand the taskbar horizontally, it only stretches out the icons horizontally rather than turn them into small squares to make room for side by side and placement of icons. Additional icons that I add to my current taskbar are only accessible by using the horizontal scroll bar that appears at the bottom of the taskbar when there is no more space to accommodate any more icons. Answer Okay - I kind of found a wa

Microsoft Word Variable without Macro

Is there a way in MS Word 2007 (& up) to have a document variable that I can define and have updated across the document when I update that variable's value. For example: My crazy neighbor has cats!!! I want to be able to define as 9 and be able to have the document print/show 9 instead of . I believe I've seen solutions where I can define variables in one of the document macros and then reference them using fields, but I'd prefer to do this solely via a GUI if at all possible. Answer I'm fairly sure Document Variables can only be set through macro, therefore since that is not a "GUI" option that is counted out. You could achieve the same using Document Properties. Click the Word Ribbion . Choose Prepare . Choose Properties . In the panel that appears click the Document Properties button and choose Advanced Properties . Go to the Custom tab. Enter in a name and value for the property and press Ok. Now insert a DOCPROPERTY field with the name you cho

Excel - display text different to the actual value?

I would like to have a a cell that has the value 1,2,3 ... or 10 but it will show some text - but when I use the cell value in formulas it should use the numbers! For example: Cell A1 displays a word Apple but has a value of 1. Cell B1 displays a word Orange but has a value of 2. Cell C1 will have a formula =A1+B1 , but would display a value of 3. Answer You can do this with custom format: Select cell A1, go to Format Cells->Number->Category->Customer and enter "Apple" in the Type field. Repeat the process for all other cells. However, note that this "information hiding" is not best practice, as this makes your file hard to audit/debug later. Better use a hidden column to store the values - and type the names directly!

Ubuntu Windows 10 Dual boot with TPM & Bitlocker

I have the factory installed copy of Windows 10 with Bitlocker enabled (I don't want to disable it), the EFI partition exists (System Reserved Partition). I installed Ubuntu 18.04 so I can dual boot, while installing I chose a 3 different partitions on my SSD for "/", "/home" and swap area. I chose to install the GRUB bootloader on the SSD as a whole not a specific partition on it so I guess that would make it install GRUB in the EFI partition? Current state: boots into GRUB menu and if I chose Windows, it asks for the recovery key every time. I want to uninstall grub and return to the Windows Bootloader/boot manager without reinstalling Windows. Then boot by default into it and have the option to chose to go to GRUB or Ubuntu directly as this tutorial https://stomp.colorado.edu/blog/blog/2011/12/05/on-dual-booting-tpm-linux-windows-and-bitlocker/ says.

disk cloning - partclone.btrfs thousands of correctable csum errors

I just cloned a btrfs file system from one disk to another using partclone.btrfs --dev-to-dev . Afterwards, I mounted the cloned file system and started a scrub to see if everything is in order. After a while I checked the status and was shocked to see hundreds of thousands of correctable csum errors. Should I be worried? Since they are correctable errors, I guess it's OK, but still. Is this an expected result of the cloning? I'm using Oracle Linux 6, i.e. kernel 3.8.13. Thanks for any insight in advance.

networking - Why is my router limiting the speed of connection?

I pay for a 50Mbit/s connection. When I connect modem from ISP directly to my PC, the speed is OK. But since we share this connection, I have to use router. It's nothing archaic, TP-LINK TL-R402M , but when I connect modem to this router, and then PC to router the speed drops to 10Mbit/s (even when noone else is connected). I have absolutely no idea what causes this, I tried replacing a cable, even borrowed a router to try it with it, but it still acts the same.

file transfer - Which is faster, copying everything at once or one thing at a time?

I am transferring a bunch (20+) of large (1GB+) files to my external flash drive over USB 2.0. Is it quicker to just sling them all over at once (as in one at a time but not waiting for the previous transfer to finish) so that there are multiple transfers going on, or transfer one, wait for it to finish, transfer the next. The files are coming from a variety of locations so I can't do one single big transfer. Are there any other advantages to one way or the other that are worth considering? Answer If they are all coming from different physical disks, but being written to a solid state drive (flash, SSD) then you can copy them simultaneously. The physical head movement (latency) is what will slow a transfer from a spinning platter disk. If you were copying from a single HDD, then you would start a single big transfer rather than lots of small ones. The head going back and forth between two or more files that are being copied is what slows the transfer. Of course you would get the

virtualization - How to select paravirtualization interface in VirtualBox?

Given a windows 8 host system (Intel Core i5) and a Linux Fedora host, I would like to determine the optimal setting for the paravirtual interface. Options are none Default Legacy minimal Hyper-V KVM This page suggest the selection is only based on the guest system: The biggest change in VirtualBox 5.0 is the introduction of paravirtualization support, bringing higher performance and time-keeping accuracy to supported guest operating systems (Hyper-V on Windows and KVM on Linux). Is that correct? Answer The VirtualBox Manual , in the section titled Paravirtualization providers explains very clearly when each should be used (emphasis added): Minimal: Announces the presence of a virtualized environment. Additionally, reports the TSC and APIC frequency to the guest operating system. This provider is mandatory for running any Mac OS X guests. KVM: Presents a Linux KVM hypervisor interface which is recognized by Linux kernels starting with version 2.6.25. VirtualBox's implementati

How to create a FileFolder in Windows?

Windows has the ability to create shortcuts. When you do, they appear as shortcuts in the files section of a folder. To create one, you right click, new, shortcut, or copy and paste as shortcut amonst other options. However, windows also has something called a FileFolder, which is a shortcut that is treated like a folder, rather than a file. So with sorting, it appears in the folders location, it appears in the folderviewpane and from the addressbar. Now, there's also the symbolic links, which is similar to FileFolders, but one thing a symbolic link cannot do, is be placed on a network share and point to a folder on your local computer that is not shared, and if you open that link from a different computer, it opens on their computer instead, like a normal shortcut would do. A way to create a FileFolder is to use the Add a network location wizard and link to it. So far I figured out that the location of this FileFolder is: %AppData%\Microsoft\Windows\Network Shortcuts Opening this

windows - Unable to open WP8 emulator within Visual Studio (opening from Hyper-V manager works)

Now this problem is (so it seems) directly connected with this issue: No Internet access on Windows Phone 8 emulator (despite working connection in Windows 8) I will explain in a minute, as to how. I have a problem running emulator within Visual Studio. When I try to deply my application(to which stage I cannot arive, cause the emulator cannot load fully to begin with) the emulator shows and the message is displayed that the emulator is being started, but nothing happens for about 5 minutes, and afterwards I get this message: http://social.msdn.microsoft.com/Forums/getfile/187008 "The Windows Phone Emulator wasn't able to connect to the Windows Phone operating system" Strangely enough the emulator runs without any problem(and in matter of 15-30 seconds) if I try to start it within the Hyper-V manager. Now let me go back to why this issue is connected to the one I mentioned earlier. When I share my main connection with the Emulator Virtual Switch I get the error I describe

Transferring large files (1GB+) over internet, securely, one time only

Possible Duplicates: Best method of transferring files over internet? Free way to share large files over the Internet? I have been asked to design a system for transfering large files (1GB+) across the internet. These files are pdf documents that customers need to download from my website. I have never built anything like this before, and I'm not sure what hardware or software would be best suited to this, or whether it would be best to host it internally or externally. Any advice or recommendations for hosting would be much appreciated. Answer We use LeapFile: http://www.leapfile.com/ It is not free, but it is very reliable, and it works great. Read the "Why LeapFile" web page for more info: http://www.leapfile.com/why-leapfile

batch file - Set enviroment variable setx

I am setting a environment variable with setx(win7) in a cmd , that I started from a batch file, if I close the shell an open a new from batch file again and use Set command to check it, I do not get this new variable. I can see the variable via windows and regedit, had someone an Idea what I do wrong? EG. Batch: Rem set some local variables Set varableA="test" ... Start /B cmd.exe /k In the opened shell: Setx -m variableB value --> set system envirtomet vartiable Close shell an run batch again In the new shell: Set var And thgerre is not variableB but in Windows an registry I can see it

windows - How do I split a large WinRAR file using WinRAR?

I have a .rar file, (already compressed) and I need to split it. Can this be done through the WinRAR UI? Answer Yes, you can do it using WinRAR. Open WinRAR window and navigate to the folder which your file is located in that WinRAR window. Right click on your RAR file and select " Add files to archive " (alternatively you can press Alt+A). In the opened window, give a new name to your to-be-split file (e.g. Archive_2.rar). Then, under " Compression Method ", select " Store ". Input your desired value inside " Split to volumes, bytes " box, click OK and you're done.

Excel - Plotting different y-values on top of same x-values

I'm trying to figure out a way to plot my data so that values in the same category are stacked on top of each other like this: But whenever I go to plot it I end up with this: I've been searching for similar questions but end up finding much more complicated problems I don't understand. Answer There are probably a few ways to do this. Here's one. I didn't have ready access to Excel, so I did this in LO Calc. The menus are a little different, but I'll describe it. Without a lot of customizing, I produced the basic chart: Here are the key steps. A chart type that treats X values as categories will see apples and bananas as labels, not category names. Even though you have multiples of the same name, each entry will be plotted as a separate sequential value on the X axis, corresponding to item 1, item 2, etc. So I used a scatter chart. I added a column of X values, using 1 for apple and 2 for banana to force the values to the right position on the X axis. I select

macos - Should I put my MacBook Pro to sleep, or shut it down every day?

So. I have this Mac Book Pro 3.06 GHz. Coming from Windows Laptops I'm use to ALWAYS as ritual no matter what, shutdown the operating system. I have this feeling of not doing so affects the performance in the long run. My friend who have used Mac for about 10 yrs or so jut put down the lid and just recently I've heard from others who haven't shutdown their MBP for months. Still I have this strong feeling. Is it ok to just put down the lid at the end of the day and leave it like that? Answer I have a 2 year old 3rd Generation Macbook. I have only ever rebooted the machine when a Software Update or install requires it which is fairly rare, and when I used Bootcamp, which I have since removed. I have only had the battery completely die on me once. Recently I noticed that my battery is only charging to 96% capacity, but considering the use this is fairly standard. I still get 4-5 hours on a battery however, which is more then enough for my needs. Not to mention how impressiv

How can I open a new window in Google Chrome Metro Mode?

Whenever I click on Open a New Window in Google Chrome (Metro Mode) it opens a new tab. However when I click on open a Incognito mode I see a rectangular box which allows me to switch between two windows. Why can't it open a new window instead of opening a new tab? Answer You cannot open multiple windows in modern UI chrome, and that's the case even for incognito . You can see that it's obviously still the same application, because there is a switch between the 2 modes:

I can't set a program as the default to open a filetype with in Windows 7

I am attempting to set the default program to open a file with and I am unable to do so. I am using Windows 7 and the file extension I am attempting to set a default program to is bfa (*.bfa); the program that not only generates this file type but also the program which I am attempting to set as the default to open it is Blowfish Advanced CS ( http://bfacs.sourceforge.net/ ). When I right click a file and select "Open With", I go through the motions of trying to select the program: clicking "Browse" with "Always use the selected program..." checked and then I browse to the program. Once I select the program it fails to pop up as an option in the "Open With" dialog. I suspect the problem relates to the fact that the OS is 64-bit and application is 32-bit. Any suggestions on how to proceed?

How to change width of comment area in Microsoft Word 2011 for mac

I'm writing a report with Microsoft Word 2011 for mac using Comment functionality. Is it possible to resize the width of comment area ? That area is too large for my preference. Update In my "Track Changes" pref pane, there is no option which enable to change markup pane's width. Answer I cannot see any facility for doing this in the User Interface, but you can do it in code. As usual, there are a lot more steps than I'd want. At the bottom I have now added some VBA for insertion in your Normal template for those who are familiar with that. For VBA, not quite sure that you do not need to enable the Developer tab, but... Open your document and enable the View that you want to change (the width can be different for different views). Click Word->Tools->Macro->Visual Basic Editor . Ideally, try to organise the Word and VBE windows so you can click in both without hiding one or the other. If you cannot see a window titled "Immediate Window" in the

usb - Windows 10 is unable to load Android devices as MTP devices

I had recently upgraded my laptop from Windows 8.1 to 10. Since the upgrade, I am unable to connect my Android devices as MTP (or Portable Media Player) devices on Windows. The devices that I am using are Nexus 4, Samsung Grand 2 and Kindle Fire HD 7". Prior to the upgrade I was able to view these as Portable Devices. All of these are displaying as Android ADB devices. I have tried the usual procedure of deleting that from Device Manager, and choosing Windows to choose an appropriate driver. Windows 10 doesn't even display an option to add these as MTP USB devices or USB Composite Devices. I have attempted to connect these devices to another Windows 8 machine that I have and they work pretty fine. Can someone help me with a solution? Answer MTP is a protocol associated to Windows Media Player but Windows 10 does not include the WMP. The Media Feature Pack for N and KN versions of Windows 10 will install Media Player and related technologies on a computer running Windows 10 N

windows 7 - Computer Won't Boot Properly, unless in safe mode?

I bought a computer today and booted it up, but when I did I only got a blank screen. I checked to make sure it wasn't the monitor by connecting it to my old computer...it worked. I then tried connecting my monitor to both DVI ports and found that the bottom one did work. However, now it just boots up and says "loading windows" and then when the login screen is suppose to come up the screen just goes blank and monitor says "no input, check cord" (or something like that). I tried reinstalling windows and then I was able to log on normally. I used the CD's and reinstalled all the drivers, then rebooted...now I am stuck right back where I started. I tried taking out the RAM and inserting into different slots, that didn't fix anything. I was able to boot up into windows using safe-mode. I suspected that my ATI Radeon 6950 was the issue and downloaded the drivers, but I can't install them on safe-mode. Someone said to install C++ distr. and I tried doing

sql - How do you free up Disk Space on a Windows 7 OS?

I've downloaded the sqlexprwt_x64_enu.exe file which was around 700mb and I'm trying to open up the file, but I keep getting the error message of "Unable to find a volume with enough disk space for file extraction". I've been able to use the disk Cleanup Property to help gain extra hard disk space, but I only have 1.35GB left on my windows 7 partition. I'm unsure which files I can delete to gain more room. Any tips or suggestions are appreciated.

How do you shutdown or restart a Windows computer over a Remote Desktop connection?

When I connect to my Windows 7 desktop computer via Remote Desktop (MSTSC.exe), the options under the Start Menu are "Log Off" (the default), "Lock", and "Disconnect". How do I restart (or shutdown)? Answer Open a command window (or Windows Key + R ) and type the following... ...to restart: shutdown /r /t 0 ...to shutdown: shutdown /s /t 0

display - Is there any difference between a frame rate at a monitors refresh rate, and a frame rate above a monitors refresh rate?

If my monitor has a 60hz refresh rate, should I be able to notice any difference whatsoever between say 60fps and 500fps? Everywhere I read tells me that there's no difference, but I could swear I can notice something. As if the input lag is increased when I dip below, say, 80fps Answer You're probably not likely to notice a framerate above 60 fps, but you do notice if it ever goes below it. That's why 100 fps seems so smooth because you have a large buffer to drop down before you notice anything. :)

Accessing Time Machine backup from Windows/Linux laptops

I'm wondering if I can access my time machine backup from Windows or Linux computers... I'm just wondering what'll happen if my computer fails and I don't have enough money to buy a new mac... Answer It CAN be read from linux (By using Ubuntu for example) but it is a tough nut to crack. Windows can't do it at all. The following commands need to be executed as a privileged user. To gain the necessary rights do $ sudo su You should then be prompted with the root shell. The following came from http://hints.macworld.com/article.php?story=20080623213342356 It turns out Apple does a couple slick things with the file system to make incremental backups work, including hard linking to directories, which isn't allowed in Linux. So for anyone that needs to access their Time Machine from something other than its associated Mac, here's how you do it... 1 - Mount the drive. On linux, it should automount if you have gnome-volume-manager installed. If you don't see i

networking - How can I make bandwidth intensive applications have lower priority than other apps like web browsing/skype

When using bandwidth intensive applications like FTP/bittorrent/newsgroups these will often use all available bandwidth and consequently things like web browsing/video streaming/skype calls will become stuttery/unresponsive. I would like to allow the bandwidth intensive apps to be deemed lower priority, and only to use as much bandwidth as is not currently being used by higher priority applications. I don't want to have to manually pause a download when I start watching iplayer for example. Is there some way that I can do this? Currently most of my bandwidth intensive stuff happens on one machine and the video streaming happens on another, but both machines are used for browsing, so I would like a solution which works by giving priority not traffic on the same machine as well as traffic from different machines. Answer There are some routers that can handle this. I think D-Link refers to this feature as 'GameFuel', and the pre-sets prioritize one-line game traffic over oth

windows xp - Can't copy file with green filename, access denied

Using Windows Explorer under XP I see some of my files have green filenames. When I try and copy one of these files I get an error reporting Access denied. The My pictures folder also appears with green text and I have a large number of photos from family holidays I don't want to lose. I need to backup these files as I'm changing laptop soon. We use SafeBoot to encrypt our hard drives but I don't think this is the problem as it allows me to copy other files to removable media with no problems. Has anybody come across this before and how can I resolve this? Answer Your files are probably encrypted . Reference: Using File Encryption . TechNet reference -- Encrypting File System in Windows XP Because of the unique nature of encrypted files, different results can occur when moving or copying encrypted files between locations. For example, when copying an encrypted file from a local machine to a server on the network, different results of the copy operation will occur dependin