Continuously disabling UAC (using NT Service)

by Daniel Halan 12. March 2008 23:44

As WM-data just became Logica here in Sweden we have changed our laptops and entered a new domain, with that there came new policies and rules. One of them is the enforcement of using the User Account Control (UAC) on all Vista machines, which is pumped out each time logging into the Logica domain.

This presented a problem that needed to be solved, how to be able to work inside the domain and still be effective? Solution: A NT Service that continuously turns off the UAC.

Here is an install for the small service that just checks so the UAC is not turned on when the computer is shutting down.


DisUacSetup.msi (392,00 kb)

Tags: ,

Tools | Vista

How to get the .NET Assembly full name

by Daniel Halan 23. March 2007 00:48

There is often that one need to get an assembly’s full name, while one can do it quite simply in C# by instancing the assembly and calling GetName(), but when setting up applications outside the development environment, You can use SN.exe to retrieve the PublicKeyToken using the -T parameter, but still it would be nice to get the whole Assembly Name, so here is a small command prompt app that does the job.

Example of an Assembly full name:
"GetAsmName, Version=, Culture=neutral,

Copy the files to Windows\System32 folder or add the path to your PATH environment variable.

GetAsmName <<path\fileName.dll|exe>>

Download the compiled application:

.NET Version 2.0 (2,83 KB)

.NET Version 4.0 (3.22 kb)


Source Code available at GitHub

Blog3ngine dot NET
Theme by Daniel Halan

About the author

Daniel Halan Daniel Halan, M.Sc., Microsoft Windows Azure Advisor Software Architect and Lead Developer from Sweden, currently in Bangkok.

Working primary with Microsoft .NET, Windows Azure, DDD, CQRS and some Dynamics CRM  Read more...

The content of this site are my own personal opinions and do not represent my employer's view in anyway.

My Favourite Websites

Month List