Microsoft Windows

Recovery

This article solves the following challenge: 

Recover "accidentally" deleted files from USB-drive

After the deleting data from a disk it is important not to overwrite(make new Photos or Video) the information otherwise 100% of restore would not be guaranteed.
For restore the photos or videos the program must fulfill several functions:
- Scanning and searching remote images of known formats (such as JPG, GIF, PNG, TIFF, RAW, etc.), and other files
- Support of various data drivers and devices (HDD, SD card, USB flash drive, digital camera, camera, etc.)
After some research was chosen the free version of Recuva application that works on Windows platform. To recover photos from sd-card or others drivers. Select the desired drive from the drop-down menu, and start the scan by pressing the Scan button to start scanning of deleted files on partitions memory card or other sources from which the desired photos vanished.
After scanning, you'll get a list of images on the card, including deleted or corrupted data.

Evaluate complexity of present statement:

Select ratingCancelGuessingPassing knowledgeKnowledgeableExpert

Your rating: 2 Average: 2 (2 votes)

Virtual Machine

One possible solution to this problem could be a Virtual Machine (VM). This program permits the user to have the same experience as if he had a determined OS. In other words, if I have an Apple laptop and I need to open a file that is only compatible with Windows, using a virtual machine would be like having "Windows" inside my computer, so I would be able to open that file.

How to downgrade from Windows 10 to Windows 7

This process involves having to reinstall the operating system using the Windows 7 installation media, and formatting, which will erase everything on the hard drive. You'll also need to reinstall all your applications once again, and use a backup to restore all of your files. This process takes more time than other methods, but it will ensure that everything works correctly.
1. Reboot your computer with Windows 7 installation files (make sure your PC is set to boot from the drive with installation files).
2. During the Windows Setup, click Next, accept the licensing, and click Next.
3. Click the option Custom: Install Windows only (Advanced) option to do a clean installation.
4. Delete any partition created by you current installation of Windows.
5. Select the empty drive and click Next to start the installation process.
Important: If you have a partition where you store files or a secondary hard drive, you don't have to delete these partitions.
Once the Windows Setup process completes, you will once again back to Windows 7. However, remember that you need to restore your files and reinstall and configure all the programs you have previously installed on your system.

How to fix Error 138 in Google Chrome

This article solves the following challenge: 

Eror 138 in Google Chrome

1. Click Start button, type in “Windows Firewall” without the quotes (of course!) and Click on “Allow a program through Windows Firewall”Ensure that anti-virus software is up to date.
2. Once you open that, click on “Allow another program” as shown below.
3. Navigate to Google Chrome in the list and click on “Add”.
4. Once you click add, you will return to the previous screen and click OK.
5. A restart may be necessary at this point. So restart your computer and try again.
If you have any third-party antivirus software like McAfee or Norton, they could be the reason why Google Chrome cannot access the network.

Evaluate complexity of present statement:

Select ratingCancelGuessingPassing knowledgeKnowledgeableExpert

No votes yet

Start spotify manually

The solution was fairly simple but tricky to find with experimenting.

At first I found out, that spotify has a option "Start Spotify on Login". I deactivated it and restarted Spotify manually. And suprisingly: Spotify started on the second screen as wished.

But the function that Spotify starts on Login is convenient. So I put a shortcut of Spotify.exe manually in the windows autostart folder:
C:\Users\[User]\AppData\Roaming\Spotify\Spotify.exe
in
C:\Users\[User]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Use rasdial in Windows 7 Task Scheduler

The proposed solution consists of two steps.

  1. Creation of VPN connection
  2. Scheduling of task

For this solution you will need a VPN connection in Windows' integrated service (you need to have login data for a VPN service for this)
This is accessed via the Control Panel under Network and Internet -> Network and Sharing Center.

  • Click 'Set up a new connection or network'
  • Choose 'Connect to a workplace'
  • Choose 'Use my Internet connection'
  • Input the VPN's internet address and a name of your choosing for the connection (you will need this name later on)
  • Input your login credentials

Now you should be able to log into your VPN.

