Wednesday, August 25, 2010

How do I run a program automatically when Windows starts?


Go to the Registry editor (regedit.exe) and open this location..

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

Right click on the Right pane and choose New->String Value.

Change the name of New Value #1 to your application.
Double click on it and on the Value Data box write the path to your application with the executable.
example: "C:\Program Files (x86)\Spark\Spark.exe"

Monday, August 23, 2010

Uninstall Windows Live Essentials 2011 Beta


Here is the procedure how Windows Live Essentials 2011 Beta can be uninstalled:

1. In Windows XP, Click on Start then click on Run.
In Windows Vista or Windows 7, Click on Start and go to the Start search text box

2. Type C:\Program Files\Windows Live\installer\wlarp.exe then press Enter

3. A new window will open. Select Uninstall and click on Continue

4. Select the Windows Live Program that you want to remove and click on Continue

5. Follow the on-screen instructions.

Wednesday, August 18, 2010

SCCM SRS Reports configuration


If you want to allow to certain users or groups to access on specific reports in SCCM 2007 with SQL Server Reporting services installed, follow these steps:

First create a AD Security group which will have permissions to browse SCCM SRS Reports. ex: SCCM_Report_access

Open SQL Server Management Studio and add this group in Security -> Logins.
In User Maping choose your SMS database on right side and click on public and db_datareader.


Next step is to allow SCCM_Report_access group to access on SCCM reports.
Open Web SCCM Reports : http://sccm/Reports/
Choose some link and click on Properties:

Click on Security:


Click on New Role Assigment:


Paste MYDOMAIN\SCCM_Report_access Group or user name field and choose Browser.


After that users members of SCCM_Report_access Group will have access to Hardware - General Reports.

If you want to deny access to specific report then you have modify permissions on that report explicitly.

To allow users to see reports you must assign Browser privileges to Security group or users starting from root (http://sccm/Reports/). With this action, because this permissions are inheritable all sub-links will have same permissions. If you don't want all reports to be seen by the users then you must modify permissions on each sub-link.

Tuesday, August 10, 2010

SCCM client cannot be pushed by SCCM Install Client Wizard

When I try to install SCCM client using SCCM Wizard in ccm.log file on SCCM 2007 server I'm receiving this error:

---> Failed to connect to \\TEST-WIN7-64-02\admin$ using machine account (5)
---> ERROR: Failed to connect to the \\TEST-WIN7-64-02\admin$ share using account 'Machine Account'
---> ERROR: Unable to access target machine for request: "VBMIPZAY", machine name: "TEST-WIN7-64-02", access denied or invalid network path.

Solution:
SCCM must use an account which have local admin privileges on the target machine.
This can be done in SCCM Console, Client Installation Methods, right click on Client Push Installation and on Accounts tab enter admin user account.

Note: You do not need to enable "Enable Client Push Installation to assigned resources" to use SCCM Client Install Wizard.

ADM Temlpate for Turn off Windows Movie Maker saving files to YouTube via GPO

Turn off Windows Live Movie Maker to upload files to YouTube can be done modifying the registry "SupportedMediaTypes" key.

The key is on the folowing location:
"HKLM\Software\Microsoft\Windows Live\PublishPlugins\YouTubePlugin\DefaultParameters"

or

"HKLM\Software\Wow6432Node\Microsoft\Windows Live\PublishPlugins\YouTubePlugin\DefaultParameters"

on 64-bit machines.


Changing its value to 0 will remove YouTube icon from Movie Maker's toolbar.

Custom ADM template to apply this GPO settings to Windows clients on machine level is following:

CLASS MACHINE

CATEGORY !!System
CATEGORY !!InternetCommunicationManagement
CATEGORY !!InternetCommunicationsettings
KEYNAME "Software\Wow6432Node\Microsoft\Windows Live\PublishPlugins\YouTubePlugin\DefaultParameters"

POLICY !!Pol_DisableYouTubePlugin
EXPLAIN !!Explain_DisableYouTubePlugin

VALUENAME "SupportedMediaTypes"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
END CATEGORY;
END CATEGORY;
END CATEGORY;

[Strings]
System="System"
InternetCommunicationManagement ="Internet Communication Management"
InternetCommunicationSettings ="Internet Communication Settings"

;------------------------------------------------------------------------------
; Options
;------------------------------------------------------------------------------
Options="Options"
Pol_DisableYouTubePlugin="Turn on YouTube Plugin in MovieMaker"
Explain_DisableYouTubePlugin="Turn on YouTube Plugin in MovieMaker"