see sharp RSS 2.0
# Monday, 10 December 2012

Much more because I tend to forget these things all the time than anything else:

Certutil -Setreg Policy\EditFlags +EDITF_ATTRIBUTESUBJECTALTNAME2
NET Stop certsvc
Net Start certsvc

then you can create a INF file with the following:

[NewRequest]

Subject="CN=<your real hostname here>"



[RequestAttributes]

CertificateTemplate="<your templatename here>"

SAN="DNS==<your real hostname here>&DNS=<hostname1>&DNS=<hostname2>"

 

Monday, 10 December 2012 14:17:28 (Mitteleuropäische Zeit, UTC+01:00)  #    -
CA | Certificates | Registry
# Wednesday, 11 August 2010

If you are working with (b)leeding edge technologies like Outlook 2007, and you have to create plugins that are to be installed for ALL users on a machine you might want to read this:

http://blogs.msdn.com/b/mshneer/archive/2007/09/04/deploying-your-vsto-add-in-to-all-users-part-i.aspx

The one line I overread for (very) a long time said:

"in order for the instruction to execute we need to make sure that HKLM's Count value is different from HKCU's Count value"

So you create your settings staring with something like:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\User Settings\<you_name_it>]

"Count"=dword:00000004

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\User Settings\<you_name_it>\Create\Software\Microsoft\Office\Outlook\AddIns\<you_name_it_again>]

"Description"="My Fancy Plugin"

"FriendlyName"="My Fancy Plugin"

"LoadBehavior"=dword:00000003

"Manifest"="[TARGETDIR]My Fancy Plugin.vsto|vstolocal"

 

This works perfectly unless you need to change things. Nothing gets provisioned if you just modify, lets say, the description. The following entry is causing office to ignore our

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\12.0\User Settings\<you_name_it>]

"Count"=dword:00000004

Provisiong only starts when the values are different, so delete the HKCU key or change its value.

 

Wednesday, 11 August 2010 16:14:43 (Mitteleuropäische Sommerzeit, UTC+02:00)  #    -
Registry
# Monday, 03 May 2010

Registry files can be fun, and everyone knows how to add things to the registry via reg files.

But you can also remove entries;

Prefix the key with '-' to remove it, set the value to '-' to remove it.

Samples:

[-HKEY_LOCAL_MACHINE\Software\Foo] will remove the complete key 'Foo'.

and

[HKEY_LOCAL_MACHINE\Software\Foo]

Bar=-

will leave the key 'Foo' and remove the value 'Bar'

Keep in mind:

The registry is a central element in windows. Messing around with it may cause unpredictabele results and the whole system may fail.

So pleas double check what you are doing to the registry!!!

 

Monday, 03 May 2010 14:20:49 (Mitteleuropäische Sommerzeit, UTC+02:00)  #    -
Registry
Archive
<2017 December>
SunMonTueWedThuFriSat
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
Any link on this site may lead to an external website that is not under my control and that external website might show an opinion that is not mine.

© Copyright 2017
Hannes Köhler
Sign In
Statistics
Total Posts: 39
This Year: 0
This Month: 0
This Week: 0
Comments: 1
All Content © 2017, Hannes Köhler
DasBlog theme 'Business' created by Christoph De Baene (delarou)