Saturday, January 25, 2020

Windows 10 Pro Storage Spaces Issues

I recently had a corrupted Win10Pro virtual disk image. After some research I wasn't aware of the fact that just turning it on isn't enough. The default options can cause data loss. There are ways to secure it but after a bit of reading this is a deep rabbit hole.

Ultimately I want backup recovery and restore options for Win10. First I am turning on System Restore points under the recovery option and File History. I am not sure why these are not on by default, or at least asked about during install.


Summary of Items used:
File History
Windows System Restore (Turn on System Restore for each drive)
Windows Defender AV (Enabled - this allows for daily snapshots, once you update your group policies)
Back up and Restore (backup is enabled)
Disk Management
Local Group Policy Editor (for editing things, run > gpedit.msc)

Links:
https://www.windowscentral.com/how-create-automatic-system-restore-points-daily-windows-10

Enabling Windows Defender:
My Windows defender install was disabled by group policy (this is a home PC). So I am walking through the recommended steps for fixing this issue.

https://answers.microsoft.com/en-us/protect/forum/protect_defender-protect_scanning/windows-defender-this-app-is-turned-off-by-group/dfa59c2a-b358-4f62-80b6-6b8e4994dc32

https://answers.microsoft.com/en-us/protect/forum/protect_other-protect_updating-windows_10/windows-defender/dd9e4c78-efc5-4e30-8e6f-3030ae9713ff

https://www.askvg.com/windows-10-fix-your-organization-used-windows-defender-application-control-to-block-this-app-error-message/

https://windowsreport.com/windows-defender-error-577-windows-10/

https://www.lepide.com/blog/top-10-most-important-group-policy-settings-for-preventing-security-breaches/

https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-security-center/wdsc-virus-threat-protection

https://www.tenforums.com/tutorials/1977-windows-10-tutorial-index.html

https://answers.microsoft.com/en-us/protect/forum/protect_defender-protect_scanning/windows-defender-this-app-is-turned-off-by-group/dfa59c2a-b358-4f62-80b6-6b8e4994dc32

https://answers.microsoft.com/en-us/protect/forum/protect_defender-protect_scanning/windows-defender/e994f94f-92d5-4d44-9721-79c2a686ce24

https://www.windowscentral.com/how-create-automatic-system-restore-points-daily-windows-10
Follow the steps provided in this thread:
And illustrated in this thread:
If you have a more general problem with downloading or running these malware-removal apps; or if they aren’t able to remove the malware – then run a scan with Windows Defender Offline or download a rescue disk on another PC. All of these apps run outside of the Windows environment just like WDO:
http://www.freedrweb.com/livecd/                                                                                                                               

Windows Defender isn’t supposed to be turned off via Group Policy when a third-party AV app is installed, as I’ve explained in this thread:

So on a home PC; we would normally assume that the Group Policy switch was thrown by malware that’s somehow managed to escalate its privilege-level to the rank of “administrator”. It’s also quite likely that the malware succeeded because Defender didn’t have a signature/behavioral detection for it – so I would recommend scanning with this set of malware-removal tools:

Kaspersky Virus Removal Tool:

Emsisoft Emergency Kit:

Malwarebytes Anti-Malware (free version only):

Eset Online Scanner:

Some other trusted third-party malware-removal tools are listed here:

Then turn Defender back on with this REG command: Right-click on the Start button, select Command Prompt (Admin), and then copy, paste, and run (enter) this command line:
REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware 

As I’ve illustrated here:

Or, if you suffer from command-line phobia, then use the REG file provided here:

Turn_On_Windows_Defender.reg is a trusted file, and this is all there is to it:

Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; http://www.tenforums.com
; Tutorial: http://www.tenforums.com/tutorials/5918-windows-defender-turn-off-windows-10-a.html
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=-

Links:
https://support.kaspersky.com/viruses/kvrt2015 (Kapersky Virus Removal Tool 2015)

