Skip to main content

Posts

Showing posts from August, 2015

upgrade - How to resolve Windows 10 installation error FIRST_BOOT, MIGRATE_DATA?

Trying to update my German Windows 8.1. Professional to Windows 10, it fails after about half an hour with the (German) error message: We've set your PC back to the way it was just before you started installing Windows 10. 0x80070004 - 0x3000D The installation failed in the FIRST_BOOT phase with an error during MIGRATE_DATA operation I've looked into the Windows Event log (and found nothing meaningful) and also did a Google search which leads to this chinese post which suggests a solution that I do not understand (after translating). My question: Any hints on how to resolve the error that occurs during the installation? Update 1: The chinese post Google-translated to English suggests: We recommend that you set for automatic windows update. If the download is complete, in which tips off network may try to install during the installation stage. If that does not work, please wait for a new installation after the 29th win10 official release! Update 2: I did again try to install: ...

Is it possible to permanently disable group policy updates on Windows 7?

Is it possible to disable updates to the group policy? I see an option to set an update interval to 45 days - can I disable all updates completely? I want to stop stuff from the corporate network from overwriting the hacks I make locally. Answer Don't do this. Your system administrator will know if you disable group policy completely. On top of that, many administrators use GPOs to deploy and manage software. When your computer doesn't report back as having the most recent version of the software, an Admin's head will tilt to the side slightly - and he's going to investigate the reason. It is MUCH easier to override specific GPO objects you don't like, such as your home page being set in chrome (which could also be part of the way the software is deployed as much as a GPO object, as GPO generally only applies to M$ products). - Check this out - https://serverfault.com/questions/593937/can-i-override-domain-group-policy-with-local-group-policy-as-a-local-admin If y...

google chrome - Extract pdf / image from doc88 Flash viewer

doc88.com uses some kind of encryption to protect pdf files. I used Chrome developer tools and found that it loads .ebt file. I think its encrypted Pdf / Swf file. I found the following reply Here but i still cannot download the pdf file. Can anyone help ? Okay. The encryption that docin.com uses is absolutely unknown to me, but I determined that doc88.com probably uses software from cryptbot.com, through I was unable to extract the key: it's probably buried deep into the flash viewer. – whitequark

windows xp - Is it possible to lock the mouse to one screen?

I have a dual-screen setup, but it bogs me that whenever I play a 3d game and want to scroll somewhere by touching the edge of the screen with the cursor, it moves to the next screen. The (relatively) impractical solution: Disable one screen while playing. Disadvantages: No use of screen while disabled Icons on desktop get rearranged every time I do this It would be Ideal that if I Alt-Tab out ouf the game the lock would be disabled. BTW: I'm on Windows XP Answer WMC is an extended version of Warcraft III Mouse Capture. It allows you to lock the mouse within a specified window (not just limited to Warcraft III). The primary use of this program is to have a game (in window mode) on one monitor and applications such as IM and internet browser on another. Without WMC if you move your mouse to the edge of the screen while playing your game, your mouse will just leave the game. You wont be able to aim!

How to remove or disable Ease of Access button on Windows 7 login screen

Question refers to Windows 7 Professional 64-bit. When I lock my computer I don't want people to be able to mess about with it, so would like the Ease of Access button (in the bottom left corner of the logon screen) to either be removed or disabled. Does anybody know how to do this? Thank you for your help :-) Answer The following steps will remove the button completely: Create a backup of your Authui.dll in C:\Windows\System32 Open C:\Windows\System32\Authui.dll in a resource editor (PE Explorer) Go the the UIFILE folder and double-click the 12400 XAML file Find this text Delete everything following that text - it should be 46 lines - stop at Save/close the file and do steps 4 and 5 for the 12401 and 12402 XAML files If you feel uncomfortable modifying system files, there are also third-party apps that will disable the button. If you are using 64-bit Windows edition, you'll also need to replace authui.dll file present in "C:\Windows\sysWOW64\" folder.

networking - vpn using dynamic DNS connected but no internet (openwrt router as server)

I have setup a router as server with openwrt. I have added the Dynamic DNS configuration.(I created an account with noip) When I try to connect through openvpn (in a free wifi) , I am using my domain as gateway,it shows connected to my vpn but I have no internet access. From the DNS configuration (noip) I am using Host type: DNS(A) Is there something else I must do/check? I also have already done on router: config 'rule' option 'target' 'ACCEPT' option 'dest_port' '1194' option 'src' 'wan' option 'proto' 'tcpudp' option 'family' 'ipv4' The route -n after connected: Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 wlan0 79........... 192.168.1.254 255.255.255.255 UGH 0 0 0 wlan0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0 192.168....