Once thats done we set up an automatic task in the task scheduler:

  • Click the start button
  • Click Control panel
  • Click System and Maintenance
  • Click Administrative Tools
  • Double-click Task Scheduler

Now that we have accessed the task schedular we create a new task:

  • Click 'create task' on the right and a window opens
  • There input a name for your task
  • Switch to the Trigger tab
  • Click on 'New'
  • From the dropdown menu choose 'at startup'
  • Check 'enabled' at the bottom and confirm with 'OK'
  • Switch to the Actions tab
  • Click on 'New'
  • From the dropdown menu choose 'Start a program'
  • In the field 'Program/script' write "rasdial"
  • In the field 'Add arguments' write "name_of_connection username password" (keep the " and replace with your login credentials)
  • Confirm by clicking OK twice
  • Now the VPN connection should always be established at startup

Windows update causes grub error

Luckily the error message is shown within a terminal window which gives you the possibility to type in some commands. First of all have a look at the available partitions typing “ls”. Use the provided labels to look for the desired partition. Keep typing in the command “ls partition/grub2” (e.g. ls (hd0,msdos2)/grub2, ls (hd0,msdos3)/grub2), ...) until you don’t get the message “error: unknown filesystem.” any more. Let's assume that you have found the partition (hd0,msdos2). Type in the following commands:
set root=(hd0,msdos2)
set prefix=(hd0,msdos2)/grub2
insmod normal
normal

After that the system should reboot normally. To tell grub that it should remember this setup and avoid the unpleasant situation that you have to type in these lines every time, execute the next commands within your linux shell where /dev/sda is the drive where grub shall be installed.
sudo update-grub
sudo grub-install /dev/sda

Uploading PDF Expert Documents from an IPad to TUWEL

The easiest solution would be to simply move the files to another computer by using a cable or sending the files. This might be difficult as documents in the PDF-Expert folder – in contrast to the folders with pictures, films, etc. - are only rarely approachable when opening the IPad media on a Linux or Windows system.

Thus, the only solution always working for me seemed to be uploading the files (or an zipped archive) to a web-space (e.g. home.student.tuwien.ac.at or a dropbox) and downloading them (it) from another computer where the TUWEL system can be used easily.

Installing an older Windows Version on a computer with Windows 8 or Windows 10

When booting the computer, change into the BIOS (usually done by pressing F2 while booting). Choose the "Boot" column and set the BIOS to "Legacy" instead of "Safe mode". Also check the boot order to ensure that booting from CD/DVD or USB stic is possible.

Fiddler Log Excel (csv) Export

