Wednesday, March 24, 2010

WMI Repair Command:- For Windows 2008 and Windows Vista/7

For For Windows 2008 and Windows Vista/7

winmgmt  /salvagerepository

 

For Windows Server 2003

rundll32 wbemupgd, RepairWMISetup

  • cd /d %windir%\system32\wbem
  • for %i in (*.dll) do RegSvr32 -s %i
  • for %i in (*.exe) do %i /RegServer
Note that none of the above two methods restore the missing files related to Windows Management Instrumentation (WMI). So, below is a comprehensive repair procedure that restores all the missing WMI modules. In case of missing WMI modules, you may use the following method.

 

FOR XP

 

Comprehensive rebuild method

Important note:  If you've installed a Service Pack, you need to insert your Windows XP CD with Service Pack integration (called as the Slipstreamed Windows XP CD). If you don't have one, you may point to the %Windir%\ServicePackFiles\i386 folder for a recent version of the system files required during WMI repair. Or you may create a slipstreamed Windows XP CD and insert it when prompted.

Click Start, Run and type the following command, and press ENTER:

rundll32.exe setupapi,InstallHinfSection WBEM 132 %windir%\inf\wbemoc.inf

Insert your Windows XP CD into the drive when prompted. Repair process should take few minutes to complete. Then restart Windows for the changes to take effect.

 

 

For XP/2k3/2000

//

1. Open a CMD prompt on the server and change directory to %windir%\System32\WBEM (\SysWOW64\WBEM on x64)

2. Execute the following:

FOR /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
Net stop /y winmgmt
FOR /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
Net start winmgmt

Note: Don't attempt to compile the MOF files in the \bin\i386 folder on a site server, as we contain stub files (names start with an underscore character such as _smsprov.mof) that need to be populated with site specific data through other means.   


//

SCCM in Multi Forest design

Full information available for multiple forest is here
http://technet.microsoft.com/en-us/library/bb694003.aspx
http://technet.microsoft.com/en-us/library/bb694289.aspx

Top Rapidshare Search Engines

This summary is not available. Please click here to view the post.

Tuesday, March 23, 2010

Where Name0 in

Deleting Machines Directly From The SMS Database

To delete an individual machine from the SMS database using the SMS console it is necessary to create a collection using the direct membership rule wizard or base your new collection on a newly created Query. The first method is slow and can be time consuming, the second option just doubles your work and it the least desired method for most people.

The other automatic means in which you can remove or otherwise delete the machine(s) from the SMS database is to let the SMS_SQL_MONITOR service automatically remove the machine after it has reached its predefined Site maintenance task ‘Delete Aged Discovery Data’ and ‘Delete Aged Inventory History ‘ specifications if you have left it enabled. It is enabled by default and is set to 90 days. You can however change this to a more reasonable time period appropriate for your sites hierarchy if needed.

Below you will find a SQL query that will allow you to delete machines from the SMS database as the task “Delete Special” performs the removal process. It is important to note here that when you delete machines from a collection within the SMS console the machine is deleted from the database however the History table is not purged or removed. When you use the task Delete Special the machine is not only removed from the SMS database but the history for the machine is also deleted.

NOTE: You must uninstall the SMS client software to ensure that it does not report back in. If you are simply removing the machine name(s) from the SMS database because your site support staff has informed you that the machines were retired or re-imaged then this is not necessary. It is important to also note here that this is not a Microsoft supported means for deleting machines from the SMS database and should be used in a non production environment.

When you are done use the query in my earlier post entitled: ‘Searching Your SQL Database For A Specified Column String’ and search for the machine(s) that you just deleted to ensure that they have in fact been purged.

To delete multiple machines using the query that follows you can simply change the line that reads: Where Name0 = 'Machine_Name' To the following: Where Name0 in ('Machine_One', 'Machine_Two') as in the Deleting Multiple Machines SQL Query found at the end of this post.

  • Deleting An Individual Machine SQL Query:

Insert DeletedMachines (SmsId)

Select IsNull(Sms_Unique_Identifier0,'')

From System_Disc

Where Name0 = 'Machine_Name'

And Sms_Unique_Identifier0 is not null

Delete System_Disc from System_Disc

Where Name0 = 'Machine_Name'

Delete System_Data from System_Data

Where Name0 = 'Machine_Name'

  • Deleting Multiple Machines SQL Query:

Insert DeletedMachines (SmsId)

Select IsNull(Sms_Unique_Identifier0,'')

From System_Disc

Where Name0 in ('Machine_One', 'Machine_Two')

And Sms_Unique_Identifier0 is not null

Delete System_Disc from System_Disc

Where Name0 in ('Machine_One', 'Machine_Two')

Delete System_Data from System_Data

Where Name0 in ('Machine_One', 'Machine_Two')

Group Policy Software Deployment: Targeting the right computers with WMI filters

Group policy was introduced with Windows 2000, and is an easy way of centralizing many Windows settings. In addition to centralizing event log and firewall settings, I personally like the ability to deploy MSI-based software applications with Group Policy, since it makes it extremely easy to deploy new software packages.
Even though Software Installation only works only with MSI-based packages, it does make deploying MSI-based software packages extremely easy.  

We generally deploy software through Group Policy when three or more computers use it, since it's very easy to create a new package (if you already have a network share etc. setup, then you can literally do it in 2 minutes).
image

Before I list some of the useful WMI queries we use to target certain operating systems or computer types, there are a couple of things to note for those who are new to software deployment via group policy:

  • Software packages are always installed right after a reboot, so they're mostly suitable for workstations.
  • The network share which hosts the MSI files needs to give the computer accounts (e.g. DESKTOP1$) at least read access. Generally, giving EveryOne Read access works well unless you have a reason to restrict access to the software packages that you distribute.
Since the mechanism to distribute software is based on group policies, any sort of software package you create inside a group policy, will need to be assigned to an organizational unit (OU).
Since OUs can contain a large amount of computers that might not all need that particular software package, you can use two techniques to narrow down which computers receive the software:
  1. Security Filtering
  2. WMI Filtering
Security Filtering
With this method, you create a security group in Active Directory, place the computers that should get a particular software package into the group, and then specify this group in the Security Filtering list.
The screen shot below shows a group policy that will only be applied to members of the "Source Control Computers" group:image

WMI Filtering
With this method, you can filter the computers which are affected by your policy, based on common properties of the Operating System. For example, some packages might distinguish between 32-bit and 64-bit, some packages might only work on Vista or later, whereas other packages apply only to servers. With WMI, you can target the right computers without having to mess with group memberships (though you will probably still need to do that). For example:

  • 32-bit vs. 64-bit computers
  • only workstations
  • only computers running a certain OS
  • only computers with a certain amount of RAM
  • only computers of a certain brand
With WMI filtering, you just create the software group policy, for example:
  • 7-Zip 32-bit
  • 7-Zip 64-bit

and then apply the respective WMI filter to them. But lets cut to the chase, here are a few WMI queries that you can cut & paste:
Operating System 32-bit
Select * from Win32_Processor where AddressWidth = '32'
Operating System 64-bit
Select * from Win32_Processor where AddressWidth = '64'
grouppolicy_wmi_filter.png

Workstation
Select * from WIN32_OperatingSystem where ProductType=1
Domain Controller
Select * from WIN32_OperatingSystem where ProductType=2
Server
Select * from WIN32_OperatingSystem where ProductType=3
Some filters require multiple WMI queries, which are just chained together.
Workstation 32-bit
Select * from WIN32_OperatingSystem where ProductType=1
Select * from Win32_Processor where AddressWidth = '32'
Workstation 64-bit
Select * from WIN32_OperatingSystem where ProductType=1
Select * from Win32_Processor where AddressWidth = '64'

image