performance - Lenovo Y50 laptop does not perform well when Discharging

I just bought this laptop (Lenovo Ideapad Y50). I'm playing games such as Battlefield 4 (upto date DLC) and WatchDogs. Even though I set battery manger to High Performance mode game doesnt works well unless I put back the Battery charger power cord to ON. On Discharging my FPS in Battlefeld 4 (64slots server) - 30fps On Batter charging mode FPS 60fps both in HIGH Settings. Answer NVIDIA cards and Intel chips are all sporting power saving features these days, and your symptoms will primarily have to do with the NVIDIA card's performance level when taken off AC power. Regardless of the user's preferences, these cards will automatically drop to a lower performance level when running on battery power. It is possible to force them to maintain top performance while on battery, but registry hacks will need to be employed, and it will drain your battery in double quick time. There's a long post about it here . By the time you get to the bottom of page 5 you'll have the r...

terminal - Binding a command in tmux without using the prefix key

Is it possible to bind a tmux command to a key combination and use it directly without first pressing the prefix? I find C-b + n too cumbersome to switch panes, so I was wondering whether I could bind C-1 for example, to switch to pane #1. Or perhaps there may be a way to make the shortcut in the terminal emulator to send C-b + 1 when I press C-1 ? Thanks! Answer for your example, use: bind-key -n C-1 select-pane -t 1 the -n argument to bind-key means no prefix.

boot - Windows XP stuck on loading screen

Since yesterday my Windows XP install is stuck on the loading screen (XP logo and "progress bar" constantly moving). I waited more than one hour but nothing more happened. Before this problem occured I didn't install anything new (no driver, no update...), just read some blogs. What I did : restored to a previous restore point (successfully). No change. I don't know why but I had only one restore point. tried to boot with "last known good configuration". Problem remains. the computer boots in safe mode, so I did that and used msconfig to try different boot modes. Each time I restarted, the problem remained. I even tried the "load almost nothing" option :). edited BIOS config to reset to default values. back in safe mode : installed Ccleaner and Spybot, ran both. Nothing important detected. ran a full system virus scan (antivir) performed chkdsk with all option checked on all my hard drives. Nothing on that worked so I went one step further : used w...

windows 7 - What is switchable graphics?

I bought a new laptop with Switchable Graphics. Ok, I get the idea that one graphics card is for 'serious' use, while the other is low power. But, what exactly is this serious use I may encounter? And how much battery power will I kill just by leaving the graphics card defaulted to the (high power) GPU?

compression - Why does zipping a zipped file not reduce its size?

