Author: Adam Fowler

Windows 8 – Easy Admin Access

Hi,
One of the difficulties I’ve had with using Windows 8 is getting access to stuff. Stuff I’m used to accessing easily, like being able to edit a text file under C:\Program Files\. In Windows 8, on a non-domain connected PC and using a Windows Account, you can’t do this. Even if you’re an Administrator, and you’ve turned off User Access Control (UAC):

This gets frustrating very quickly. I was really baffled by this behaviour – why am I, as a local administrator on Windows 8 using a Windows Account, getting ‘Access Denied’ when trying to edit a text file under a Program Files folder??

I posted onto the Microsoft Technet forums here: http://social.technet.microsoft.com/Forums/en-US/w8itprogeneral/thread/af7cfb87-769f-4789-b6ac-1894cc9ea581/ where I was advised that this was by design. The upside, was that I was told about a handy little feature on how to run anything as administrator easily. ‘Create New Task’ has a great little tickbox that says ‘Create this task with administrative privilidges’. I’m not sure why this is called ‘Create New Task’ as it looks exactly the same as the ‘Run’ window, even with the same text. To get this, open Task Manager and go to File > Create New Task.

You can run anything here just as you would from the ‘Run’ window, including ‘explorer’ which will bring up Windows Explorer, but with PROPER full Administrator access, finally allowing me to edit that text file I was going on about earlier.

Hopefully once you know this, you’ll also be less frustrated like me!

Quick Review – Convertpdftoword.org

Hi,

I was sent an email asking to review this by someone at CometDocs, and it’s free, so I figured why not. It’s called Convertpdftoword.org which is also the website it’s hosted at, by no amazing coincidence. What is it? An online PDF to Word converter. Owned by Cometdocs.com who do a lot of different online file conversions.

PDF to Word? I know I get a lot of requests for this sort of thing, but historically the answer is either getting expensive software to convert, or ask the originator for a non-PDF version of the document.

This is cloud based, which always rings alarm bells for me. Do you want to send your documents to an unknown 3rd party, just because they’re offering a free service? That’s what you’ll need to decide, but this company resides in Canada and the servers for holding your files are located in the United States which matters to some people (the more security minded just won’t use this service).

So, how does it work? You just go to http://www.convertpdftoword.org/ , browse and upload your PDF, put in your email address and wait for the resulting Word document to arrive.

A few minutes later, and I’ve got emails for the two test PDFs I uploaded. They take you back to the site to download them, where they’re hosted for 24 hours. I don’t believe there’s any security behind this, apart from a unique URL – so again, you’d only do this with data you don’t care about others having.

Once you get back to their webpage to download, it sits ‘Processing’ for a few seconds and then starts downloading. It might be buggy with Internet Explorer 10, as it didn’t stop the ‘Processing’ dialogue even after the file had downloaded. This happened on both files.

The results were very impressive. They looked identical to the PDFs I had uploaded, with coloured pictures and all in the exact same positions. The file size blew out from 131kb to 2787kb on one of the examples, but probably expected with Word vs PDF compressions.

In summary, it seems to work really well in my random sample size of 2 documents. Handy if you want to edit a publicly available PDF, but I’m not sure how much demand there is for this.

As pointed out by the person who emailed me, the site gets it’s revenue from adverts. I didn’t get paid anything to write this, so I must have been in a good mood.

Citrix Access Gateway and Changing Passwords

Hi,
Recently we had two Citrix Access Gateways (CAG) installed, replacing our software based Citrix Secure Gateway (CSG). The CAG is a hardware appliance (here’s the install guide http://support.citrix.com/servlet/KbServlet/download/21072-102-665925/AG_HardwareInstallationGuide.pdf) while the CSG is a free software based solution that sits on a Windows box, but isn’t looked favourably upon anymore. Here’s a great article from Dan Brinkmann on that topic: http://blog.whatwoulddando.com/2011/10/12/citrix-secure-gateway-sigh/

We ran into an issue where some new users couldn’t log in to the gateway, getting the generic error “Try again or contact your help desk”. Everyone loves a generic error…

Anyway, we worked out that it didn’t like accounts where the password had expired, or set to change at next logon. After setting the option on the CAG to allow users to change their password, it looked like it was fixed. The user was prompted to change their password, but when they tried it bombed out again with the same generic error Try again or contact your help desk”.

Restorting to Google at this stage, as I couldn’t find any logs or errors via the CAG web interface, I found that you need to set up your LDAP as a secure connection for this to actually work (over port 636 not 389). This also requires you to import your internal Root CA to the CAG.

Luckily Citrix doco had this covered, and here are the instructions:

http://support.citrix.com/article/CTX127316

That all worked! So, LDAP over port 389 insecurely will allow authentication only, but for password changes etc you’ll need to use port 636 and use a certificate.

SCCM 2012 Unknown Computers

Hi,
While getting OSD (Operating System Deployment) working in SCCM 2012 I came across two little things.

First, I want to be able to specify the computer name as part of the deployment. Windows-noob has a great article on this, available here:
http://www.windows-noob.com/forums/index.php?/topic/5542-how-can-i-easily-prompt-for-a-computer-name-in-configuration-manager-2012/

It’s just specifying the variable OSDComputerName needs to be set for your Unknown Computers collection, which will work as long as you have your OSD task sequence advertised there too.

The second thing, which was more of an issue, was that my PC wasn’t detecting my PXE server after the first time, even though the OSD Task Sequence bombed out.

After reading this Microsoft TechNet thread: http://social.technet.microsoft.com/Forums/en-US/configmanagerosd/thread/b4c4ff5e-8e9b-41fd-a4ee-f21d7daccaaf/ I did a search for ‘Unknown’ in my devices, where 2 items popped up. In the properties I checked the MAC address, and sure enough one of the entries matched my PC.

In SCCM 2007 it didn’t quite work this way, generally if it bombed out there would be no record and you could continually PXE boot as many times as you liked. In 2012, as soon as you get to the list of available task sequences, the ‘Unknown Computer’ record is created.

A bit annoying, but there you have it.

SCCM 2012 Client Push Error 80041026

Hi,
I’ve just been troubleshooting a PC that was failing when the SCCM 2012 client was being pushed to it, with the below error located on the client’s log file ccmsetup.log:

MSI: Setup failed due to unexpected circumstances
The error code is 80041026

After trying the install locally and still having it fail, I took the next logical step and googled it.

I found this blog, which had a similar issue but different error code:

http://www.madanmohan.com/2010/10/msi-setup-failed-due-to-unexpected.html

Luckily the fix was the same, due to something wrong with the WMI Repositry.

Following these instructions worked perfectly:

http://www.madanmohan.com/2010/10/rebuilding-wmi-repository.html

Due to being an XP client, the steps I ran were:

net stop winmgmt

Using Windows Explorer, rename the folder %windir%\System32\Wbem\Repository. (For example, %windir%\System32\Wbem\Repository_bad). %windir% represents the path to the Windows directory, which is typically C:\Windows.

net start winmgmt

rundll32 wbemupgd, UpgradeRepository

That was it, no reboot required. Retrying the install again was then successful.

Thanks Madan’s Blog!