NickCrawford.org

Random tech problems – and sometimes solutions
  • Projects
  • Contact
Oct30

Windows 8 – Mapped Drives Don’t Appear

by Nick on 2012/10/30 at 18:00
Posted In: Windows 8

I ran into an issue where I mapped a few network drives on Windows 8, and when I was using an application as administrator, they wouldn’t appear in the file browser.  Apparently this is because drives mapped as user X are not available to other uses (even the administrator).  Strange.

Anyway, there is a policy registry key called “EnableLinkedConnections” that will enable the mapped drives to appear when running applications as an administrator. Use this reg file or see below.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
“EnableLinkedConnections”=dword:00000001

└ Tags: mapped network drives, registry, Windows 8
1 Comment
Oct30

Windows 8 – Joining Linux Samba Domain

by Nick on 2012/10/30 at 08:00
Posted In: Windows 8

If you’ve had troubles joining your Windows 8 machine to a Linux-hosted Samba domain, and it worked in previous versions of Windows, there may be a simple fix. Try using this reg file or edit the key noted below

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]
“DNSNameResolutionRequired”=dword:00000000
“DomainCompatibilityMode”=dword:00000001

Restart the computer and then try joining the domain again.

└ Tags: domain, linux, registry, samba, Windows 8
 Comment 
Oct28

Windows 8 BSOD – NDIS.sys “driver_irql_not_less_or_equal”

by Nick on 2012/10/28 at 23:34
Posted In: Windows 8

I’ve been testing out the new Windows 8 (x64).  So far so good except today, I constantly received the blue screen of death (BSOD) stating “driver_irql_not_less_or_equal” with NDIS.sys as the culprit.  I did a bit of searching – many forums indicated that my network card drivers were the issue.  I decided to uninstall programs 1-by-1.  It turns out, Avast antivirus was the problem.  As soon as Avast was uninstalled, I haven’t had a BSOD since.

 

Edit:

This post has got a lot of search hits. If you don’t have Avast installed and are still having this problem, check out this link.  If you have neither Avast nor a Realtek network card, you might have to do a bit more hunting for the problem.  I suggest using my method and uninstalling applications one at a time to see what is causing the problem.  With Windows 8 being new, there may be bugs in some of the drivers.

 

Edit2:

Received a response from Avast.

Hello,

This issue is currently being investigated by our development team, it is probably caused by a bug in the latest version of avast! antivirus in combination with some third party network drivers. Once the fix is available, it will be released through the regular program update.

The common symptoms are frequent or random stop errors (bugchecks or BSODs) referencing mainly ndis.sys or aswnet.sys drivers. The issue affects only Windows 8 computers, probably only with the General Availability Cumulative Update (KB2756872 – Windows 8 RTM to GDR update) installed or the General Distribution Release (GDR) versions of this operating system.

The available workarounds (with the current build 7.0.1473) include:
- stopping avast! Network Shield and avast! Firewall
- custom install without Network Shield and Firewall modules

[...]

2nd Level Technical Support
AVAST Software a.s.

└ Tags: Avast, BSOD, NDIS.sys, Windows 8
4 Comments
Aug16

SolidWorks STL to 3D Web Model

by Nick on 2012/08/16 at 18:00
Posted In: github

I found an old project on github called thingiview.  It can take (among other things) an STL file (exportable from SolidWorks and other CAD programs) and render it using canvas/WebGL (pretty much only works in Chrome).  It is based off of the Three.js  project.  thingiview uses an outdated (R32) version of Three.js (currently R50) because the project seemed to have died off about 2 years ago.

Anyway, I wanted to render large, complex CAD models in the browser, mostly for experimentation.  One example we have, exported from SolidWorks in coarse mode, has approximately 350,000 vertices.  The way the code was written for thingiview, the STL to JSON rendering in PHP would bog down to an unsuable speed at even 50-100,000 vertices.  As-is, I left the converter running for about 14 hours with our complex model, and it still didn’t finish.

I decided to rewrite portions of the code to make it more efficient for my use, so I forked it.  My first commit was to make huge improvements on the efficiency of STL (binary) to JSON conversion.  Now, the complex model takes a mere 30 seconds to render.  Most of the previous inefficiencies were due to the calling of in_array and array_search (x3) for every vertex.  As the number of vertices grew, the slower each call to in_array and array_search became.  Using a hashmap (storing the contents into an array keyed by MD5 hashes of the contents), I’m able to avoid searching the array, massively improving execution time.

One day, I may take the time to update the project to the latest Three.js (a lot of the JS function calls are deprecated) and/or take a look at improving the other conversions.  For now, this will satisfy my SolidWorks to interactive web model cravings.

└ Tags: 3d, 3d web model, cad, canvas, chrome, github, hashmap, interactive, javascript, json, md5, solidworks, stl, thingiview, three.js, webgl
2 Comments
Jul31

ASUS AI Recovery – Exception Error Occurred During the Burning Process

by Nick on 2012/07/31 at 19:00
Posted In: Errors, Windows 7

We received in a new ASUS laptop today that came loaded with a bunch of crap software with it. A notice was included that stated recovery/Windows CDs are no longer provided with the packaging.  In order to create recovery discs if you ever want to re-install or re-format, you need to use the included AI Recovery software.  After waiting about an hour for the software to create the recovery ISO images to be burned to DVD, the first DVD was burned successfully.  The second DVD came up with an error stating “An exception error occurred during the burning process.  DVD-2 needs to be burned again.  Please insert a blank writable DVD”  I tried many blank DVDs, but to no avail.

Finally, my solution was to copy the ISOs that the software created and burn them using a separate utility.  These files can be found in My Documents/recovery_tmp.

└ Tags: ai recovery, asus, dvd, iso
 Comment 
  • Page 1 of 3
  • 1
  • 2
  • 3
  • »

Recent Posts

  • Windows 8 – Mapped Drives Don’t Appear
  • Windows 8 – Joining Linux Samba Domain
  • Windows 8 BSOD – NDIS.sys “driver_irql_not_less_or_equal”
  • SolidWorks STL to 3D Web Model
  • ASUS AI Recovery – Exception Error Occurred During the Burning Process

Tags

3d 3d web model AdSense advertising ai recovery apache asus cad canvas chrome compiling dbase device install dvd github interactive iso javascript json md5 mpm-itk MS DOS NTVDM open suse php php5 ProjectWonderful registry restrictions revenue Romer security site updates solidworks stl Suprastuff thingiview three.js virtualhost webgl Windows Windows 7 Windows 8 Windows 98 yast

©2012 NickCrawford.org | Powered by WordPress with Easel | Subscribe: RSS | Back to Top ↑