Based on the idea that a zipped file is a new binary file, why can't I reduce a Zip's size by zipping it again and again – up to a very small resulting file? Answer Based on the idea that a zipped file is a new binnary file, why I can't reduce it's size by zipping it again and successively up to a very small file? Because compression works on the basis of finding patterns and reducing data that is similar. For example, RLE (Run-length Encoding) is a simple compression method where data is examined and runs of similar data are compressed down as so: AAABCEEEJFFYYYYYYYYYYOOAAAAGGGGGAAA becomes 3ABC3EJ2F10YOO4A5G3A As you can see, by replacing repeated data with just the data and a count of how many times it occurs, you can reduce this specific example from 35 bytes, down to 20 bytes. That’s not a huge reduction, but it’s still 42% smaller. Moreover, this is a small, contrived example; larger, real-life examples could have even better compression. (The OO was left alo...

Deleting C:WindowsInstaller files safely on Windows 7 after running WinDirStat hard drive space usage report

Has anyone successfully deleted the Windows Installer files successfully before? They are taking up 35.1% of my total hard drive space. Which ones are needed and which ones can be purged? In order to see this folder, I had to unhide system files by going to Windows Explorer > Organize (dropdown) > Folder and Search Options > view tab > uncheck ==> Hide protected operating system files (Recommended). I used WinDirStat program to get these percentages. To see the image in full size, open it in a new tab. I was told by someone that you should not delete these files, but then I found a utility--Windows Installer CleanUp Utility (very old version) that deleted these. But it doesn't run on Windows 7. If anyone has a later version that they found works, please let me know the path. Answer I once deleted the contents of that folder to save disk space. It's not an issue as long as you don't plan to ever uninstall any application from your system ever again. When you...

Extracting multiple numerical values from mixed characters in excel worksheet

I have a column containing cells with two numerical values, separated by an asterix... e.g. 12.5*3.4 How can i extract the smaller number of the two into one new column, and the larger of the two into another separate new column? Answer If your cell with the data is A1, this will give you the smaller of the two: =MIN(LEFT(A1,FIND("*",A1)-1),RIGHT(A1,LEN(A1)-FIND("*",A1))) To get the bigger, change the MIN to MAX .

windows 8 - This app can't be activated when UAC is disabled

I'm using Windows 8 and since I'm a developer, I need full control over my PC. However, Window 8 doesn't have an straightforward way to disable UAC, and even by dragging the relevant slider to the lowest level, user account won't get administration privilege, which is testable easily by opening a command prompt and not seeing Administrator at the title. However, when you disable UAC through regedit, (now known as EnableLUA hack) you lose Metro Apps. I want to both be the full admin of my account (not administrator user, my own user), and at the same time, I want Metro applications. What should I do?

windows 7 - How to delete Chrome temp data (history, cookies, cache) using command line

On Windows 7, I tried running this script but still cannot clear Chrome temp data. Can someone figure out what's wrong with the script? Where do Chrome store history and cache ? Thanks ECHO -------------------------------------- ECHO **** Clearing Chrome cache taskkill /F /IM "chrome.exe">nul 2>&1 set ChromeDataDir=C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default set ChromeCache=%ChromeDataDir%\Cache>nul 2>&1 del /q /s /f "%ChromeCache%\*.*">nul 2>&1 del /q /f "%ChromeDataDir%\*Cookies*.*">nul 2>&1 del /q /f "%ChromeDataDir%\*History*.*">nul 2>&1 set ChromeDataDir=C:\Users\%USERNAME%\Local Settings\Application Data\Google\Chrome\User Data\Default set ChromeCache=%ChromeDataDir%\Cache>nul 2>&1 del /q /s /f "%ChromeCache%\*.*">nul 2>&1 del /q /f "%ChromeDataDir%\*Cookies*.*">nul 2>&1 del /q /f "%ChromeDataDir%...

website - DNS lookup in internal network

I am having trouble with figuring out how to change the lookup of my internal website. As I am a software developer not a network specialist so I can't seem to figure out how to go about this or where to start. So here is my issue. I have an internal website and I have it setup on my serer using IIS 8.0. To access this website using a client computer I need to type the server's IP address into the browser address bar. What I am looking to do is change the DNS lookup (I think it is a DNS lookup) so I can type in a name for the site (eg. "operations"). When the user types in operations into the browser it will navigate to my website. Any help is appreciated. I am using Windows Server 2012, Windows 7 64-bit, and Google Chrome.

android - HAXM installation failing on azure

While installing Android studio on windows 10, Azure machine. I am getting below error. Unable to install Intel HAXM HAXM doesn't support nested virtual machines. Unfortunately, the Android Emulator can't support virtual machine acceleration from within a virtual machine. Here are some of your options: 1) Use a physical device for testing 2) Start the emulator on a non-virtualized operating system 3) Use an Android Virtual Device based on an ARM system image (This is 10x slower than hardware accelerated virtualization) I understood,it is mentioned to use a physical machine. But, is there any option we need to enable on Azure (or even on AWS, I will switch to that if it is working on it).? Please suggest.

Why have my network interfaces been renamed after installing Ubuntu, and how do I rename them back?

