Tuesday, 21 February 2017

Microsoft server 2008 R2 quota service reporting wrong %Used

If the in built quota management in Server 2008 R2 is misreporting the amount of space used in a folder you can use the tool dirquota that comes with the File Server Resource Manager, https://technet.microsoft.com/en-us/library/cc732431(v=ws.11).aspx.

It has many features but to clear the problem discussed you can rescan the folder using the following in an Administrator Command prompt

dirquota quota scan /path:path_to_folder

Then to view if the scan has been successful use

dirquota quota list /path:path_to_folder

This should show what the use is now and the management console should now show the correct size when refreshed.

Monday, 25 April 2016

SWP Italian Language Error


A license error message subsists when upgrading license file due to expired Italian languauge dictionary entry.

Close Scientific Workplace.  Remove the old license.lic file from C:\swp55\licenses and copy and paste the section between the asterisks (from the recent license file e-mail they received) into Notepad and then save it to the same location as a license.lic.  Then start Scientific Workplace as administrator (right-click the SWP icon and ‘run as administrator’ – this only needs to be done once).

Tuesday, 22 July 2014

Deleting Windows 8 Wi-fi Profile

Deleting a Wi-Fi profile in Windows 8, must be done at the command prompt.

To do these tasks, open Command Prompt, then type the appropriate command from the following.

To show all wireless profiles on the PC type:
netsh wlan show profiles


To delete a profile type:
netsh wlan delete profile name="ProfileName"


Tuesday, 15 July 2014

Word Count in PDFs using Acrobat Pro

To count words in a pdf file you need to run Acrobat Pro and use the javascript console.

To enable the javascript console, this web site gives a great introduction:

http://acrobatusers.com/tutorials/javascript_console

Once you have the console up and running you should copy and paste the following in the console window, then highlight it all and press CTRL-Enter to run it.

var cnt=0;
for (var p = 0; p < this.numPages; p++) cnt += getPageNumWords(p);
app.alert("There are " + cnt + " words in this file.");

The above code will count everything and view symbols as splits in words, which can make for interesting counts for documents containing maths, so another way to do this is to count the number of spaces. To do this use the following code

var cntLetters = 0;
var cntWords = 0;
var cntSpaces = 0;

for (var i = 0; i < this.numPages; i++ ) for (var j = 0; j < this.getPageNumWords(i); j++, cntSpaces++) {
if (this.getPageNthWord(i, j).length > 0) cntWords++;
cntLetters += this.getPageNthWord(i, j).length;}
app.alert('There are ' + cntWords + ' words in this file' );

On completion you will get a window like below








Wednesday, 13 February 2013

Using Dropbox and other cloud storage services

Please read the LSE's advisory page on using cloud storage - disk space made available by third parties over the internet.  The advisory page particularly focuses on Dropbox, the types of data you may store in Dropbox, and the data you should not.

http://www.lse.ac.uk/intranet/LSEServices/IMT/guides/softwareGuides/other/usingDropboxCloudStorageServices.aspx

Tuesday, 3 July 2012

Hiding Server 2008 R2 Favourites and Libraries in Windows Explorer


Server 2008 R2 does not provide a gpo to do this but you can modify registry key to hide them. You can do this via Preferences in gpo but you need to allow the Administrators to have full control of the ShellFolder keys on the server before it will run.


Please backup your registry prior to making edits as mistakes can cause you machine to stop working.

Favorites, the key is: 


HKEY_CLASSES_ROOT\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder

Change the Attributes value from a0900100 to a9400100 will hide Favorites from Navigation Pane.

For Libraries, the key is:


HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder

Change the Attributes value from b080010d to b090010d will hide Libraries from Navigation Pane.

Thursday, 10 May 2012

How to remove Korean, Japanese and Chinese keyboards from the keyboard list

(Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows, please make a backup of the registry prior to editing)

Open the Windows Registry, regedit

Navigate to the following key:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Look for these three items:

"c:/program files/common files/microsoft/imei14/shared/imeklmg.exe /uninstall /CHS /log"

"c:/program files/common files/microsoft/imei14/shared/imeklmg.exe /uninstall /JPN /log"

"c:/program files/common files/microsoft/imei14/shared/imeklmg.exe /uninstall /KOR /log"

Delete all of them.

You may also find the same items under:

HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run

If so, delete these as well.

Restart your computer