Unfortunately Fiddler has no really useful built-in export options. But it is possible to extend the FiddlerScript to export the traffic data to Excel (csv).

  1. Open Rules
  2. Choose "Customize Rules..."
  3. see screenshot https://techscreen.tuwien.ac.at/sites/default/files/Fiddler-Rule-Edit.png

  4. Search for the following code:

  5. public static ToolsAction("Reset Script")
    function DoManualReload() {
    FiddlerObject.ReloadScript();
    }

  6. Insert following code after the lines above:

  7. public static ToolsAction("Copy Request Timings to Excel")
    function DoHighlightSlowRequests() {
    var oSessions = FiddlerApplication.UI.GetAllSessions();

    var s: String = "";
    s = s +
    "Id\t" +
    "URL\t" +
    "Is HTTPS\t" +
    "Response Code\t" +
    "Request Bytes\t" +
    "Response Bytes\t" +

    "ClientConnected\t" +
    "ClientBeginRequest\t" +
    "ClientDoneRequest\t" +

    "ServerConnected\t" +
    "FiddlerBeginRequest\t" +
    "ServerGotRequest\t" +
    "ServerBeginResponse\t" +
    "ServerDoneResponse\t" +
    "ClientBeginResponse\t" +
    "ClientDoneResponse\t" +

    "DNSTime\t" +
    "GatewayDeterminationTime\t" +
    "TCPConnectTime\t" +
    "HTTPSHandshakeTime\t" +

    "Request Transmission Time\t" +
    "Server Time Spent\t" +
    "Response Transmission Time\t" +
    "Transmission time (down + up)\t" +
    "Total Round Trip Time" +
    "\r\n";
    for (var x:int = 0; x < oSessions.Length; x++){
    var logEntryId = oSessions[x].id
    var session = oSessions[x]
    var timer = session.Timers
    // use tabs intead of CSV because
    // Excel and .NET have incompatible
    // expectations for unicode format

    var t = oSessions[x].Timers
    var transmissionTime =
    new TimeSpan(t.ServerGotRequest.Ticks -
    t.FiddlerBeginRequest.Ticks)
    var serverTimeSpent =
    new TimeSpan(t.ServerDoneResponse.Ticks -
    t.ServerGotRequest.Ticks)
    var responseTransmissionTime =
    new TimeSpan(t.ServerDoneResponse.Ticks -
    t.ServerBeginResponse.Ticks)
    var totalTransferTime =
    transmissionTime + responseTransmissionTime
    var roundTripTime =
    new TimeSpan(t.ClientDoneResponse.Ticks -
    t.ClientBeginRequest.Ticks)

    var transmissionTimeStr =
    transmissionTime.ToString().Contains("-") ? "" : transmissionTime + ""
    var serverTimeSpentStr =
    serverTimeSpent.ToString().Contains("-") ? "" : serverTimeSpent + ""
    var responseTransmissionTimeStr =
    responseTransmissionTime.ToString().Contains("-") ? "" : responseTransmissionTime + ""
    var totalTransferTimeStr =
    totalTransferTime.ToString().Contains("-") ? "" : totalTransferTime + ""
    var roundTripTimeStr =
    roundTripTime.ToString().Contains("-") ? "" : roundTripTime + ""

    s = s +
    logEntryId + "\t" +
    oSessions[x].url + "\t" +
    oSessions[x].isHTTPS + "\t" +
    oSessions[x].responseCode + "\t" +
    oSessions[x].requestBodyBytes.Length + "\t" +
    oSessions[x].responseBodyBytes.Length + "\t" +

    oSessions[x].Timers.ClientConnected.ToString("HH:mm:ss.fff") + "\t" +
    oSessions[x].Timers.ClientBeginRequest.ToString("HH:mm:ss.fff") + "\t" +
    oSessions[x].Timers.ClientDoneRequest.ToString("HH:mm:ss.fff") + "\t" +

    oSessions[x].Timers.ServerConnected.ToString("HH:mm:ss.fff") + "\t" +
    oSessions[x].Timers.FiddlerBeginRequest.ToString("HH:mm:ss.fff") + "\t" +
    oSessions[x].Timers.ServerGotRequest.ToString("HH:mm:ss.fff") + "\t" +
    oSessions[x].Timers.ServerBeginResponse.ToString("HH:mm:ss.fff") + "\t" +
    oSessions[x].Timers.ServerDoneResponse.ToString("HH:mm:ss.fff") + "\t" +
    oSessions[x].Timers.ClientBeginResponse.ToString("HH:mm:ss.fff") + "\t" +
    oSessions[x].Timers.ClientDoneResponse.ToString("HH:mm:ss.fff") + "\t" +

    oSessions[x].Timers.DNSTime + "\t" +
    oSessions[x].Timers.GatewayDeterminationTime + "\t" +
    oSessions[x].Timers.TCPConnectTime + "\t" +
    oSessions[x].Timers.HTTPSHandshakeTime + "\t" +

    transmissionTimeStr + "\t" +
    serverTimeSpentStr + "\t" +
    responseTransmissionTimeStr + "\t" +
    totalTransferTimeStr + "\t" +
    roundTripTimeStr +
    "\r\n";
    }
    System.Windows.Forms.Clipboard.SetText(
    s.ToString(),
    TextDataFormat.Text);
    }

    Source:
    https://www.garysieling.com/blog/adding-export-excel-option-fiddler

  8. Save
  9. Open Tools
  10. Now click on the new menu "Copy Request Timings to Excel"
  11. see screenshot https://techscreen.tuwien.ac.at/sites/default/files/Fiddler-Export.png

    The Log will be copied to the clipboard as csv format.

  12. Open Excel and paste content from clipboard

Pages

Subscribe to Microsoft Windows