Windows XP
Select * from WIN32_OperatingSystem where Version='5.1.2600' and ProductType=1
Windows Vista
Select * from WIN32_OperatingSystem where Version='6.0.6002' and ProductType=1
Windows 7
Select * from WIN32_OperatingSystem where Version='6.1.7600' and ProductType=1
Windows 2003
Select * from WIN32_OperatingSystem where Version='5.2.3790' and ProductType>1
Windows 2008
Select * from WIN32_OperatingSystem where Version='6.0.6002' and ProductType>1
Windows 2008 R2
Select * from WIN32_OperatingSystem where Version='6.1.7600' and ProductType>1
WIN32_OperatingSystem of course includes more information that can be useful for WMI queries, such as a descriptive name of the installed OS ("Name") as well as the service pack installed ("ServicePackMajorVersion").
Manufacturer (e.g. DELL)
Select * from WIN32_ComputerSystem where Manufacturer = 'DELL'
Installed Memory (e.g. more than 1Gb)
Select * from WIN32_ComputerSystem where TotalPhysicalMemory >= 1073741824

For more information, check out these resources on WMI:
WMI
Secrets of Windows Management Instrumentation
Scriptomatic (Vista/Win2k8/Win7: run as administrator!)

Monday, March 22, 2010

Reset done by any user for Site Status (SMS_COMPONENT_STATUS_SUMMARIZER)

If any user done Site reset if found in red/yellow to set to OK… then below message will appear

image

 

also you will see below information in one of other message

“SMS Site Control Manager added a "Property List" item named "Reset SMS_COMPONENT_STATUS_SUMMARIZER:1269225968" to the actual site control file D:\apps\sccm\inboxes\sitectrl.box\sitectrl.ct0.

This addition occurred as a result of a site configuration change request in delta site control file D:\apps\sccm\inboxes\sitectrl.box\incoming\t1wv43np.CT1. The change will take effect in serial number 84 of the actual site control file.”

image

 

Hope this helps to find who has reset the SMS / SCCM Site

Remote Server Administration Tools RSAT

Remote Server Administration Tools(RSAT)

Download Location:-
http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&displaylang=en

DirectAccess

VPN Reconnect

Offline Domain Join

BranchCache

New Group Policy capabilities

AppLocker

Domain Name System Security Extensions (DNSSEC)

Windows Deployment Services supports Windows 7 deployments

What is Disaster? DR?

An event, usually a major or catastrophic that denies access to the normal facility of business (or technology processing) for an extended period that would require relocation to an alternate site or sites.

Sunday, March 21, 2010

Batteries recommended

SEMI - TUBULAR Batteries - These are Modified Versions of Automotive Batteries and are Designed for Inverter Applications .. They come with 18 Months Replacement Warranty + Some Rebate for the Next 6 months if battery Fails and Average Life of these Batteries is 3 years..These Batteries Need Topping of Distilled Water once in 3 4 Months .

Models  Recommended  by us :- EXIDE INVERTER + Series /  SF POWERBOX Series. ( 18 Months Replacement + next 6 Months 50% Rebate )

TUBULAR Batteries :-  These are the Batteries which are Specially Designed for Inverters , UPS & Telecom Purpose where Continuos Current is Required at the Time of Power Failure .. The Plates in the Batteries are Very Thick which gives you Excellent Power Back up and Life .. They Usually come with 2 Yrs & 3 Yrs Replacement Warranty and average Life of these Batteries is 5 -7 Years..there is no smell or fumes from these batteries and maintainance is required only once in 6-8 months


-------------------
Thanks,

Saturday, March 20, 2010

Windows 7 Research deployment

 

Key Findings

• 46% are not waiting for the release of Service Pack 1 to deploy Windows 7

• 87% are planning to deploy Windows 7 compared to 47% who had plans to deploy Vista at a comparable point

after the operating system release

• 58% expect to deploy Windows 7 by the end of 2010

• 27% are using commercial tools for migration

• 57% are concerned about Windows 7, down from 67% in 2009

• 25% expressed concerns about performance, down from 47% in 2009

• 41% are anxious about stability, down from 62% in 2009

• 86% are concerned about software compatibility, consistent with 88% in 2009


-------------------
Thanks,

Thursday, March 18, 2010

to know the user password last changed time Command

C:\>NET USER administrator | FIND /I "Password last set"
Password last set            2/17/2010 5:20 PM

C:\>

SMS_Outbox_Monitor and SMS_Inbox_Monitor Errors

 

When you see below kind of errors in your Site status…

 

image

 

 

image

 

Solution:- Connect to ConfigMgr Service Manager and connect to the problem Site and “Stop SMS_Inbox_monitor and SMS_Outbox_monitor and start it “

Sunday, March 14, 2010

how to move the Site Database in Microsoft System Center Configuration Manager 2007 from a computer

INTRODUCTION
This article describes how to move the Site Database in Microsoft System Center Configuration Manager 2007 from a computer that is running Microsoft SQL Server 2005 to another drive on the same computer, or to another computer that is running SQL Server 2005.

MORE INFORMATION
In certain situations, you may have to move the Site Database from a computer that is running SQL Server 2005 to another drive, or to another computer that is running SQL Server 2005. For example, the following situations may require that you move the Site Database:

•You experience hardware issues on the server that you currently use. Additionally, you do not consider the server to be reliable.
•You have to move the Site Database and the log file to a different volume because the database requires more space, or because you want to improve performance.
•The server that you currently use is leased. The lease on the server is scheduled to expire soon.
•New hardware standards have been developed and approved. You must upgrade the computer that is running SQL Server 2005 to the new hardware specifications.
SQL Server 2005 supports the following:

•You can move files and log files from one computer to another computer if both computers are running SQL Server 2005.
•You can move data files and log files from one instance of SQL Server 2005 to another instance of SQL Server 2005 if both instances are on the same computer.
•You can move data files and log files from one volume to another volume on a computer that is running SQL Server 2005.
For more information about these functionalities in SQL Server 2005, visit the following Microsoft Web site: http://technet.microsoft.com/en-us/library/ms203721.aspx

PREREQUISITES
Before you move the Site Database from a computer that is running SQL Server 2005 to another drive or another computer that is running SQL Server 2005, follow these steps:

1.Back up all the databases from their current locations. This includes the master database.
2.Verify that you have system administrator permissions on both the computers that are running SQL Server 2005.
3.Verify that you have configured the computer where you want to move the Site Database exactly like the computer that currently hosts the Site Database.
4.Verify that you know the name and the current location of the Site Database.
5.Stop the following Configuration Manager services on the Microsoft System Center Configuration Manager 2007 site server:
• SMS_EXECUTIVE Service
• SMS_SITE_COMPONENT_MANAGER Service
• SMS_SITE_SQL_BACKUP Service
• SMS_SITE_VSS_WRITER
Note: You can stop all of these services using the Preinst.exe utility by running the following command without the quotes:

"Preinst.exe /STOPSITE"

Preinst.exe is included with Microsoft System Center Configuration Manager 2007 Server and is located in the following path:

Drive:\Program Files\Microsoft Configuration Manager\bin\i386\00000409 (the last folder is dependent upon the language of the product, 00000409 is for the English version).

Note: If you are running the SMS Provider and the Site Database on the same SQL 2005 Server, and you are moving the Site Database to a new server, you will also need to modify the SMS Provider Configuration in order to move it as well, For more information about moving the SMS Provider in Microsoft System Center Configuration Manager 2007, visit the following Microsoft Web site: http://technet.microsoft.com/en-us/library/bb693923.aspx.

MOVING THE DATABASE
To move the Site Database from a computer that is running SQL Server 2005 to another drive or another computer that is running SQL Server 2005, follow these steps:

Step 1: Detach the database
1. On the computer that currently hosts the Site Database, click Start, point to Programs, point to Microsoft SQL Server 2005, and then click SQL Server Management Studio.

2. Click the appropriate values in the Server type list, in the Server name list, and in the Authentication list. Then, click Connect.

3. Expand the Databases folder, right-click the SMS_ folder, point to Tasks, and then click Detach. Note that the Detach command is visible only if the following conditions are true:

• You are a member of the sysadmin fixed server role.
• The server to which you are connected is running SQL Server 2005.

4. Verify the status of the Site Database. Note that to successfully detach the Site Database, the status in the Databases to detach box in the Status column must read: "The database is ready to be detached." Optionally, you can update statistics before the detach operation. To do this, select the check box under the Update Statistics column in the Databases to detach box.

5. To close any existing connections in the Site Database, select the check box under the Drop Connections column in the Databases to detach box.