I have a low power server, with 4 ethernet sockets. It was running Fedora 11, with 3 of the network sockets named eth0, eth1 and eth2 (the final network socket was not in use --- it was eth3 but don't know for sure that it actually worked). I installed Ubuntu Server 10.04 on it this morning. While it was installing, it recognised eth0 and used it to access the internet. Now... it doesn't. It recognises eth1 as being eth1, and claims there is an eth5 somewhere, but doesn't recognise any other interfaces from eth0-eth7. I require 3 working ethernet sockets. I would like my ethernet sockets named eth0-eth3, as they were under Fedora. How do I make that happen? Why have they been renamed in the first place? Ethernet sockets have always popped up with the names I was expecting before, so I don't know where to start. There is some inconsistency in the hardware addresses three of the ethernet ports claim to have. Sometimes they claim to be at xx:xx:xx:xx:xx:xx , at other times...

windows - Browsers redirect to level3.com if domain does not exist

If I enter a URL incorrectly, my Firefox browser occasionally redirects me to http://searchguide.level3.com This occurs in Chrome too. I've restarted Firefox in safe mode, and it still happens I've restarted Windows 10 in safe mode, and it still happens I've installed Hitman Pro Alert. The scan found nothing, and could not prevent the redirect. My HOSTS file is clean. My ethernet settings IPv4 properties use Google's DNS: 8.8.8.8 and 8.8.4.4 The only other issue I have is when visiting http://www.moneysavingexpert.com which produces numerous pop-up windows, unless I disable scripts. I have Comodo Internet Security (antivirus and firewall) installed, and it identifies nothing. Any other suggestions?

macos - How to troubleshoot problems sharing internet connection via WiFi on OS X

I am at a hotel, plugged into their network via Ethernet on my MacBook. I want to share the connection via WiFi to two other computers. I went to Prefs > Sharing and set up internet sharing. I know it's working because my friend with a Mac can access the net. My friend with the PC can see the network, but can't connect to it. In the sharing prefs, airport options, I chose these options: Channel: Automatic Enable encryption: yes WEP Key length 40-bit password length: 5 chars (as specified in the instructional text) Update: I tried it with encryption turned off, and it works. Of course, I'd rather not do that... Any ideas?

ffmpeg - Convert AVI (Xvid) to MP4 (H.264) keeping the same quality

I want to compress an AVI file to MP4 using an h.264 codec. I could not get the same quality. How can I compress it? Original Video: Original Video Screen: FFmpeg console output ( ffmpeg -i input.avi ): FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 28 2012 10:03:40 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4) configuration: --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-x11grab --enable-libopencore-amrnb --enable-libopenc ore-amrwb --enable-libdc1394 --enable-libfaac --enable-libmp3lame --enable-libop enjpeg --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 ...

microsoft outlook - Account based Conditional Formatting

I have two accounts in Outlook 2013, my work Exchange account and my personal Hotmail account. I am trying to conditionally format the tasks and emails in my To-Do List based on which account they are in. Here's a sample. TASK SUBJECT OUTLOOK DATA FILE IN FOLDER OWNER DESIRED COLOUR Fix that bug. me@work.com Tasks Me Black Request for review. me@work.com Inbox Black Send birthday card. me@hotmail.com Tasks Blue Game patch released. me@hotmail.com Inbox Blue I have attempted to create the conditional format to turn the text blue: When Outlook Data File is (exactly) me@hotmail.com Font colour blue No effect. Similarly: When Outlook Data File contains hotmail.com Font colour blue No effect. I thought it could be a format ordering issue, but the following condition does change the text colour. It colours all Hotmail items and flagged work emails, not quite what I want: Whe...

macos - Rename Iterm2 tab from within tmux

I can use the following function to rename a iterm2 tab and that works great. function rename_tab { echo -ne "\033]0;"$@"\007" } However, if I run this function while in a tmux session, then nothing happens. Any idea how to make this work while in tmux? Thanks! Answer You can use the tmux option set-titles In my .tmux.conf I have the following line: set-option -g set-titles on You will need to restart the tmux server (kill existing sessions) or re-source the file before the change in your config takes effect. You can also run this for an existing session with :set-option set-titles on

software rec - Looking for a good annotation tool for PDF documents on Windows

I noticed that on my Mac, the program Preview allows you annotate PDF documents. If I open up the same PDF file in Adobe Reader on the PC, I can see the annotations in the Comments pane, but I cannot create new ones. I'm guessing that both programs are using some standard defined in PDF documents for annotations. I'm wondering if there is any good utility that is similar to Preview on the Mac, which will allow me to make annotations. Since Preview is free on the Mac, I'm hoping to find a similar free solution for the PC. I noticed on the comparison page of Adobe Acrobat , that the Pro and Pro Extended versions allow you to make a document annotatable by Adobe Reader users. If a product simply enables this feature on a PDF document, it would be a good solution as well, since then I can use Adobe Reader for annotations. Answer Free: Paid:

Are the Radeon R5 230 and HD 6450 the same video card?