Enabling Backup Options on Windows
https://www.tenforums.com/tutorials/55153-select-drive-file-history-windows-10-a.html
https://www.easeus.com/backup-software/tb-home.html (Check this one out/research)
https://answers.microsoft.com/en-us/windows/forum/windows_7-performance/windows-7-64-bit-the-backup-failed-error/a4abfd13-edcd-44e5-b658-2440672f1f90



Links:
https://www.easeus.com/backup-software/tb-home.html
https://www.acronis.com/en-gb/personal/buy-backup/
https://www.techadvisor.co.uk/how-to/windows/how-back-up-windows-10-3635397/
https://www.aomeitech.com/download.html

Tuesday, October 17, 2017

Spring Tools Suite

Going to work on setting up Spring Tools Suite (STS) - customized Eclipse IDE again for the umpteenth time. Each time I start on this project I get pulled back into a much larger project and do not have time to finish. At work I normally  use Sublime or Atom editors to do my fast editing. But for debugging and code analysis I need an IDE for Java. I tried out IntelliJ for a while, but I have decided I want to go back to Eclipse, the workhorse I used to use for the last ~10+ years. Normally it doesn't take this long, but our project setup here at Trion is quite complex.

One of the things I noticed while setting things up was performance I adjusted memory settings and disabled some of the default settings on STS. I did this because as I added software, plugins and configured the very large default application I am working on, I noticed a significant performance decrease.

Links used:

  • https://www.youtube.com/watch?v=GyCR5jRMLi8 [Basic setup for a project in STS]
  • http://answers.perforce.com/articles/KB/1084/?q=vss&l=en_US&fs=RelatedArticle
  • http://help.eclipse.org/neon/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-icons.htm [Icons on the package explorer]

[Update: I originally started writing this a few weeks ago.]
STS is up and running currently on version 3.9.1. In addition I have JRebel setup but there are issues with that our project so I'm working with JRebel support to get that working. It's nice to have a working debugger again. I tried using IntelliJ and though I don't hate it -- for our setup and purposes I didn't like it. I might go into details in a later post.

Monday, May 13, 2013

Parking more info about Aerohive items. I could use a link tool such as diigo, but this has more context and it won't get lost in a the shuffle, plus I can come back later and edit the post for more details.

http://www.insearchoftech.com/2013/03/22/aerohives-latest-product-release/

Monday, May 06, 2013

Parking JS MVC Info