6. Click OK. The database node of the detached Site Database disappears from the Databases folder.

7. After the Site Database is detached, copy the SMS_.mdf file and the SMS_.ldf file to the drive and path you want to move it to, or to a folder on the computer to which you want to move the Site Database.

Note: The following path is the default path of the SMS_.mdf file:

Drive :\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data

The following path is the default path of the SMS_.ldf file:

Drive :\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data

Step 2: Attach the database

1. Click Start, point to Programs, point to Microsoft SQL Server 2005, and then click SQL Server Management Studio.

2. Click the appropriate values in the Server type list, in the Server name list, and in the Authentication list. Then, click Connect.

3. Right-click the Databases folder, and then click Attach. Note The Attach command is visible only if the following conditions are true:

•You are a member of the sysadmin fixed server role.
•The server to which you are connected is running SQL Server 2005.
4. In the Attach Databases dialog box, click Add to specify the database that you want to attach.

5. Locate and then click the SMS_.mdf file. Then, click OK.

Note The following path is the default path of the SMS_.mdf file: Drive :\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data

6. On the View menu, click Refresh to view the database node of the attached Site Database.

Note: If you moved the Site Database files to another drive on the same computer, then your move is complete, and you can start the following services:

•SMS_EXECUTIVE Service
•SMS_SITE_COMPONENT_MANAGER Service
•SMS_SITE_SQL_BACKUP Service
•SMS_SITE_VSS_WRITER
Step 3: Update the database server name

If you moved the Site Database to another server, you need to run the Microsoft System Center Configuration Manager Setup Wizard on the Microsoft System Center Configuration Manager 2007 Server to modify the SQL Server configuration to specify the new SQL Server name.

1. Ensure the primary site server computer account has administrative privileges over the new site database server computer.

2. Close any open Configuration Manager console connections to the site server.

3. On the primary site server computer, use the hierarchy maintenance tool (Preinst.exe) to stop all site services with the following command: Preinst /stopsite.

4. On the primary site server computer, click Start, click All Programs, click Microsoft System Center, click Configuration Manager 2007, and click ConfigMgr Setup, or navigate to the .\bin\i386 directory of the Configuration Manager 2007 installation media and double-click Setup.exe.

5. Click Next on the Configuration Manager Setup Wizard Welcome page.

6. Click Perform site maintenance or reset this site on the Configuration Manager Setup Wizard Setup Options page.

7. Select Modify SQL Server configuration on the Configuration Manager Setup Wizard Site Maintenance page.

8. Enter the appropriate SQL Server name and instance (if applicable) for the new site database server as well as the site database name on the Configuration Manager Setup Wizard SQL Server Configuration page.

9. Configuration Manager Setup performs the SQL Server configuration process.

10. Restart the primary site server computer, and verify the site is functioning normally.

Note: If you also need to move the Software Update Services Database (SUSDB) you will need to stop IIS Admin Service, and Update Services Service and follow Steps 1 and 2 above to detach, then move the SUSDB.MDF and SUSDB.LDF files, then attach the SUSDB.MDF, in the new drive location or on the new SQL Server 2005.

Enjoy

Saturday, March 13, 2010

High level of Tech Talk :- Take this Print

Communication errors between Site’s
SQL Server Errors

For Every Term you need to get a log file Name, Glossary should learn it

Site Server issues :-

  1. Not able to connect to the Console
  2. Site is not sending status messages, the procedure to confirm and the default report
  3. Site Server Slow or CPU High Utilization
  4. backlogs finding
  5. Backlogs Story…
  6. MY Script to check the Backlogs
  7. Database errors related to Site Server and SQL
  8. Importance of SMS Provider
  9. Collections are not appearing in the hierarchy log file
  10. Some of IMP Log Files
  11. Status messages not for set to clear you must understand what happens when we set to clear and act to the situation
  12. SMS 2003 Troubleshooting Workflow
  13. News / MYITForum Group Importance
  14. Backup of Sites
  15. Uninstallation of Sites
  16. Planning of Sites “”Configuration Manager Preplanning Worksheets””
  17. Primary Site
  18. Secondary Site
  19. Just the DP
  20. Boundaries
  21. Boundary Overlapping
  22. FSP and it’s history why we need FSP?
  23. Site to Site key exchange
  24. Possibility of NLBs and for MP and WSUS
  25. OSD Coverage and steps
  26. lets try MDT also
  27. If possible Lets try Native Mode also

Client Issues:-

  1. Client Installation Methods
  2. Software Update point Based Client installation
  3. Disadvantages of Client Push
  4. Client installation Log files

Client Installation Troubleshooting:-

  1. WMI Connectivity check
  2. WMI Rebuild
  3. WMI Log Files
  4. MOF FILES RELATED TO WMI
  5. Drive Space issues, FS.exe
  6. Permissions, admin$, 64 bit ccm folder location & 32 bit control panel
  7. Not found MP
  8. not detecting the site code
  9. client not assigning to site code and trying to install\
  10. possible of command line option of ccmsetup.exe
  11. ccmclean.exe
  12. IMP log Files related to Client
  13. patching related log file and issue
  14. patching is failing to install
  15. is sms/sccm client is manacle of things to automate?
  16. Trace32.exe
  17. Client Status Reports
  18. SMS Client Health Monitor
  19. Some of the “”State Messages in Configuration Manager 2007”

 

  • MP Troubleshooting
  • Reporting Point Troubleshooting
  • Secondary Site Installation
  • Ports Document
  • patching the Systems
  • Workstation Patching style and server patching status
  • maintenance window
  • SCCM R2 Advantages
  • SCCM Features comparison with SMS

 

Inventory:-

Software inventory
Hardware inventory
SMS_def.mof File and tool from MYITFORM for registry key
mof compile
no idmif
idmif

 

 

Log files for Communication

  1. Component Configuration Manager Troubleshooting
  2. ADMINUI.log file
  3. Delegation of Configuration / SMS Console
  4. Status messages

Package Distribution Issues

  1. Procedure to Confirm the Package  is reached to the DP And  Log File
  2. Procedure to Package Source Version and Current Version finding
  3. What is refresh and Update package and resend to DP?
  4. How to Distribute the Packages to Multiple DPs? DP Groups?
  5. IMP Log Files related to Distribution:- Sender and Scheduler and Distmgr.log
  6. Compressed files like .Pck story
  7. What is the Compressed Package?
  8. What is Binary replication in Distribution?
  9. What is the Package Creation Flow, I mean what kind of files gets changed in the work flow, like Dispooler and etc…
  10. Importance of BITS on DP
  11. Distribution points Related reports to the DP and Database Tables
  12. Troublshooting steps for a Package is not reaching DP
  13. Download package and run from DP
  14. Virtual Applications and relationship with DP
  15. In the Event of Distribution Point OS Failed how to proceed further to get it corrected?
  16. Document from my blog DP in and Outs


Distribution Point Family and its Terms:-

 

  1. Understanding of Advertisement?
  2. Standard DP
  3. Protected DP
  4. Branch Distribution Point
  5. peer DP
  6. Nomad DP
  7. Check in IE
  8. More than 700 do we need another DP?
  9. DFS and DP ?
  10. File Server and DP ?
  11. For each above Log files

Advertisement:-

  1. Working style of Advertisement..
  2. When we advertise the Command line Options that we can see…. for executing style
  3. Default report that we can check for advertisement
  4. Log files for advertisement
  5. From console view of Advertisement status
  6. If Advertisement failed how to make sure it to run again
  7. Suppressing the Advertisement
  8. how to use toolkit to see advertisement history
  9. related information in control panel for advertisement
  10. maintenance of Cache folder
  11. If report is not showing more than 10000 rows for any advertisement
  12. Advertisement to advertise Users and User groups
  13. Advertisement interaction with user
  14. Advertisement running with the administrator privileges and Logged in user account rights
  15. Administrator Flow for Advertisement
  16. advertisement to be appear in the add and remove programs

 