My godson received a new desktop computer at Christmas and asked me to take a look at the specs. When he bought it, he specifically asked for a graphics card that is able to render some of the latest games. Specifically he tried to play Crysis 3 at a resolution of 1920x1080 which was everything but not a fluid gaming experience. Picture was clear but once you moved around, everything got blurry and barely playable. I checked the computer management and found an entry like ASUS R5 230 L while on his invoice there was RADEON HD6450 2GB DDR3 . Searching on the ASUS site, I found two different pages: ..indicating they're different cards. But then I found a review on Youtube with the name "Asus AMD Radeon HD6450 R5 230 2GB Graphics Card Review and Testing" , basically listing both, HD6450 and R5230 as if it was one card!? Is someone able to solve my confusion? Answer The Radeon R5 230 is a rebranded Radeon HD 6450. They use the same underlying GPU and differ only by memory...

windows 7 - How can I keep my laptop fan on the entire time?

I have a fan on my laptop that doesn't turn on often enough. The computer doesn't crash, but becomes very laggy. When the fan turns on the computer starts running fast again. How can I keep the fan on? I use Acer Aspire 5733Z on Windows 7. I tried SpeedFan but it couldn't detect the fan. Answer You want the speed on your processor to stay up. instead of a feature where the cpu is slowed down to cool it. You may find some results in control panel..power options..high performance..change plan settings..changed advanced power settings..processor power management make sure it's minimum-100% plugged in. active cooling. maximum 100%. You may be on that already though. I'd also suggest using HWinfo, which will show you your cpu speed and temperature, and can show it to you in the tray. And you can see if your CPU is slowing down. Though that software may eat huge amounts of RAM so watch it! Also this question has some pictures of coolers you can use for your laptop, they...

perform a CHKDSK on an NTFS image?

I have a system with a hard drive that has a few bad sectors. I used ddrescue to recover all available sectors on the drive, but the drive continues to develop new bad sectors so I junked it. Two runs by the manufacturer tool indicated DIFFERENT blocks of bad sectors, and two passes with SpinRite both resulted in DIFFERENT unreadable sectors, so the drive is no longer reliable. The partition was on a 500GB drive, but only about 40GB of the partition is used, so I was going to replace the drive with a smaller drive (a 120GB) for now. All I have now is an image produced by ddrescue of the NTFS partition (e.g. /dev/sda1). This file is on my NAS and is a full 500GB in size. My dilemma is that all of the NTFS tools will not operate on the drive at all because there are a couple of inconsistencies due to the unrecovered sectors. Only about six sectors were eventually unrecoverable (only 3K!) but these are still throwing the NTFS filesystem into a fit. Therefore, I can't resize the part...

How do I create a default association for files with an unknown extension in Windows 7?

It used to be possible to set HKEY_CLASSES_ROOT\Unknown\Shell\Open\Command and then any unknown files would open with the specified program instead of seeing that “Open With...” dialog box. This applies to files with no extension, as well as files with .dat or .xyz or whatever. This page explains how: Vim Tip 185 Does Windows 7 let you do this? Answer It's still possible to do it this way. However, you must also set the default command for the Unknown key. By default is probably openas , but you can change it. Just set HKEY_CLASSES_ROOT\Unknown\shell default value to Open . Also, when you change HKCR keys those writes will be directed to their actual location, which is HKEY_LOCAL_MACHINE\Software\Classes . If there exists the same keys in the corresponding per-user location ( HKEY_CURRENT_USER\Software\Classes ) then that value will be used instead- just changing the HKCR value isn't enough, you'll need to change the HKCU value as well.

How can I downgrade Firefox?

I let Firefox auto update and I don't like some new feature, the new GUI, or it broke something. How do I roll back or downgrade? NOTE : Potential duplicate questions ( 1 , 2 ) did not come up in a search of SuperUser, but they did as suggested questions when I typed the title. Weird. Those other questions do not give instructions on how to downgrade Firefox, simply pointing to where you can find older versions. Such referring-only questions are no longer welcome on SuperUser. Answer There is no built-in rollback or downgrade function within Firefox. In fact, on their support page for the subject , they strongly insist that you do not roll back. I rolled back a longstanding, many times upgraded, Firefox 57 to the specific version and bit depth below. I did not manually uninstall Firefox, but was prepared for things to go sideways. YMMV. If you know better and don't want to heed their warnings, then do these steps: Download an older version of Firefox here . If you are trying ...

mount - Usable, free ISO file editor that runs on Windows?

I need a free (libre) utility for Windows that allows a person to edit an ISO file. The goal is to be able to: Mount the ISO file with the ISO filesystem being readable and writeable. Make changes to files in the ISO filesystem as needed via the utility. Unmount the ISO filesystem with changes being saved to the ISO file. How can I do this? Is there a utility, or do I need to build a toolchain? Answer There is no "free (libre) utility" that does all this. You can use 7-Zip to extract ISO images, WinCDEmu to mount an ISO image and InfraRecorder rebuild and write the ISO image to disc. 7-Zip, WinCDEmu and InfraRecorder are free open source programs (which is pretty much as 'libre' as it gets :). Portable versions of 7-Zip and InfraRecorder are available.

