vrijdag 4 november 2011

Pin Items to the Start Menu

If you wanna Pin a shortcut to the Start Menu, you can do this by rightclicking on the shurtcut and clicking on the "Pin to Start Menu". This doesn't work when your Windows Vista/XP/7 is NOT in Classic Mode.

If you want to do this via a script you can use the following vb-scripts:

Const CSIDL_COMMON_PROGRAMS = &H17
Const CSIDL_PROGRAMS = &H2
Set objShell = CreateObject("Shell.Application")
Set objAllUsersProgramsFolder = objShell.NameSpace(CSIDL_COMMON_PROGRAMS)
strAllUsersProgramsPath = objAllUsersProgramsFolder.Self.Path
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Accessories")
Set objFolderItem = objFolder.ParseName("Calculator.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Start Menu" Then objVerb.DoIt
Next

If you are using a Windows with a language pack, you don't have to change "\Accessories" (line 6), line 7 shows the link you want to pin (again keep this the original Englishname when using an Englisch Windows with a language pack).
In line 10, you have to change "Pin to Start Menu" to the Windows language or when using a language pack, the language of the pack.
Dutch: "Aan het menu Start vastmaken"

Const CSIDL_COMMON_PROGRAMS = &H17
Const CSIDL_PROGRAMS = &H2
Set objShell = CreateObject("Shell.Application")
Set objAllUsersProgramsFolder = objShell.NameSpace(CSIDL_COMMON_PROGRAMS)
strAllUsersProgramsPath = objAllUsersProgramsFolder.Self.Path
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Accessories")
Set objFolderItem = objFolder.ParseName("Calculator.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
Wscript.Echo objVerb
Next

You can use the above (second) vb-script to see which rightmouse-clicks are available for the shortcut calculator. Please ommit the "&".



zaterdag 22 oktober 2011

Low colors on Terminal Server/Citrix/2X sessions

Have you just bought a very high-resolution monitor or have attached two or more hi-res monitors to your Terminal Server/Citrix/2X Client, than you may experience a degradation in color depth on the monitorscreens.

For this to happen, you need Terminal Server 2003
- with Service Pack 2
or - a Terminal Server with hotfix 918679 is installed.

To request the hotfix to fix is issue:
You will have to select the appropiate Windows 32/64-bit version ,the right language and fill in your e-mail. The downloadlink will be send to you shortly.

After installling the hotfix, you need to restart the server and
afterwards you have to change the value of AllowHigherColorDepth (reg_Dword) located at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server from 0 (zero) to 1 (one).
If the key doesn't exist, please create it at the correct registrylocation.

The Micorosoft KB-article has the following title:
The color depth is unexpectedly changed to 8-bit when a high screen-resolution setting is used in a terminal-server session that is connected to a Windows Server 2003-based computer.
and can be found here.


zaterdag 23 juli 2011

Disable Java Update for Windows 7


I just discovered that disabling the Java update from the Java-control panel didn't stick in Windows 7. This is because you need administrative rights to make it "stick".

Just go to C:\Program Files (x86)\Java\jre6\bin (path my vari on x86 system) and start the folling executable with administrative rights: javacpl.exe (right-mouseclick).
No go to the tab named: Update, uncheck the "Check for Updates Automatically", choose [Never Check] (to disable autoupdates completely) and click [OK].
This is a userbased solution, so you have to do this for every user on you computer.


I you want to disable the Java-updates for all users, then you have to do somne tweaking with regedit.

Go to [Start], type Regedit and start it with Administrative rights (right-mouseclick).
Dependent of your Windows version x86/x64 you have to change different registrykeys.
Windos 7 x86:
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy] "EnableJavaUpdate"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy] "EnableAutoUpdateCheck"=dword:00000000


Windows 7 x64:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy] "EnableJavaUpdate"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy] "EnableAutoUpdateCheck"=dword:00000000