Other Topics

  • WOL in and Outs from my blog document
  • MP Issues
  • DP Issues
  • Preinst.exe
  • How to find the What deployment that are using… currentsly for this month
  • notification for Technet patching
  • PXE Issues and ports and fast port and iphelper
  • Wake on LAN ports and difference and unicast and subnet broad cast
  • Schema Extention two methods
  • Software Updates desgin and flow for how to create and deploy with the reports and log files
  • Small talk on OBT
  • SCCM Client Installation Batch Script
  • Psexec tool
  • psexplorer
  • Collections Database Table
  • Right Click Tools
  • System Center Clint Center
  • SCCM R3
  • Configuration Manager Preplanning Worksheets
  • Finally Glossary
  • IP Sec
  • Isolation of Domains
  • VLans
  • wdsutil
  • Multicasting
  • Thursday, March 11, 2010

    My Fav Photo

    scb2

    SQL 2005 Server Pre-Requisite Installation on 2008 server

    SQL 2005 Server Pre-Requisite Installation

    This document will outline the steps involved to prepare a SQL server for installation of SQL 2005 server. After these steps are done SQL 2005 Server with reporting services can then be installed.

    References

    How to install and how to configure SQL Server 2005 Reporting Services on a computer that is running Windows Server 2008

    http://support.microsoft.com/kb/938245

    You receive a warning message on the System Configuration Check page of the SQL Server 2005 Setup program on a computer that is running Windows Vista or a Server Core installation of Windows Server 2008

    http://support.microsoft.com/kb/920201

    Installation Steps

    · Open Server Manager and choose click on the option "Roles" then choose " Add Roles".

    clip_image002

    · The Add Roles Wizard is displayed. Click "Next" to proceed past the "Before you[WH1] begin" wizard.

    clip_image004

    · In the "Select Server Roles box" select the option "Web Server (IIS)".

    clip_image006

    · The "Add features required for Web Server (IIS)?" dialog is displayed. Click the option that says "Add Required Features".

    clip_image008

    · The window will then return to the "Select Server Roles" dialog box with "Web Server (IIS)" selected.

    clip_image010

    · The "Web Server (IIS)" wizard is displayed, click "Next" to continue.

    clip_image012

    · The "Select Role Services" page is displayed.

    clip_image014

    · Here we need to make sure we have the correct items installed. (As various options are chosen on this dialog other options will be enabled as well).

    · Under "Common HTTP Features" select "HTTP Redirection".

    · Under "Application Development" select "ASP.NET".

    · The "Add role services and features required for ASP.NET?" dialog should appear. Click "Add Required Role Services".

    clip_image016

    · The "Select Role Services" dialog will return to focus.

    clip_image018

    · Now select "ASP" under Application Development.

    · Scroll down to the "Security" section and select "Windows Authentication".

    · Scroll down the "IIS 6 Management Compatibility" section and select the following options:

    IIS 6 Metabase Compatibility

    IIS 6 WMI Compatibility

    IIS 6 Scripting Tools

    IIS 6 Management Console

    · With the all the options plus the other defaults with that were enabled it should look like it does in screenshot below.

    clip_image020

    · Ensure the list looks like it does above and click "Next".

    · The "Confirm Installation Selections" dialog is now displayed, click "Install" to begin the installation.

    clip_image022

    · When the installation has finished the "Installation Results" pages is displayed. Review this and make sure no errors or warnings are displayed.

    clip_image024

    · Click "Close" to return to "server Manager".

    · The "Server Manager" window is then updated to reflect the "Web Server (IIS)" that was just installed.

    clip_image026

    · Choose "File - Exit" to return to the Windows desktop.

    · At this point the pre-requisite components are installed and you are ready to begin the SQL 2005 installation.


    [WH1]ok

    Test from my Live

    Test from my Live

    Temporary Post Used For Theme Detection (f09a14fb-1a5a-477b-a681-136f8f77c996 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)

    This is a temporary post that was not deleted. Please delete this manually. (b2263d9e-ce89-4e5e-9405-0f00bd656100 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)

    IMP reports by me

    Report Name: Clients that have not reported recently (Collection)

    Category: SMS Site - Discovery and Inventory Information

    Comment: This show report shows a list of clients that have not reported discovery data, hardware inventory, or software inventory in a specified number of days. An empty column indicates that a client has not reported any data of that type. A column with a '*' means that the client has reported data of that type within the specified time period.

     

    Report Name: All active package distributions

    Category: Software Distribution - Packages

    Comment: This report shows all distributions points on which a package is currently being installed or removed

     

    Report Name: Sites by hierarchy with time of last site status update

    Category: SMS Site - General

    Comment: Displays the list of sites in hierarchy order and shows the last time the site status was updated


    -------------------
    Thanks,

    Tuesday, March 9, 2010

    Example Scenarios for Configuration Manager 2007 used

    1. Kim enables Active Directory Security Group Discovery. Every day, Configuration Manager 2007 queries Active Directory for all computers that are members of the Accounting security group.
    2. Kim creates a query in the Configuration Manager 2007 console to find all members of the Accounting security group.
    3. Kim creates a collection based on the query to find all members of the Accounting security group. If the Active Directory administrator adds a new computer to the Accounting security group, the next time Active Directory Security Group Discovery runs it will add the new computer to the Configuration Manager 2007 database. The next time the Accounting collection is evaluated, the query will find the new computer in the database and it will be added to the collection.
    4. Kim enables the Advertised Programs Client Agent, so that all clients in his site will be able to receive software distribution packages.
    5. Kim creates several distribution points in each site. If he configured only one per site, it might not be able to service all of the clients in that site.
    6. Kim creates a package for the accounting application. He configures the package to read the source files from the CD and create a local copy of the package, because disks in his office sometimes disappear without his permission.
    7. The application has a tool to create a customized Windows Installer file that will install the software with no user intervention and using all of the accounting department's preferred defaults. Kim creates one program to run the customized Windows Installer and he creates a second program to uninstall the accounting application, just in case. Both programs are configured to run whether or not a user is logged on, and both will run with administrative rights even if the logged on user is not currently an administrator, even if the client computer is running Windows Vista with User Access Control enabled.
    8. The default package access accounts allow all users to read the package. Because only accounting members should have access, Kim removes the Users package access account and adds an account for the accounting group.
    9. Kim copies the package to all distribution points in his site. He also copies the package to all distribution points in all child sites because there are some members of accounting in every site.
    10. As soon as Kim completes the distribution point wizard, the site server immediately begins copying the files to the distribution points in his site. Kim purposefully waited until the end of the day to run the distribution point wizard so the network would be less busy. The sender controls the bandwidth utilization to the child sites, so it doesn't matter when Kim runs the distribution point wizard. The sender from the parent site copies the package to the child site in small chunks and verifies each chunk before sending the next one. After the entire package is successfully received at the child site, the child site server copies the package to all distribution points in that site.
    11. After Kim has verified in the package status that the package has been distributed to all of his distribution points, he creates an advertisement. He configures the advertisement to use the accounting package and the program to run the customized Windows Installer file. He sets the advertisement to send the package and program to the accounting collection. He configures the advertisement to run next Wednesday at 4 pm in the client's time zone. He could have configured it to run at 4 pm UTC but some of the sites in other countries don't have local administrators and Kim doesn't want to get troubleshooting calls in the middle of the night if 4 pm in his site is midnight in a different site. Even though the application is rather large, Kim configures the advertisement to run even if the client computer is connected to a slow network boundary; this means that accounting users who work from home and connect using a VPN will still have to install the program. Kim makes a note to send out an e-mail to the home-based workers to let them know the large package is coming.
    12. As soon as Kim completes the advertisement wizard, Configuration Manager 2007 creates a policy and sends it to the management points for all the sites. For the management points at the child sites, the sender at the parent site copies the policy to the site server at the child site and the child site server sends it to the site management point.
    13. The clients in all the sites have been configured to poll for new policy every two hours because it provides a nice balance between getting software out quickly enough but not saturating the network with policy requests.
    14. The next time a client in the Accounting collection polls the management point, it is told that it has software advertised to it. It asks for the location of the content and is given a list of distribution points in the site. The client sorts the list and finds three distribution points on the same subnet, so it picks one at random. The client connects to the selected distribution point and downloads the content into a local cache and then runs the program from the cache to install the accounting software.
    15. After the software is installed, the client sends a status message indicating success.
    16. Kim creates a report to show which clients have successfully installed the accounting software.


      --
      ----------------
      The One
      ----------------

    Monday, March 8, 2010

    P women

    Here is the Some of the good food :--
    Red carrot,beetroot,Prune's,pomegranate,spinach,Apple,Peanut Butter,Barley,Dried apricots,Dried blueberries,Prune Juice,
    Dried Apricots,

    by this you can avoid Hemoglobin issues:--

    chicken liver,strawberries,grapefruit juice,broccoli,Dried fruits like apricots,prunes and raisins,lima beans,Black strap,molasses,pomegranate

    IMP ons Wallnuts and barly and soya milk
    -------------------
    Thanks,

    Thursday, March 4, 2010

    if you get the polcy agent log error...similar to below...

     

    if you get the policy agent log error...similar to below...

    Download of policy CCM_Policy_Policy4.PolicyID="{ddd31ca3-235d-4d47-b9b0-522ab79a4f18}",PolicySource="SMS:P04",PolicyVersion="1.00" failed (DTS Job ID: {2A03490A-B034-400B-87C4-08AC8AF07145}) PolicyAgent_PolicyDownload 3/2/2010 10:20:54 PM 3276 (0x0CCC)
    Policy state for CCM_Policy_Policy4.PolicyID="{ddd31ca3-235d-4d47-b9b0-522ab79a4f18}",PolicySource="SMS:P04",PolicyVersion="1.00" was successfully reset. Policy download will be retried at next evaluation cycle. PolicyAgent_PolicyDownload 3/2/2010 10:20:54 PM 3276 (0x0CCC)
    Download of policy CCM_Policy_Policy4.PolicyID="{E161A5A4-0DB4-40FD-8311-4BB2D50D03F5}",PolicySource="SMS:P04",PolicyVersion="14.00" failed (DTS Job ID: {BCB59159-EC2C-43B2-8BC7-2EE5BF5A4B72}) PolicyAgent_PolicyDownload 3/2/2010 10:20:54 PM 5684 (0x1634)
    Policy state for CCM_Policy_Policy4.PolicyID="{E161A5A4-0DB4-40FD-8311-4BB2D50D03F5}",PolicySource="SMS:P04",PolicyVersion="14.00" was successfully reset. Policy download will be retried at next evaluation cycle. PolicyAgent_PolicyDownload 3/2/2010 10:20:54 PM 5684 (0x1634)
    Download of policy CCM_Policy_Policy4.PolicyID="{E21A8331-0783-496F-ADD8-9ABCA051D707}",PolicySource="SMS:P04",PolicyVersion="1.00" failed (DTS Job ID: {145F36FE-C377-4FD8-960B-3B449AAD17A9}) PolicyAgent_PolicyDownload 3/2/2010 10:20:54 PM 3276 (0x0CCC)
     
    You need to rebuild the WMI

    --
    ----------------
    Thanks
    ----------------

    If you want to exclude some systems from CLIENT PUSH

    If you want to exclude some servers from CLIENT PUSH
     

    You can exclude the server from push installations by adding the server name to the registrykey ExcludeServers under HKEY_LOCAL_MACHINE/Software/Microsoft/SMS/Components/SMS_DISCOVERY_DATA_MANAGER on you site server. You find more information about this here:

    http://technet.microsoft.com/en-us/library/bb693996.aspx

     

    Wednesday, March 3, 2010

    wmi Rebuild from BLOG

    //

    1. Open a CMD prompt on the server and change directory to %windir%\System32\WBEM (\SysWOW64\WBEM on x64)

    2. Execute the following:

    FOR /f %s in ('dir /b /s *.dll') do regsvr32 /s %s 
    Net stop /y winmgmt 
    FOR /f %s in ('dir /b *.mof *.mfl') do mofcomp %s 
    Net start winmgmt 

    Note: Don't attempt to compile the MOF files in the \bin\i386 folder on a site server, as we contain stub files (names start with an underscore character such as _smsprov.mof) that need to be populated with site specific data through other means.   

    //
    -------------------
    Thanks,

    Client Troublshooting checks check list

    Are you able to ping the server?
    Is the server in Accepted list for supported servers?
    Is Client Installed?
    What is the Hartbeat status?
    What is the S/W inventory Status?
    What is the H/W Status?
    Is this system is in active state in the Console?
    Is the system has Dubplicate DDR records in Console?
    What is the Incident Number you created for this server?
    Are you able to login in to the server?
    Do you have administrator rights on the server?
    Is the Default Shares are enabled?
    is free space more than 500Mb availabl on the server?
    did you find the SMS agent Service in the Services.msc?
    Is the SMS Agent Host Service is in started state?
    are you able to connect to the WMI?
    Did you intiated Machine Policy and H/w and S/w Polices ?
    Is the Policy able to recive?
    any errors in Inventoryagent.log?
    Did you tried to restart the SMS Agent Host service?
    any errors in ccmexec.log?
    are you able to open the MP cert and MPlist URLs from the client system?
    did the .xml file reached to MP?
    What happend to mp_ddr log?
    Did you find the server Name in dataldr.log and updated in the DB?
    Remove the client system from the console and uninstall the client now delete the smscliconfig.file and log off and login now try to reinstall the client
    -------------------
    Thanks,

    Tuesday, March 2, 2010

    PXE Role Enable from Central ?

    you can;t enable in the below hirarachy, you need to enable it from P01 only not from DC1

     DC1---Central Site
            |  
     P01--Primary Site
     |
     S01 Secondary Site

     

    PXE ROLE Troubleshooting:

    PXE ROLE Troubleshooting:

    =========================

    1.Uninstalled PXE Service Point Role
    2.Uninstalled WDS
    3.Deleted 'C:\RemoteInstall' folder or what ever the folder shared also check if any folder shared for PXE related
    4.Rebooted then reinstalled WDS, rebooted
    5.Reinstalled PXE Service Point Role
    6.DHCP is not installed on this server and on the same subnet
    7.Removed PSP/WDS again using the PXE.msi, same results
     
    also can Try this:

    1. Remove the SMS PXE role. Look at the PXESetup.log file to verify that the uninstall is complete and successful.

    2. Uninstall the WDS server.

    3. Reboot the machine.

    4. Re-install the WDS server, but "do not configure it". Do nothing at all other than installing WDS.

    5. Add the SMS PXE role. Look at the PXESetup.log file to verify that the installation is complete and successful.

    6. Add the boot images to the SMS PXE DP share. Look at the distmgr.log file to verify that the replication of the boot image to the DP is complete and successful.

    Monday, March 1, 2010

    SCCM Vnext The Next version of SCCM 2007

    The next release of Configuration Manager will focus on a few main areas:

    • Improving client management experiences through enhanced, integrated software distribution models.  The next release of Configuration Manager will provide a framework for the right application format to be delivered to the user based on who they are, the device they are using, and their connection.
    • Infrastructure improvements are also a main focus.  Optimizing site hierarchy, replication and content distribution on the backend.  For the managed client, improving client health and remediation capabilities will ensure that when a system is managed, it remains healthy and secure.  Part of this is also improving the Admin experience.  In the past we did this by reducing mouse clicks to get through an activity.  This is only part of the process.  Adding security models to enable role based administration, as well as improving the Admin console experience will ensure that Admins are more efficient everywhere.
    • In addition, other areas of focus include expanding device management scenarios, model based configuration management and improving patch management services; just a few of the places we are focused on development.


    • Now available in beta for test.. Yep i wanted to do test in my LAB from next day

    ConfigMgr07 R3

    ConfigMgr07 R3
     
    There're 3 main areas of enhancement being made to the core capabilities of ConfigMgr: Delta Active directory Discovery has 2 main tasks.

    Discovering changes to users or machines that may effect targeting. Also, periodic full scans capture users and machines last logged time, ensuring active users or systems aren't made obsolete.
    Fast Collections – When a Collection Membership Rule is configured to dynamically add new resources, a few things happen. This applies to a few resources.

    Those that're initially discovered, OSD provisioned systems, HW inventories scanned systems, or ConfgMgr Client version upgrades. Admin Console Improvements helps Administrator save time in their daily tasks. For example, new right click options off a resource to add to collection (existing) add to new collection, remove from collection and add resources, are all designed to save console steps.

    Thursday, February 25, 2010

    WDS Command prompt options to troubleshoot

    WDS utilit to work from command prompt
     

    C:\Windows\system32>wdsutil /allhelp
    Windows Deployment Services Management Utility [Version 6.0.6001.18000]
    Copyright (C) Microsoft Corporation. All rights reserved.
    /Get-AllDevices                 Displays information on all pre-staged devices.
    /Get-AllImageGroups             Displays information on all image groups.
    /Get-AllImages                  Displays information on all images.
    /Get-AllMulticastTransmissions  Displays attributes of all transmissions.
    /Get-AllNamespaces              Displays attributes of all namespaces.
    /Get-AllServers                 Displays information on all WDS servers.
    /New-CaptureImage               Creates a WinPE image used for capturing
                                    OS images.
    /Disconnect-Client              Disconnects a client from a multicast
                                    transmission or namespace.
    /New-DiscoverImage              Creates a WinPE image used for WDS server
                                    discovery.
    /Add-Device                     Adds a pre-staged device.
    /Get-Device                     Displays attributes of an existing device.
    /Set-Device                     Changes attributes of an existing device.
    /Add-Image                      Adds boot or install images.
    /Copy-Image                     Copies an image within the image store.
    /Export-Image                   Exports an image from the image store to a WIM
                                    file.
    /Get-Image                      Displays the attributes of an existing image.
    /Remove-Image                   Removes a boot or install image.
    /Replace-Image                  Replaces a boot or install image with a new
                                    version.
    /Set-Image                      Changes the attributes of an existing image.
    /Get-ImageFile                  Displays information on images in a WIM file.
    /Add-ImageGroup                 Adds an image group.
    /Get-ImageGroup                 Displays information on an image group.
    /Remove-ImageGroup              Removes an image group.
    /Set-ImageGroup                 Changes the attributes of an existing image
                                    group.
    /Get-MulticastTransmission      Displays attributes of a a transmission.
    /New-MulticastTransmission      Creates a new multicast transmission for WDS
    /Remove-MulticastTransmission   Removes a multicast transmission for WDS Image.
    /Start-MulticastTransmission    Starts a specified transmission.
    /Get-Namespace                  Displays attributes of a namespace.
    /New-Namespace                  Creates a new namespace.
    /Remove-Namespace               Removes a namespace.
    /Start-Namespace                Starts a specified namespace.
    /Approve-AutoAddDevices         Approves pending auto-add devices of server.
    /Reject-AutoAddDevices          Rejects pending auto-add devices of server.
    /Get-AutoAddDevices             Displays auto-add devices on server.
    /Delete-AutoAddDevices          Deletes devices in the auto-add device
                                    database.
    /Convert-RiPrepImage            Converts an existing RIS RIPrep image to a WIM
                                    file.
    /Disable-Server                 Disables all WDS services on a server.
    /Enable-Server                  Enables all WDS services on a server.
    /Get-Server                     Displays information on a WDS Server.
    /Initialize-Server              Configures a WDS server for initial use.
    /Set-Server                     Configures settings of a WDS server.
    /Start-Server                   Starts all WDS services on a server.
    /Stop-Server                    Stops all WDS services on a server.
    /Uninitialize-Server            Reverts changes made during server
                                    initialization.
    /Update-ServerFiles             Updates server files on the REMINST share.
                                    Image.
    /Disable-TransportServer        Disables all WDS services on a Transport server.
    /Enable-TransportServer         Enables all WDS services on a Transport server.
    /Get-TransportServer            Displays information on a Transport Server.
                                    Image.
    /Set-TransportServer            Configures settings of a Transport server.
    /Start-TransportServer          Starts all WDS services on a Transport server.
    /Stop-TransportServer           Stops all WDS services on a Transport server.
    To get help for specific command use:
         WdsUtil command /?
    C:\Windows\system32>

    -------------------
    Thanks,

    SQL Server 2008 R2 gets an official date

    SQL Server 2008 R2 gets an official date  will be available by May 2010.

    Wednesday, February 24, 2010

    Configuration Manager 2007 SuperFlows

    Configuration Manager 2007 SuperFlows

    The SuperFlow interactive content model provides a structured and interactive interface for viewing documentation. Each SuperFlow includes comprehensive information about a specific Configuration Manager 2007 dataflow, workflow, or process. Depending on the focus of the SuperFlow, you will find overview information, steps that include detailed information, procedures, sample log entries, best practices, real-world scenarios, troubleshooting information, security information, animations, or other information. Each SuperFlow also includes links to relevant resources, such as Web sites or local files that are copied to your computer when you install the SuperFlow.

    The following table lists the Configuration Manager 2007 SuperFlows that are available for download.

     

    SuperFlow Name Description

    SuperFlow for Creating SQL Server Reporting Services Report Models in Configuration Manager 2007 (http://go.microsoft.com/fwlink/?LinkId=182504)

    Provides detailed steps that you can use to create a SQL Server Reporting Services report model in Configuration Manager 2007.

    SuperFlow for Configuring Software Updates (http://go.microsoft.com/fwlink/?LinkId=182287)

    Provides detailed steps that help you to plan for and configure software updates at a site. This SuperFlow also includes troubleshooting information and additional resources that you can use to learn more about configuring software updates in Configuration Manager 2007.

    Software Update Deployment SuperFlow (http://go.microsoft.com/fwlink/?LinkId=182505)

    Provides information that helps you to prepare for and deploy software updates after you configure the software updates infrastructure and synchronize software updates.

    Software Updates Synchronization SuperFlow (http://go.microsoft.com/fwlink/?LinkId=182288)

    Provides the detailed dataflow for the software updates synchronization process, additional resources related to software updates synchronization, and troubleshooting information



    --
    ----------------
    Thanks
    ----------------

    Same computer with in given two collections to create new collection:--

    Same computer with in given two collections to create new collection:--

    SELECT     dbo._RES_COLL_A01000EE.Name, dbo._RES_COLL_A01000EF.Name AS Expr1
    FROM         dbo._RES_COLL_A01000EE FULL OUTER JOIN
                          dbo._RES_COLL_A01000EF ON dbo._RES_COLL_A01000EE.MachineID = dbo._RES_COLL_A01000EF.MachineID
    WHERE     (NOT (dbo._RES_COLL_A01000EF.Name IS NULL)) AND (NOT (dbo._RES_COLL_A01000EE.Name IS NULL))

    --
    ----------------
    Thanks
    ----------------

    One other good Website for technical like my computerperfomance or petri site

    One other good Website for technical like my computerperfomance or petri site
     
     
     

    -------------------
    Thanks,

    Mike Ditka  - "If God had wanted man to play soccer, he wouldn't have given us arms."

    Tuesday, February 23, 2010

    SMS_DEF.MOF vs. Configuration.Mof

    SMS_DEF.MOF vs. Configuration.Mof

    SMS_Def.mof is used by Configuration Manager to create the Hardware Inventory Policy. It is where you as an administrator would change TRUE to FALSE or FALSE to TRUE to enable to disable existing classes and attributes, or if you are adding custom classes, where you would paste the customizations to the bottom of the file. Configuration.mof is where you would paste customizations to the bottom of the file. Changes made to configuration.mof are picked up by the clients and automatically compiled. It where a client finds out "how" to report on custom hardware inventory requests.

    A detailed explanation may be found ––>Here<––



    --
    ----------------
    Thanks
    ----------------

    Monday, February 22, 2010

    Google backup your emails and blogs

    We are depended on many Google Services like Gmail for emails, Blogger for blogs and Google Reader for feeds for our day to day task. We can't even think about losing our Google or Gmail account. For this reason it is necessary to have offline backup of Gmail, Blogger or Google Reader account.

    Unfortunately Google doesn't offer any such backup service. Here is Gookup excellent java based tool which lets you to take offline backup of Google Services. You can backup Gmail, Google Reader & Blogger blogs. Gookup is command line utility.

    Google hacking at its finest..

    Google hacking at its finest..

    Using Google, and some finely crafted searches we can find a lot of interesting information.

    For Example we can find:
    Credit Card Numbers
    Passwords
    Software / MP3's
    ...... (and on and on and on) Presented below is just a sample of interesting searches that we can send to google to obtain info that some people might not want us having.. After you get a taste using some of these, try your own crafted searches to find info that you would be interested in.

    Try a few of these searches:

    intitle:"Index of" passwords modified
    allinurl:auth_user_file.txt
    "access denied for user" "using password"
    "A syntax error has occurred" filetype:ihtml
    allinurl: admin mdb
    "ORA-00921: unexpected end of SQL command"
    inurl:passlist.txt
    "Index of /backup"
    "Chatologica MetaSearch" "stack tracking:"

    Amex Numbers: 300000000000000..399999999999999
    MC Numbers: 5178000000000000..5178999999999999
    visa 4356000000000000..4356999999999999

    "parent directory " /appz/ -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

    "parent directory " DVDRip -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

    "parent directory "Xvid -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

    "parent directory " Gamez -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

    "parent directory " MP3 -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

    "parent directory " Name of Singer or album -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

    Notice that I am only changing the word after the parent directory, change it to what you want and you will get a lot of stuff.

    METHOD 2

    put this string in google search:

    ?intitle:index.of? mp3

    You only need add the name of the song/artist/singer.

    Example: ?intitle:index.of? mp3 jackson

    METHOD 3

    put this string in google search:

    inurl:microsoft filetype:iso

    You can change the string to watever you want, ex. microsoft to adobe, iso to zip etc…

    "# -FrontPage-" inurl:service.pwd
    Frontpage passwords.. very nice clean search results listing !!

    "AutoCreate=TRUE password=*"
    This searches the password for "Website Access Analyzer", a Japanese software that creates webstatistics. For those who can read Japanese, check out the author's site at: http://www.coara.or.jp/~passy/

    "http://*:*@www" domainname
    This is a query to get inline passwords from search engines (not just Google), you must type in the query followed with the the domain name without the .com or .net

    "http://*:*@www" bangbus or "http://*:*@www"bangbus

    Another way is by just typing
    "http://bob:bob@www"

    "sets mode: +k"
    This search reveals channel keys (passwords) on IRC as revealed from IRC chat logs.

    allinurl: admin mdb

    Not all of these pages are administrator's access databases containing usernames, passwords and other sensitive information, but many are!

    allinurl:auth_user_file.txt
    DCForum's password file. This file gives a list of (crackable) passwords, usernames and email addresses for DCForum and for DCShop (a shopping cart program(!!!). Some lists are bigger than others, all are fun, and all belong to googledorks. =)


    intitle:"Index of" config.php
    This search brings up sites with "config.php" files. To skip the technical discussion, this configuration file contains both a username and a password for an SQL database. Most sites with forums run a PHP message base. This file gives you the keys to that forum, including FULL ADMIN access to the database.

    eggdrop filetype:user user
    These are eggdrop config files. Avoiding a full-blown descussion about eggdrops and IRC bots, suffice it to say that this file contains usernames and passwords for IRC users.

    intitle:index.of.etc
    This search gets you access to the etc directory, where many many many types of password files can be found. This link is not as reliable, but crawling etc directories can be really fun!

    filetype:bak inurl:"htaccess|passwd|shadow|htusers"
    This will search for backup files (*.bak) created by some editors or even by the administrator himself (before activating a new version).
    Every attacker knows that changing the extenstion of a file on a webserver can have ugly consequences.

    Let's pretend you need a serial number for windows xp pro.

    In the google search bar type in just like this - "Windows XP Professional" 94FBR

    the key is the 94FBR code.. it was included with many MS Office registration codes so this will help you dramatically reduce the amount of 'fake' porn sites that trick you.

    or if you want to find the serial for winzip 8.1 - "Winzip 8.1" 94FBR

    Credits and More Info
    http://johnny.ihackstuff.com
    {mos_sb_discuss:18}


    -------------------
    Thanks,

    Marie von Ebner-Eschenbach  - "Even a stopped clock is right twice a day."

    Thursday, February 18, 2010

    For inboxes information to export to excel for single system complete list

    Script for complete Inboxes checks to export the results to Excel file

    sStartPath = "\\your sccmservername\SMS_smssitecode\inboxes\"
    Set oFSO = CreateObject("Scripting.FileSystemObject")

    Set objExcel = CreateObject("Excel.Application")
    objExcel.Visible = True
    objExcel.Workbooks.Add
    intRow = 2

    objExcel.Cells(1, 1).Value = "Directory"
    objExcel.Cells(1, 2).Value = "Count"

    ListFolders(sStartPath)

    Sub ListFolders(sPath)
    Set oFolder = oFSO.GetFolder(sPath)
    objExcel.Cells(intRow, 1).Value = oFolder.Path
    objExcel.Cells(intRow, 2).Value = oFolder.Files.Count
    intRow = intRow + 1

    For Each oFldr In oFolder.SubFolders
    ListFolders oFldr.Path
    Next
    End Sub

    Set sStartPath = Nothing
    Set objExcel = Nothing

    objExcel.Range("A1:B1").Select
    objExcel.Selection.Interior.ColorIndex = 19
    objExcel.Selection.Font.ColorIndex = 11
    objExcel.Selection.Font.Bold = True
    objExcel.Cells.EntireColumn.AutoFit

    Delete script for bad inboxes files for SMS / SCCM

    Delete script for bad inboxes files for SMS / SCCM
     
     
     
     
     
    save the above as .bat or .cmd file and run it. You need to replace the server name with sccm server name and site code
    -------------------
    Thanks,

    Jonathan Swift  - "May you live every day of your life."

    FOR INBOXES SCRIPT DEVELOPED BY me...

    FOR INBOXES SCRIPT DEVELOPED BY me...
     
     
     
    date /t >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    ECHO dc1 >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    diruse /* /m "\\MYSCCMSERVERNAME\d$\Program Files (x86)\Microsoft Configuration Manager\inboxes" >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"

    date /t >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    ECHO P01 >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    diruse /* /m "\\MYSCCMSERVERNAME2\d$\Program Files (x86)\Microsoft Configuration Manager\inboxes" >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    date /t >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    ECHO P02 >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    diruse /* /m "\\MYSCCMSERVERNAME3\d$\Program Files (x86)\Microsoft Configuration Manager\inboxes" >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    date /t >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    ECHO P03 >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    diruse /* /m "\\MYSCCMSERVERNAME4\d$\Program Files (x86)\Microsoft Configuration Manager\inboxes" >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"

    date /t >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    ECHO P04 >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
    diruse /* /m "\\MYSCCMSERVERNAME5\d$\Program Files (x86)\Microsoft Configuration Manager\inboxes" >>"D:\SCCM Team\Daily_checks_archive_Reports\INBOXES\BACKLOGS.txt"
     
     
    You need to download the DIRUSE.exe file or get it from 2k3 support tools
    -------------------
    Thanks,

    Pablo Picasso  - "Computers are useless. They can only give you answers."

    For Windows 2003 Server Event viewer archive script

    For Windows 2003 Server Event viewer archive script, FYI! in 2k8 you can set archive option but not in 2k3 or below 2k8 servers
     
    strArchiveFolder = "C:\BckEvt"
    ServerName = "."
    Set WS = CreateObject("Wscript.Shell")
    Set FSO = CreateObject("Scripting.FileSystemObject")
    DateString = CurrentDate()
    Purge = True
    on error resume next
    StartTime = Now
    Output "---------------------------------"
    OutPut "Started at: " & CStr(Now)
    Output ""
    Set System = GetObject("winmgmts:{(Backup,Security)}\\" & ServerName & _
    "\root\CIMV2")
    If Err.Number = 0 Then
    Set colLogs = System.ExecQuery("select * from Win32_NTEventLogFile",,48)
    For Each refLog In colLogs
    LogName = ServerName& "_" & LogFileName(refLog.LogFileName) & _
    "_" & DateString
    If FSO.FileExists(strArchiveFolder & "\" & LogName & ".evt") Then _
    FSO.DeleteFile(strArchiveFolder & "\" & LogName & ".evt")
    If Purge Then
    RetVal = reflog.ClearEventlog(strArchiveFolder & "\" & LogName & ".evt")
    Else
    RetVal = reflog.BackupEventlog(strArchiveFolder & "\" & LogName & ".evt")
    End If
    If RetVal = 0 Then
    Output vbTab & "Log was archived in .evt format: " & LogName & ".evt"
    If Purge Then Output vbTab & "All events were cleared from the log"
    Else
    Output vbTab & "Error while archiving in .evt format."
    End If
    Next
    Else
    Output vbTab & "Failed connect to the server"
    End If
    Set colLogs = Nothing
    Set refLogs = Nothing
    Set System = Nothing
    Output "----------------------------------------"
    OutPut "Finished at: " & CStr(Now)
    Output ""
    Output ""
    Set WS = Nothing
    ' FullLog.Close ???FullLog=unknown
    Set FullLog = Nothing
    Set FSO = Nothing
    Function CurrentDate
    Today = Date
    If Month(Today) < 10 Then
    CurrentDate = "0" & CStr(Month(Today))
    Else
    CurrentDate = CStr(Month(Today))
    End If
    If Day(Today) < 10 Then
    CurrentDate = CurrentDate & "0" & CStr(Day(Today))
    Else
    CurrentDate = CurrentDate & CStr(Day(Today))
    End If
    CurrentDate = CurrentDate & CStr(Year(Today))
    If Hour(Time) < 10 Then
    CurrentDate = CurrentDate & "0" & CStr(Hour(Time))
    Else
    CurrentDate = CurrentDate & CStr(Hour(Time))
    End If
    End Function
    Function LogFileName(LogName)
    Select Case LogName
    Case "Application"
    LogFileName = "app"
    Case "Directory Service"
    LogFileName = "dir"
    Case "DNS Server"
    LogFileName = "dns"
    Case "File Replication Service"
    LogFileName = "rep"
    Case "Security"
    LogFileName = "sec"
    Case "System"
    LogFileName = "sys"
    End Select
    End Function
    Sub Output(Text)
    ' wscript.echo text
    ' FullLog.writeline text ???FullLog=unknown
    End Sub
     

    -------------------
    Thanks,

    Mike Ditka  - "If God had wanted man to play soccer, he wouldn't have given us arms."

    Wednesday, February 17, 2010

    Tool to create MOF file

    Tool to create MOF file
     
     

    Mark Cochrane (System Center Configuration Manager MVP) released an excellent tool to assist with your custom MOF snippet creations, RegkeyToMof.  Grab it from here: http://www.myitforum.com/inc/upload/12336RegKeyToMOF.zip

    To use it, Run regkeytomof on a box which has the regkeys you want to gather, and browse in the top window to the Regkey Location, until you see the keys & values you want on the right.  Then below in the middle-right, give it a ClassGroup (like CUSTOM) and a ClassName (this must be unique for each custom mof edit you do--but the ClassGroup of CUSTOM can always be CUSTOM) then just copy & paste the results for configuration mof & sms_def.mof
    If there are values that you don't want to see in your database, before you save sms_def.mof, just change those from TRUE to FALSE.  (Leave them defined, but change to FALSE, it needs to be consistent)

    For example, I've been meaning to make up a Microsoft Forefront client mof edit, similar to the ones available for McAfee and Symantec, for client AV signature info.  Mark's tool made it much easier.  If you look at the below screenshot, I just browsed until I found the regkeys I wanted (in Software\Microsoft\Microsoft Forefront\Client Security\1.0\AM\Signature Updates.  On the right, I could see there were entries for AVSignatureVersion and ASSignatureVersion.  Looks like just what I wanted!

    In the middle, I changed the Classgroup to CUSTOM.  I always use CUSTOM for my custom edits.  That helps me to differentiate anything I've done from a 'real' mof snippet from Microsoft.  If you like, you could use any name; but I would keep it short and consistent, and no spaces.  i.e., if you work for ACME Corporation, use something like ACMECorp.  For ClassName, this must be unique for each custom edit you make.  For example, let's say that one day there will be a Microsoft Forefront version 2.0, and that clients' info goes into a completely different area of the registry.  But for a time, I might need to gather both 1.0 keys and 2.0 keys.  So I couldn't call both of the ClassNames "MSForefront".  That's why in my sample I called it MSForefront1, anticipating that one day there will be a MSForeFront2 I'll want to have.  Also, for the ClassName, no spaces.  And don't use _ i.e., don't use MS_ForeFront_1.0.  I think you *can* use them, but in some places within your database tables/views, you might end up with double _; that just feels messy to me.  So avoid the whole thing and don't use spaces or underscores.  AND keep it short. 

    So, cool; I've got my edits.  I'm using Configuration Manager, so I need the results from the SCCM Configuration.mof and SCCM sms_def.mof.  Now, to check them.  Hm... do I really need AVSignatureApplied?  I could, I suppose.. but if I *do* want them, if I actually go look at the registry, those binary values are multi binary, not just 1 entry for binary of 0 vs 1.  It's hard to programmatically see that with regkeytomof, so it's not already set to be multi; but if I DID want to gather that info, I just need to add the [] to those entries.  But actually... those values don't really mean much to me.  They aren't in any kind of calendar date format that makes sense to me.  So I would likely just change those from TRUE to FALSE anyway.  So I'd end up with this.  And it only took me about 10 minutes to get that edit together, and make decisions about TRUE vs. FALSE.  Easy!

    // configuration.mof for MS Forefront 1.0 Client Signatures
    #pragma namespace ("\\\\.\\root\\cimv2")
    #pragma deleteclass("MSForeFront1", NOFAIL)
    [DYNPROPS]
    Class MSForeFront1
    {
    [key] string KeyName;
    String EngineVersion;
    String AVSignatureVersion;
    String ASSignatureVersion;
    Boolean ASSignatureApplied[];
    Boolean AVSignatureApplied[];
    String SignatureLocation;
    };
    [DYNPROPS]
    Instance of MSForeFront1
    {
    keyname="SystemCenter.fr";
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft Forefront\\Client Security\\1.0\\AM\\Signature Updates|EngineVersion"),Dynamic,Provider("RegPropProv")] EngineVersion;
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft Forefront\\Client Security\\1.0\\AM\\Signature Updates|AVSignatureVersion"),Dynamic,Provider("RegPropProv")] AVSignatureVersion;
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft Forefront\\Client Security\\1.0\\AM\\Signature Updates|ASSignatureVersion"),Dynamic,Provider("RegPropProv")] ASSignatureVersion;
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft Forefront\\Client Security\\1.0\\AM\\Signature Updates|ASSignatureApplied"),Dynamic,Provider("RegPropProv")] ASSignatureApplied;
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft Forefront\\Client Security\\1.0\\AM\\Signature Updates|AVSignatureApplied"),Dynamic,Provider("RegPropProv")] AVSignatureApplied;
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft Forefront\\Client Security\\1.0\\AM\\Signature Updates|SignatureLocation"),Dynamic,Provider("RegPropProv")] SignatureLocation;
    };

    //sms_def.mof for MS Forefront 1.0 Client Signatures
    #pragma namespace ("\\\\.\\root\\cimv2\\SMS")
    #pragma deleteclass("MSForeFront1", NOFAIL)
    [SMS_Report(TRUE),SMS_Group_Name("MSForeFront1"),SMS_Class_ID("CUSTOM|MSForeFront1|1.0")]
    Class MSForeFront1: SMS_Class_Template
    {
    [SMS_Report(TRUE),key] string KeyName;
    [SMS_Report(TRUE)] String EngineVersion;
    [SMS_Report(TRUE)] String AVSignatureVersion;
    [SMS_Report(TRUE)] String ASSignatureVersion;
    [SMS_Report(FALSE)] Boolean ASSignatureApplied[];
    [SMS_Report(FALSE)] Boolean AVSignatureApplied[];
    [SMS_Report(FALSE)] String SignatureLocation;
    };

     


    --
    ----------------
    Thanks
    ----------------