Sysprepping an offline Windows 10 system?

I'm trying to sysprep a Windows 10 machine that has no access to the internet (and cannot be connected to the internet). This seems like it would be an easy task but so far it's been an exercise in frustration. Here's what I've done so far: Ran sysprep. This did not work. It generalized the OS but when I boot back into it, I get an error saying that setup could not be finished an I should reboot and try again. Rebooting and trying again does not change anything. Googled previous error. Found a page saying to bring up a cmd prompt with Shift+F8, go to the oobe folder and manually run msoobe. This works great until I go through the OOBE and then it gets to "Just a moment..." and hangs. Forever. As long as I let it run. Googled THAT issue and apparently the OOBE tries to log into my Microsoft account that I neither have or will be using on this system. Instead of erroring out when it cannot reach the internet, Windows 10 helpfully waits for an unlimited amount of...

Extracting (or copying) files to a compressed NTFS folder makes Windows report the disk is full when it's not

I've been trying to extract a series of compressed files - total ~50GiB (uncompressed) - to a hard disk with about 55GiB of free space. Because this is a slow hard drive and with limited capacity, and since the content is highly compressible, I thought it would be a good idea to extract it to a new folder with NTFS compression enabled. Now, as the extraction progresses, if I right-click the folder at any given moment to see its properties, it'll report the correct disk usage (e.g. "size 4.5GiB; size on disk 2.65GiB"). But, if I right-click the drive , the properties window will report a much larger increase reported as "used space" - in fact, a little over than the sum of "size" and "size on disk". And this goes up to the point where the extraction fails because Windows reports the disk is full. After some research I found a comment in the microsoft forums : This problem has to do with a known Windows 10 bug. When you copy a file to a N...

Weird motherboard-USB-keyboard issue

In our company, we have many desktops with an ASUS P5G41T-M LX motherboard . We recently bought some cheap USB keyboards. I have tested these keyboards on a desktop with an AFOX INTEL G41 (IG41-MA) motherboard , and they worked perfectly fine . However, when I try to use them on any desktop with an ASUS P5G41T-M LX motherboard (in our company), I always get the following symptoms : Sometimes, I press keys and I get no response. When keys actually work, I frequently see the letter gets repeated multiple times, (e.g. when I try to type something like admin , I usually end up having something like aaiinnn ). Pressing two keys simultaneously doesn't work most of the time. The issues happen on all keys on the keyboard ( they are not tied to a specific range of keys on the keyboard , so there is no key that always repeats and another one that doesn't work. For example, pressing the same letter A might sometimes result in multiple aa and sometimes in nothing at all, and sometimes ...

wireless access point - Windows 7 hosted network

I have to use a wired conection to my PC and i'd like to connect my android phone to the internet over Wi-Fi. I tried using the new Wireless Hosted Network functionality in Windows 7, but my phone can't connect - it gets stuck at "Obtaining IP address...". The AP is working - it is visible in the list, but i can't connect. I'm using the following comands(as administrator): netsh wlan set hostednetwork mode=allow ssid=name key=password netsh wlan start hostednetwork Output of netsh wlan show hostednetwork : Hosted network settings ----------------------- Mode : Allowed SSID name : "name" Max number of clients : 100 Authentication : WPA2-Personal Cipher : CCMP Hosted network status --------------------- Status : Started BSSID : 70:f3:95:ad:a4:62 Radio type : 802.11n Channel : 13 Number of clients ...

vim - Vi only show 16 lines, how to show full screen?

My vim only show 16 lines, using terminator, how can i make it back to full screen? It is very annoying. Don't know what settings has to change.

On Windows 8 or 10, particularly on tablets with a permanently inserted SD card, is there a universal way to treat the card as a non-removable drive?