The next time you start the Java-controlpanel, you will notice that the tab named Update, has been removed completely.
The get the tab and updates back, just change the registry vallues (from 0) to 1.

http://blogmines.com/blog/2011/06/23/how-to-disable-automatic-java-update-check-in-windows-7/

donderdag 23 juni 2011

Problem with Win Xp Explorer >View > Explorer Bar - Folders

You can set Explorer to view folders by going to: Win Xp Explorer > View > Explorer Bar >Folders
For Ducth users: Beeld > Explorer-balk >Mappen

If your explorer seems to be stuck into this Explorer View, then you probably have found the solution here:


  • From Explorer, click on Tools, Folder Options, and then the File Types tab.

  • Find (NONE) Folder in the list and highlight it.

  • Click the Advanced button. (Explore will probably be bold).

  • Changed it to Open, by clicking on open, then clicking the Set Default button. Open should now be bold.

  • Click Ok to close the windows.
If this fixed your problem, than your problem was due to the fact, that the default folder action was set to explore,instead of open. Cheers!

maandag 20 juni 2011

Remote Desktop Managers

Do you have multiple RDP-sessions on you're computer and would you like to manage them more efficiently?
If your answer is YES!, than have a look at Remote Desktop Connection Manager 2.2 (it's a free) from Microsoft. It has some nice feautures like thumbnails from RDP-sessions, and you can switch rapidly between sessions.
Other free alternatives are: Remote Desktop Manager (standard edition) , Terminals, CoRD for Mac and RDTabs.
Non-free alternatives are: VisionApp Remote Desktop, Royal TS (10 connections free)

If you have problems connecting to the machines with these tools but not with the standard RDP-utility (Mstsc.exe), you might consider installing Microsoft's RDP 6.x and up and registering Mstscac.dll (RDP ActiveX component) with: regsvr32.exe c:\windows\system32\mstscax.dll

maandag 13 juni 2011

Determine if a MSI-installation is running

Did you know only 1 MSI (Windows Installer-file) can be running at a time?
So if you are already installing a MSI-file and you try aonother install you'll probably get the following message:
Error 1618 or Error 1500 "Installation already in progress"
But how can you determine a MSI is running before you run your installation?
It's easy! Just monitor the following registry-key for its's presents:
SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\InProgress
If this key doesn NOT exist, you are save to start a Windows Installer-installation.

One way to use this if an user logs in for the first time ever. Often al sorts of MSI-repairs are triggered. So installing software while these MSI-"repairs" are running is not a good idea if you are installing some software at login.

I made a routine to check for 5 seconds (loop) if a MSI was running. If that was the case within those 5 deconds, I would make my installationwrapper wait for 10 seconds and then check again. To protect my wrapper against an infinite loop, the max. wait time was 20 loops (20x 10 = 200 seconds). That should do it when an user is logging in for the very first time!




Sources: http://www.appdeploy.com/messageboards/tm.asp?m=9119&mpage=1&key=&#9119
http://www.installsite.org/pages/en/msifaq/error/1618.htm

woensdag 20 april 2011

Installatie H-Base op server en client

Bij het installeren van Hbase als Server/Client moet op de Server DEP worden uitgeschakeld voor Hbase.exe (In Nohau en HBSWin folder) en Update.exe (Nohau).
Ook moet her een share gemaakt worden naar de rootfolder waarin Hbase wordt geïnstalleerd.

Bij het installeren van de client vraagt zegt de setup dat je administrator moet zijn (DLL updates naar Windows-folder) en of je wil stoppen, deze vraag komt altijd ongeacht of je localadmin bent of niet.

De client moet een netwerk-koppeling hebben met de Hbase-Share.
Wanneer de Setup deze snelkoppeling ziet, zal de optie vrijkomen om i.p.v. de volledige versie, de client versie (zonder dbase en plaatjes) op de werkstation te installeren.

Op Windows Vista/7 wordt het detecteren van de Hbase of de netwerkschijf tegengehouden door UAC, waardoor alleen maar de volledige installatie mogelijk is.
De oplossing is om tijdelijk UAC uit te schakelen en na de installatie van HBase UAC weer aan te zetten.

Wanneer DEP goed staat, Hbase op de server wordt opgestart en er komt een Visual Instance Debug melding, dan lijkt het verwijderen van "Microsoft Visual Studio Tools for applications 2.0" te zorgen dat Hbase toch werkt.

zaterdag 8 januari 2011

Microsoft Handy Office Links

Office 2010 OEM Preinstallation Kit (OPK)
The images to install Office 2010 OEM if you have an OEM key.
http://oem.microsoft.com/script/contentpage.aspx?pageid=566244
http://oem.microsoft.com/script/contentpage.aspx?pageid=566203 (NL)


Office Starter 2010 and is included in the OPK-image.
http://www.microsoft.com/oem/en/products/office/pages/office_2010_pc_essentials.aspx

Click 2 Run Cleanup Tool - Trust me if you have problems you will need it.
Office 2010 Cleanup Tool - Works for C2R and Full Versions


If you want to install Microsoft Starter 2010 without ISO, then:

1. Download following files (at the end you will have 21 files):
Note: make sure all the files are in the same folder otherwise setup
will download all the files to a temporarily location again to complete the installation


  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/85e110c8-36c2-44cf-be26-9cd15c6826a2.dsft
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/3144a390-6c02-4061-aa13-504ca30b6008.dsft
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/ef1f433f-6b77-4d7c-a3c1-e491b196da50.dsft
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/17d8f43d-5d9e-4fe9-bfe6-f35ee52db5ad.dsft
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/934131f7-7fbc-4e5a-84bf-690585111dd5.dsft
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/4a68c605-cebb-44cc-9621-74e0a2279771.dsft
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/769f21c2-d661-4f2d-9dcb-94dccb4439e3.dsft
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/932412ab-86dd-4b01-9080-5ded1867db5f.dsft
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/6a45aa64-4f34-47eb-9491-45dd36fea2a5.dsft
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/51305001.cab
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/autorun.inf
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/click2run64.msi
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/click2run.msi
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/ConsumerC2R.nl-nl_14.0.5130.5001.fs.hmp
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/ConsumerC2R.nl-nl_14.0.5130.5001.sft
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/descriptor.xml
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/launchofficeintl.dll
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/office.exe
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/PackageProperties.xml
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/Welcomedocument.dotx
  • http://c2r.microsoft.com/ConsumerC2R/nl-nl/14.0.4763.1000/SetupConsumerC2ROLW.exe

2. Execute 'SetupConsumerC2ROLW.exe' to install Microsoft Office Starter.
Basically you only need SetupConsumerC2ROLW.exe because it will download all needed files if they are
NOT in the same filder!


Remarks:

* No activation required
* Vista SP2 or higher required, the install will NOT work on any Windows Xp installation!
* For a complete basic Office Suite, you can also download Powerpoint Viewer 2010
* Make sure you don't have "Q:\" assigned as a driveletter. The installer uses "Q:\" to create a virtual drive.

Other languages:
* Available languages: ar-sa,da-dk,de-de,en-us,es-es,fr-fr,he-il,hi-in,it-it,ja-jp,ko-kr,en-us,
pl-pl,pt-br,ru-ru,sv-se,th-th,zh-cm,zh-tw
* Replace all "nl-nl" witch your language (eg "en-us-nl" for US version)
* The *.dsft files have different filenames for each language. Open descriptor.xml and search for
"<@/@DiffSftList>"

(The keyword is deleted by Blogspot (looks like HTML-coding), so I added two @. Please remove the @ for the REAL keyword )


See original sourcelink: http://forums.mydigitallife.info/threads/21441-Office-2010-Starter


...