Tuesday 29 May 2012

XP & Win7: All User Desktop

 

Are you looking a script that can copy a file into all user desktop which work on either XP or Win7. Below is the script that modify from Michael Hex .

PUBLIC folder is the location for All Users in Windows 7.

Example: Copy a URL shortcut into Win XP & Win 7 desktop.

   1: @echo off
   2: IF "%PUBLIC%"=="" GOTO NO_PUBLIC 
   3: GOTO PUBLIC_FOUND
   4:  
   5: :NO_PUBLIC 
   6: Rem Win XP 
   7: copy "Bing.url" "%ALLUSERSPROFILE%\Desktop"
   8:  
   9: :PUBLIC_FOUND 
  10: Rem Win Vista or Win 7
  11: copy "Bing.url" %PUBLIC%\Desktop 
Don’t forget to turn off User Account Control ( UAC ) in Vista & Win7

Sunday 27 May 2012

SCCM : How to Configure the Proxy Settings for the Software Update Point

 

During configuration of System Center Configuration Manager 2012, Software Update Point was failed to download from internet. After few check point, found that internet access in client environment required proxy.

Applied To: SCCM 2007, SCCM 2012

To configure the proxy settings for the software update point

  1. In the Configuration Manager console, navigate to System CenterConfiguration Manager / Site Database / Site Management / <site code> - <site name> / Site Settings / Site Systems / <SiteSystemName>.
  2. Right-click Software update point, and then click Properties.
  3. Enter proxy server name, port number, and whether credentials are used to connect to the proxy server.

Done !
Source from TechNet

DNS: Enable Aging and Scavenging


During the SCCM 2012 deployment, sometime the progress was delayed due to duplicate DNS record.

To do a housekeeping of DNS, we need to enable aging and scavenging for the DNS server.

Here you go

Applies To: Windows Server 2008, Windows Server 2008 R2

  1. To open DNS Manager, click Start, click Administrative Tools, and then click DNS.
  2. In the DNS console tree, right-click the applicable DNS server, and then click Properties.
  3. Click the Advanced tab.
  4. Select the Enable automatic scavenging of stale records check box.
  5. To adjust the Scavenging period, in the drop-down list, select an interval in either hours or days, and then type a number in the text box
  6. Click OK.

Refer to TechNet for details.

Windows Services: Task scheduler greyed out in Windows Server 2008. Cannot restart

 

Do you notice that Task Scheduler in Windows Server 2008 is greyed out and your can’t perform any action of START,  STOP, RESTART ?

image

Found a workaround from TechNet.

To STOP Services

1. Go to Registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule

2. Find the DWORD called START, change its value from 2 to 4."

3. Reboot OS

 

To START Services

1. Go to Registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule

2. Find the DWORD called START, change its value from 4 to 2."

3. Reboot OS

 

Reference for the value of REG_DWORD.

1

Automatic (Delayed Start)

2

Automatic

3

Manual

4

Disabled

Hope this can help you :-)

Thursday 24 May 2012

SCCM 2012: Right Click Tools

An add-on tools that you can’t miss. Tested and working fine in SCCM 2012 Console. COOL !

Just run Right Click Tools Install.cmd, then close and reopen Configuration Manager Console and enjoy it!

Please read Ryan Ephgrave’s blog from myitforum for details. Thank you for his effort and contribution.

Download:  Right Click Tools ( myitforum )
                 Right Click Tools (SkyDrive)

When you right click on a device, you will see three new menus.

Client Actions:

  •      Branch Distribution Point Maintenance Task
  •      Discovery Data Collection Cycle
  •      Hardware Inventory Cycle
  •      Machine Policy Retrieval and Evaluation Cycle
  •      Software Inventory Cycle
  •      Software Metering Usage Report Cycle
  •      Software Updates Deployment Evaluation Cycle
  •      Software Updates Scan Cycle
  •      Windows Installer Source List Update Cycle

Client Tools:

  •      Restart SMS Agent Host Service
  •      Generate new SCCM GUID
  •      Rerun Advertisement
  •      Open Client Log File Folder
  •      Open Client Installation Log File Folder
  •      Assign Client to Another Site
  •      Change Cache Size
  •      Uninstall SCCM Client

Console Tools:

  •      Manage Computer
  •      Ping System
  •      Wake On LAN
  •      RDP to Console
  •      System Info
  •      Show Collections
  •      Running Processes
  •      Computer Management
  •      Connect to C$
  •      Interactive Command Prompt
  •      Reboot System
  •      Schedule Reboot

When you right click on a collection you will have three new menus.

SCCM Client Actions on Collection:

  •      Branch Distribution Point Maintenance Task
  •      Discovery Data Collection Cycle
  •      Hardware Inventory Cycle
  •      Machine Policy Retrieval and Evaluation Cycle
  •      Software Inventory Cycle
  •      Software Metering Usage Report Cycle
  •      Software Updates Deployment Evaluation Cycle
  •      Software Updates Scan Cycle
  •      Windows Installer Source List Update Cycle

SCCM Client Collection Tools:

  •      Restart SMS Agent Host Service
  •      Generate new SCCM GUID
  •      Rerun Advertisement
  •      Uninstall SCCM Client

SCCM Console Collection Tools:

  •      Ping Collection
  •      Wake on LAN