iSparc Blog: 2012 iSparc Blog: 2012

Monday, August 27, 2012

View users connected to a share in Windows 8

The easiest way to see what users are connected to share on a particular machine is to

  1. open a command prompt window
  2. type “fsmgmt.msc”
  3. hit Enter

You will then be presented with the Shared Folders window (below)

screenCaptures_2012-08-27_21-33-15

You can now toggle between the different views “Shares”, “Sessions” and “Open Files” to see who is doing what?

Cheers!

Saturday, August 25, 2012

Upgrading to Windows 8 RTM Evaluation

Windows Settings

image

Drivers

  1. Intel Chipset Update
  2. Check for any missing drivers
  3. AMD Catalyst Software

Applications

  1. Visual Studio 2010
  2. Sql Server 2012
  3. AVG Anti Virus
  4. Google Chromre
  5. Windows Live 2012
  6. MSI Supercharger (msi website)
  7. Acronis True Image 2012
  8. WinMerge
  9. Visual SVN
  10. Tortoise SVN
  11. Resharper
  12. SqlComplete
  13. Google Drive
  14. Revaluate Twitter Clients
  15. Try Fence and bins

Sunday, August 19, 2012

Connect to Ubuntu 12.04 (Precise Pangolin) via Windows Remote Desktop

Want to use windows remote desktop to connect to an Ubuntu/Linux machine.

All you need to do is install the xrdp package, then open Remote Desktop Connection from Windows.

Step 1:

Install xRDP from terminal in Ubuntu.

sudo apt-get install xrdp


Step 2:



Open Windows Remote Desktop Connection and enter IP address of Ubuntu machine.



Step 3:



Enter login details of Ubuntu hit enter and your done.

Wednesday, June 20, 2012

Sql Server Setup – Restart computer Failed

How many times have you tried installing Sql Server only to get a fail message stating that your machine needs to reboot.

Click to see full size

This is usually due to some file operation required and can be resolved easily by removing a key from the registry without the need for rebooting. (Note: Do this at your own risk)

1) Run “regedit” from from the run menu (Windows Key + R)

2) Navigate to the following path in regedit

Click to see full Size

3) Find the key named “PendingFileRenameOperations” and Delete

4) Hit Re-run and you should be onto the next step of installation.

Sunday, June 17, 2012

Simple Regular Expressions in Javascript

Need to remove everything except alphabetic/letters in javascript?

Here is a simple example of using javascript to replace/remove characters

Step 1: Create a sample string

var a = "This is a test of the JavaScript RegExp objectZ"

Step 2: Use a regular expression to remove characters that don’t match the characters you want

a.replace(/[^a-zA-Z]/g, '')
"ThisisatestoftheJavaScriptRegExpobjectZ"

For more hints and examples in using Regular Expressions

Visit JavaScript RegExp Example- Online Regular Expression Tester

Pretty powerful and awesome one you learn how.