I have a tablet, a Surface Pro, and I have a micro SD card that is permanently inserted. I use it to store media files like music and video. Windows, recognizing that it is a removable drive, deletes files immediately instead of putting them into a recycle bin. In addition, applications such as SkyDrive and Dropbox refuse to sync onto the card since it is removable. I know that formatting the micro SD card NTFS, and mounting it as a folder on the C: drive, enables SkyDrive and Dropbox to sync onto the removable drive, but it doesn't affect file deletion. I've also heard that various USB drives can be altered to be treated by Windows as non-removable drives by flipping the removable bit. However, this does not appear to be an option for card readers, at least not the one in my Surface. Is there any way to enable the recycle bin on this drive, and generally make this drive be treated as a non-removable drive? Answer I've managed to solve my own problem, but it is not exactl...

codec - Optimal iPad video settings?

I'm converting some video to put on an iPad, and recently MPEGStreamclip has been producing unsatisfactory results when I try and load it onto the device. What are the optimal video settings for an iPad in terms of resolution, bitrate, codec, etc.? Answer iPad playable media formats: Video files MP4, M4V, MOV file formats. H.264 video up to 720p, 30fps, main profile level 3.1 with AAC-LC audio up to 160Kbps, 48kHz, stereo audio; MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30fps, simple profile with AAC-LC audio up to 48kHz, 160Kbps, stereo audio. Music and audio files in AAC, MP3, MP3 VBR, Audible, WAV, AIFF, Apple Lossless. Video/DVD to iPad Conversion Guide (Four ways) Remember that the end result depends a lot on the quality of the video you started with.

linux - Why is "source

I want to have a script to call with params which adds some aliases to my current shell. The aliases have to be builded in respect to the calling parameters and the current directory from where I start it. If possible I would like to NOT have to source the script, just run it like any other script. This is what I have done until now: I wrote a small shell script to generate some aliases, like echo 'alias foo="$1"' and save it as file "myscript" with +x rights. Then I execute it via console to set the alias $(myscipt hello) that works fine When I change my shell script like echo 'alias foo="bar $1 -param"' and execute again like above, the result is bash: alias hello" not found bash: alias -param" not found ???. I escaped already the blanks between bar and -param but can't get it work. when I execute source everything is fine like expected (That is my solution by now but not sure if it is the best). Some ideas how to get a bett...

windows 7 - Win 7 - Hidden properties of power management and weird performance

I just bought a new Alienware laptop. Benchmarks (like 3DMark 11) were great and consistent with reviews for the machine. But I had to reinstall the OS (Win 7 Pro x64), and, in doing so, I experienced a noticeable slowdown in the benchmarks. Now, I did the song and dance of drivers, etc. - using the drivers included from Dell on the enclosed DVD, using the drivers from the Dell website themselves, using drivers from the 3rd party manufacturers. Nothing helped- benchmarks were consistently a slower by the same amount than when I got it clean from the factory. After trying and trying and trying, I found that one program from Alienware - the control center - did seem to make a difference when I installed it. It didn't get me the full amount back, but it did move the needle. Control center basically includes several programs in it. The main one that's relevant here is the one that manages power profiles. I quickly realized it's just a wrapper around Windows's own power mana...

google chrome os - ChromeOS - Apps for supervised users?

My niece recently got a chromebook, and her parents added parental controls (supervised user) to her account. Unfortunately, they claim they only had the option of completely denying access to the app store or giving complete access. There's some apps and games she would like to install, which I could clear with her parents, but they won't open access to the entire store. Is there any other options? It would be great if we could install single apps directly, have some sort of whitelist, or they could go in with full privileges and access the store to install the apps. Answer Unfortunately not. Apps are tied to an email address, and for Chrome OS this would be the user that logs in. Supervised users work differently. They're not tied to an email address and so they cannot install apps. Basically, the two features (supervised users and chrome apps) are built on foundations that don't coincide very well. The Chrome OS developers are aware of this problem and that many pe...

windows vista - What is the difference between Sleep and Hibernate?

What is the difference between Sleep and Hibernate in Windows Vista? Answer Sleep is commonly known as Standby in Windows systems or S3 in ACPI. In Sleep mode, the power supply to non-essential and non-critical components is withheld, and most system operations are shutdown and stopped. All data in physical memory (RAM) is still kept in internal memory, and the whole system is placed in a standby mode, which can be woken up and used almost immediately. In Sleep mode, the power load reduces considerably, saving energy. However, the power to the machine must not be cut off completely. If power is lost, the system state will also be lost and the computer will behave as though just booted from a powered-off state. Hibernate , or S4 in ACPI, meanwhile will save the data in physical memory to the hard disk drive first, and then power off the computer. In Hibernate mode, a file named hiberfil.sys, which has the same file size as the amount of system memory, will be created on the local dis...