This isn't the best blog post, but sometimes I'm reading and I read through an article (so it doesn't belong in something like Diigo or Evernote or Pocket) and I know I'll want to reference it and a series of others in its's context later. In this case its around advanced JS MVC topics. We aren't quite ready to implement them, and I'm not quite ready to throw away my research materials. I also need to get them out of my browser.

[No idea how current these are]
List of articles:
http://tomdale.net/2012/01/amd-is-not-the-answer/
http://tagneto.blogspot.com/2012/01/simplicity-and-javascript-modules.html

Found a good article about Mocks and Stubs in various languages:
http://a-developer-life.blogspot.com/2011/12/mocks-stubs-expectations-fakes-stubs.html

Monday, March 11, 2013

Program like a game developer

I really liked this article. Both because it is something I need to work on and it espouses the philosophies I believe in for how to work and make work fun.

Program like a Game Developer

Want to know Rails? Break it. Break it to pieces. Delete all of application.rb and see what happens. Create controllers that pull data from files instead of databases. Create views that initialize variables and contain huge swaths of business logic. Create models that contruct HTML and JavaScript. Tie it all together with duct tape and CoffeeScript. Test nothing, test everything. Build models that only contain one field. Build a model that houses every piece of data your application could possibly need.
This is an awesome quote. Break stuff. Don't overanalyze. Don't fuss about naming conventions and folder structure.

 

Saturday, September 15, 2012

Doing more set up with my new MacBook Air (Yay!), and simultaneously my vmware instance.

Here are some of the links I have used:
http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup
http://eveningsamurai.wordpress.com/2012/02/17/changingamending-the-author-of-a-git-commit/
http://qugstart.com/blog/ruby-and-rails/create-a-new-git-remote-repository-from-some-local-files-or-local-git-repository/
http://railsapps.github.com/rails-git.html

I can't believe how old hat deploying to Heroku has become for me now as well. It's really great for getting small applications off the ground.

Tuesday, September 11, 2012

Setting up a new Mac OS Machine for Ruby Dev

Since I'm getting a new Mac OSX machine.... Just leaving this here. Other than using RubyEnv, I pretty much agree with it:

[Reposted from http://37signals.com/svn/posts/2998-setting-up-a-new-machine-for-ruby-development]

33 comments Latest by Tony Huynh

It used to be a jarring experience to set up a new machine for development, but progress has paved the dirt road into a silky smooth autobahn. These are the tools we use today:
  1. Homebrew: Remember how painful it used to be to get imagemagick installed? Now it takes about a minute. “brew install imagemagick”. Same story for git and other Linux dependencies.
  2. rbenv/ruby-build: We have some apps running on Ruby 1.8.7, some on 1.9.2, and some on 1.9.3. ruby-build makes it easy to compile all three, rbenv makes it easy to switch between them on a per-project basis. We run rbenv in production as well, so all you need to do to change the Ruby version there is alter .rbenv-version—development and production is always on the same page.
  3. Bundler: Not everyone at 37signals loved Bundler at first, but now that it’s stable, they’ve been won over. I now curse whenever I have to use an old application that hasn’t been setup with Bundler. Manually tracing down dependencies?! How prehistoric!
  4. rake setup: All our apps has a rake setup task that’ll run bundler, create the databases, import seeds, and install any auxiliary software (little these days) or do any other setup. So when you git clone a new app, you know that “rake setup” will take care of you.
  5. Pow: No more messing with Apache or nginx for local development. All it takes for Pow to add another app is a symlink. All the apps are always configured and available at basecamp.dev, highrise.dev, etc without messing with the hosts file either.

Arch Linux VM Fun

Messed around with another VM this morning. Awaiting my new 11 inch MacBook Air, I keep watching my tracking number with anticipation! I have an old serviceable machine at home that has been upgraded motherboard and all over the years, but it's nearing end of life. It's currently running Windows 7 and has 8 GB Ram. Nothing fancy, but it works.

The VM I was working with early this morning was ArchLinux, I haven't used it before but got caught in some permissions matrix that I will have to sort out later. I spent enough time on it that I will have to move on. Old me would have gutted it out and stayed up all day, but I'm learning better habits. I'll try and make a post another day and fix the Arch Linux upgrade path. No promises, though. Pictures from the nightmare below, and some links. I should note this is all with pacman package manager, and its permissions and desires.

Summary of what I tried:
= Updating pacman "pacman -S pacman"
= Updating the entire core "pacman -Syu" and clearing the cache "pacman -Sc"
= Trying a forced update with no confirmations: "pacman -Syuf --noconfirm" (probably a bad idea!)
= Adding SigLevel = Optional TrustAll to the /etc/pacman.conf
= Above all this, doing a "pacman-key --init" to update the pgp keys
= Trying to force the update further with "pacman -S filesystem --force"

Links:
Pacman "error: failed to commit transaction (conflicting files)" (Page 1) / Pacman & Package Upgrade Issues / Arch Linux Forums

[SOLVED] "signature from is unknown trust."






During all of this, took mental breaks and cleaned around the house, and played with HTML/CSS.

Saturday, January 28, 2012

Setting up Virtual Box Ubuntu on Win 7

Got up this morning to set up a new Virtual Box VM for Win 7. I used the following links:
Gave up waiting for root device error
The only issue I ran into was that the directions had my VDI (virtual disk image) set up as SATA instead of SCSI. I went into the Virtual Box settings for the Ubuntu VM under Storage, removed the offending SATA Controller, added the SCSI controller in its' place with the VDI I had setup.

I used this link to figure out how to solve the issue: http://ubuntuforums.org/showthread.php?t=1870942

I installed gnome IDE (this took quite a while) and then got started with a "startx" command.

Installing Ruby on Rails Framework


Friday, March 11, 2011

Turning the Job Into a Game

In every job that must be done, there is an element of fun. You find the fun, and - SNAP - the job's a game! - Mary Poppins

Tuesday, November 16, 2010

Updated the Look

Using the new templates, updated the look of my blog, also started a blog roll of tech blogs I read. List is far from complete, but it's a start.

Friday, August 07, 2009

Update

I *really* need to be more dilligent posting here, just got through reading Web Optimization, pretty decent book, although scan worthy. I had to skim over the details on click through rates and items I don't care about too much.

Also been playing with Gamebryo Lightspeed as well as Torque 3D. Without going into details I definitely preferred Torque 3D. I have also been digging through the Overlord's source code for some fixes.

Hoping my move is soon so that I can pull out my books from storage and start working on my studies. It will be nice to have bookshelves again!!!

Wednesday, May 13, 2009

Tons of Reading, Learning

This is just a quick update as the last few months have been so busy. I have rekindled my knowledge of C++ and working on relearning math that I don't use normally as well. Right now I'm concentrating on algebra, calculus, geometry, and bit manipulation.

Lots of job applications to be completed some are quite long - but each one teaches me new things I haven't seen in a while.

Wednesday, January 14, 2009

Setting up WAMP


Tonight I set up WAMP on my gaming PC, I have set up LAMP on my Ubuntu box which is no longer with me. My goal is to get my development environments set back up. I'm running PHP 5 and Apache 2.2 along with mySQL.

Tuesday, December 30, 2008

Goal Setting 2009

It's been a while since I posted here, but I think I'm finally getting the hang of everything. It's time to do my best work, organization and planning! This is a skeleton outline that I will flesh out later.

Technologies:
1) Scriptaculous
2) Prototype
3) Ruby
4) Lua

