Category Archives: Microsoft

How to find your Windows Computer Name

Follow the instructions below to locate your company name.

Windows XP:

  • Right-Click My Computer and Select Properties
  • Click the Computer Name tab.
  • Your Computer Name is listed under Full Computer Name.

Windows Vista:

  • Open System by clicking the Start button.
  • Click on Control Panel > System and Maintenance, and then clicking System.
  • Your Computer Name is listed under Full Computer Name.

Windows 7:

  • Open System by clicking the Start button.
  • Right-click on Computer, and then clicking Properties
  • Under Computer name, domain, and workgroup settings, you can find your computer name, and its full computer name if your computer is on a domain.

Windows 8:

  • Hover the mouse at the top right
  • Click the settings cog > PC info.
  • Under Computer name, domain, and workgroup settings, you can find your computer name, and its full computer name if your computer is on a domain.

Windows 8.1:

  • Right click on the Start button
  • Click System
  • Under Computer name, domain, and workgroup settings, you can find your computer name, and its full computer name if your computer is on a domain.

Windows program lost off screen

I recently had a client whose Microsoft Outlook window would not show. After using Windows System Restore a few times to fix it, i was forced to look into it further.

I discovered that something was causing it to go off-screen. Maximising it helped by using Task Manager, but it wasnt a solution and when not maximised, the problem was still there.

I downgraded to 32Bit office, to see if that would help but i still needed to get it back onto the screen.

Thats when I found this program which checks all running applications are within the available screen.

More info https://sourceforge.net/projects/movewindows/
Download link: https://sourceforge.net/projects/movewindows/files/latest/download

I repost if the 32bit downgrade didnt help.

 

 

How to Fix Task Scheduler: Error 0xC0000142

In Windows Server 2008, I was trying to work out why programs I’d made worked fine when executed manually, but when executed by Task Scheduler, the run failed and the run result said 0xC0000142.

It turns out its something to do with Desktop Heap. The desktop heap for each desktop that is associated with an interactive window station is much larger than the heap for non-interactive window station.

So tasks run in the non-interactive window station are running on of space. I have no clue what a desktop heap is and what its for, but I increased the non-interactive desktop heap and everythings great now.

Heres how…..

The size of each desktop heap allocation is controlled by the following registry value:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows

 

The default data for this registry value will look something like the following (all on one line):

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows

SharedSection=1024,3072,512 Windows=On SubSystemType=Windows

ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3

ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off

MaxRequestThreads=16

 

The numeric values following “SharedSection=” control how desktop heap is allocated. These SharedSection values are specified in kilobytes.

The first SharedSection value (1024) is the shared heap size common to all desktops. This memory is not a desktop heap allocation, and the value should not be modified to address desktop heap problems.

The second SharedSection value (3072) is the size of the desktop heap for each desktop that is associated with an interactive window station, with the exception of the “Disconnect” and “Winlogon” desktops.

The third SharedSection value (512) is the size of the desktop heap for each desktop that is associated with a “non-interactive” window station. If this value is not present, the size of the desktop heap for non-interactive window stations will be same as the size specified for interactive window stations (the second SharedSection value).

Consider the two desktop heap exhaustion scenarios described above.  If the first scenario is encountered (session view space is exhausted), and most of the desktop heaps are non-interactive, then the third SharedSection can be decreased in an effort to allow more (smaller) non-interactive desktop heaps to be created.  Of course, this may not be an option if the processes using the non-interactive heaps require a full 512 KB.  If the second scenario is encountered (a single desktop heap allocation is full), then the second or third SharedSection value can be increased to allow each desktop heap to be larger than 3072 or 512 KB.  A potential problem with this is that fewer total desktop heaps can be created.

This and more information can be found here:-

http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx

Microsoft Surface is Annoying me

Ok, so Microsoft need to improve. We all know that. But I don’t think they are going the right way about it.

Firstly, they’ve released the Windows RT version of their new Microsoft Surface. Sure, it looks cool. But if you can’t install any PC programs on it, whats the point? I’d just get an Ipad!

I also don’t understand why they delayed the Windows 8 version of the Surface that allows you to install programs that you’ve used on your PC.

Maybe they are hoping to fool people into buying the RT version thinking they can install the full version of Office etc. And once the customer realises their mistake, they’ll have to buy the Windows 8 version too.

Secondly, their emails are a little misleading. I just received this…

Surface is the beautiful new way to work and play from Microsoft. Loaded with Windows RT, Office Home & Student 2013 RT Preview, and fluid modern apps’

It says ‘work and play’, but without being able to install any PC software, how am I going to work? We use custom-written software to manage our clients accounts which will only work on PCs and Laptops. Not Windows RT. The version of Office that comes with Surface RT is a basic version. Not the full version you are used to.

It says ‘Loaded with…. fluid modern apps’. To me, ‘Loaded’ means full or plenty. But one of the main complaint ive heard so far is that there arent that many apps yet. Of course, that should be sorted over time.

My advice… if you really want windows…..wait for the Windows 8 version of the Surface…. or just get an ipad mini 🙂

And finally, the reason I wanted to write this post. I just saw a picture of a Microsoft store for the first time. Is it just me, or does it look surprisingly like an Apple store? I can’t see anything unique about it.

If not for the word MICROSOFT that was photoshoped in the background, I would have thought it was an Apple store.


p.s. Dont upgrade your non-touchscreen computer to Windows 8 if you don’t have to.

Sorting by Surname when Firstname and Surname are in one column

Microsoft Excel – Howto Sort

This is a guide to sorting by Surname when the Firstname and the Surname are in one column.

Here goes.

You can’t without putting the firstname and the surname in separate columns.

However, there is an easy way to separate them.

1. Highlight all column that contains the firstname and surname.

2. Click the Data tab then click ‘Text To Columns’

3. Select the Delimited option and click Next>

4. Under Delimiters, check ‘Space’ and uncheck anythying else. Then press Next>

5. Click Finish and you should find that the Firstname and Surname have been separated to allow you to sort by Surname.

 

 

Adding Suffix to Date in Microsoft Word

This is a guide to adding a suffix (th nd st) to dates in Microsoft Word

Microsoft have not made it simple.

1) Put the cursor to the Insert position where you want the date to be.
2) In the ribbon bar click on the Insert tab, then Quick Parts, then Field.
3) Under Field Name, select Date and then click the Field Codes button.
4) In the Field Codes text box, type in this DATE \@ d \*Ordinal
5) Press OK and you’ll get the first part of the date with the suffix.
6) Press the Space bar to leave a space between the day and month.
7) Click on the Insert bar again, and Quick Parts again.
8) Then click Field, Choose Date again and click the Field Codes button again.
9) In the Field Codes box, type in DATE \@ “MMMM yyyy” including the speech marks.
10) Press OK and you should be done.

It wasnt easy to find that solution!
If you are interested, I got it out from this website which has an example document on how to manipulate dates in Word.
http://www.gmayor.com/downloads.htm
Look for Datecalc.zip on that page.