assembly - Run 16 bit program on 64 machine bit without dosbox

Is there an program that you can type into command line or terminal with a set of parameters to run a 16 bit program? Such as: "run16bitprogram.exe 'path/to/program/test.exe'" and just output whatever the program does in the console. If there are such programs, i would like them to be cross platform if possible. Here is an example image of the dosbox executed from Java: Here is the config file: Here is the code from java (ProcessBuilder did not even open DOSBox): Runtime.getRuntime().exec(new String[] { "C:/Program Files (x86)/DOSBox-0.74/DOSBox", "-conf \"C:/Users/Braden Steffaniak/Documents/GitHub/Workspace/ArrowIDE/res/assembly/new.conf\"", "-noconsole" }); The -noconsole command works, but if I add any -c parameters, it does not do anything. If I type the command in command prompt, it works as I expect it to. Answer It's definitely not possible on Windows, see the following MSDN article: http://support.microsoft.com/kb...

linux - How can I recover/undelete files from an ext4 partition?

Has anyone had success recovering deleted files from an ext4 partition? I've tried various utilities, but none have worked yet. I'd be grateful if someone can share a success story! Answer You may have luck with: http://extundelete.sourceforge.net/ However, I've never used it. Warning: typically these days, filesystems don't support undelete. Trying to recover deleted files is an exercise in computer forensics and you're going to be very lucky to get them back. In particular, if you have written any more files to the disk, chances are your deleted files will be gone forever.

partitioning - MBR recovery - Corrupted MBR after it changed to dynamic & testdisk gives up . No backup sector found

I had a Windows 7 installation on my 1TB SSD laptop with 4 primary partitions. I wanted to install Lubuntu Linux but the process failed with an error which kind of said: cannot write MBR It gave me an option to put an MBR somewhere else or to boot without MBR. None of these options worked and it became a useless install. After this failed dual boot attempt, Windows would give a BSOD wit Code 007 ending - translated to inaccessible boot device . That is a huge NTFS partition and I don't think I have any other media to back it up before formatting it. My only option is somehow rebuilding the old MBR. Hence I started creating a whole bunch of live USB boot environments including Super GRUB Disk and MiniTool Partition Editor Live CD, but none of this could ever help me recover my lost MBR. Win PE 4.0 reported the partition as bad disc and the latest version did not even have an option for MBR. I managed to create a live USB with Testdisk Running on Ubuntu. Whatever partition was seen...

How to make a Windows Vista boot / recovery cd from a running system without using an original CD / DVD

I have just repaired a friends computer (replaced motherboard) and now I am trying to repair the Windows (Windows Vista) partitions. Unfortunately, probably due to the fact that he tried to start it several times after the old motherboard had stopped working (no signal on video) now the partition table or the file systems (or both?) appear to be damaged. I managed to boot Windows a couple of times but could not complete the boot. I tried to repair the partition table and file systems using Linux RIP (booting from USB stick) but the Linux utilities say that the file system is damaged and I should run chkdsk /f from Windows. So I now need a Windows boot CD from which I can boot and run chkdsk or any other Windows utilities that can repair the file system. Is there an easy way to create such a CD? Or can I download it for free somewhere? All the links to Windows Vista boot / repair CD's I have found on the internet refer to non-free stuff. Any hint? EDIT I have a working laptop with W...

windows xp - System randomly Crashing

Computer is running windows XP. seems to be crashing randomly, no pattern in its timing or activity to cause it. What could be causing this/how do I diagnose this? Event log shows >Event Type: Error >Event Source: System Error >Event Category: (102) >Event ID: 1003 >Date: 22/02/2011 >Time: 7:10:05 p.m. >User: N/A >Computer: YOUR-8ABC512DA0 >Description: >Error code 1000008e, parameter1 c0000005, parameter2 bf801b50, parameter3 ee118c44, >parameter4 00000000. > >For more information, see Help and Support Center at >http://go.microsoft.com/fwlink/events.asp. >Data: >0000: 53 79 73 74 65 6d 20 45 System E >0008: 72 72 6f 72 20 20 45 72 rror Er >0010: 72 6f 72 20 63 6f 64 65 ror code >0018: 20 31 30 30 30 30 30 38 1000008 >0020: 65 20 20 50 61 72 61 6d e Param >0028: 65 74 65 72 73 20 63 30 eters c0 >0030: 30 30 30 30 30 35 2c 20 000005, >0038: 62 66 38 30 31 62 35 30 bf801b50 ...