Project X:
1) Research
2) 3 month goals
3) Take three month goals and turn into month, weekly tasks.

Wednesday, September 03, 2008

A New Hope: Google Chrome

I'm truly excited about Chrome. It's not nearly perfect, but it's the direction and message it puts out. Had another one of the "big guys" undertook this project they would no doubt not go the open source route or be thinking as ambitiously as the Google team is - the browser does so much work these days it should benefit from OS principles. 

This will not change the face of the web tomorrow - but I bet it will in a few years. I personally cannot wait.

Friday, August 29, 2008

Inadvertent Customer Support in IRC

I have no idea what this user was saying, I assume it's another language, but I digress:

[20:25] mia erotisi?
[20:25] ?
[20:25] 2 malon
[20:26] I'm sorry I do not understand
[20:26] xereis opo call of duty?
[20:26] I'm sorry I don't speak your langage
[20:26] *language
[20:28] keycode for call of duty?
[20:28] I don't have one sorry
[20:29] ok thenks bb

/sigh. It's so hard getting the message of a site and getting it to the end user in a form they can understand. We aren't even on the same planet.

Tuesday, August 19, 2008

Events Mania

I'm wrapping up polish on the new events system. I need to work on styling/themes. There are small items I need to work on as well:
  • permissions, and ensuring they are respected.
  • view issues making sure things look neat and smooth.
  • management vs guild theme styling.
  • adding tooltips.
  • add ajax.
  • add in logging.
  • review security.
  • add an option to allow users to display upcoming events in some sort of upcoming events queue

Friday, August 15, 2008

End of an Era

Sent of the FI server today and turned over my admin rights to their mail account. Wish them the best of luck and I hope that the server reaches its destination safely.