22 December 2011

详解SMS2003+中文版SP2部署过程:SMS2003系列之一

原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://yuelei.blog.51cto.com/202879/77459
  详解SMS2003SP2部署
Systems  Management Server2003SMS2003是微软公司面向应用程序部署,资产管理,安全补丁管理,移动工作团队支持所开发的企业级变更与配置管理的技术平台。SMS2003能提供桌面安全管理,资产管理,软件分发,补丁管理、远程控制等功能,SMS在软件分发,远程控制以及和其他微软服务器集成方面与其他桌面管理软件相比有明显的优势,是网络工程师实现企业桌面管理的一把利器,值得有桌面管理需求的工程师仔细研究。现在我们推出SMS2003系列文章,希望对大家学习SMS有所帮助。今天我们从部署开始,介绍一下如何安装SMS2003SP2
实验拓扑如下图所示,Florencesmstest.com的域控制器,Berlinsmstest.com的成员服务器,两台服务器的操作系统都是Win2003中文企业版,我们准备在Berlin上部署SMS2003
SMS的部署过程
1)SMS服务器安装前的准备工作
2)站点数据库服务器的配置
3)Active Directory架构扩展
4)Active Directory权限设置
5)SMS2003安装
6)  SMS2003 SP2补丁安装
  SMS服务器安装前的准备工作
SMS2003需要下列组件
a.) IIS
b.) BITS
c.)启用webdav扩展
 
Berlin上,控制面板-添加或删除程序-添加/删除Windows组件,选择应用程序服务器,点击详细信息,选中下列组件安装,如下图所示:
Internet信息服务(IIS)的子组件中选择 BITS
安装完IIS后,打开管理工具中的Internet信息服务(IIS)管理器,在Web服务扩展中对WebDAV设置为允许,如下图所示
  站点数据库服务器的配置
SMS2003的站点需要有后台数据库的支持,数据库可以是SQL7,也可以是SQL2000。我们在Berlin上安装SQL2000SP4,用以提供对站点的支持。首先在Berlin上放入SQL2000安装光盘,如下图所示,选择“安装SQL Server 2000组件”
选择安装“数据库服务器”
提示在Windows Server 2003上安装SQL2000需要打SQL Server SP2以上补丁
安装“服务器和客户端工具
实例名选择用默认,SMS的站点数据库不支持命名实例
启动服务账号选择使用“本地系统账号”,选择域用户账号也可以,由于本地系统账号没有网络权限,相对要安全一些
身份验证模式选择“Windows身份验证模式”,在域环境下,使用Windows集成验证是高效安全的选择
顺利完成SQL Server 2000的安装,接下来进行SP4补丁的安装
SP4补丁所在的目录下,运行setup.bat,如下图所示,开始补丁安装,由于过程较简单,在此不进行详细描述
SQL2000 SP4安装完成后,启动SQL ServerSQL Server Agent服务。
Active Directory架构扩展
安装SMS2003时建议进行Active Directory架构扩展,扩展Active Directory的架构后可以利用Active Directory来发现客户机,否则想达到同等效果就需要在Wins服务器中注册记录。在域控制器Florence上放入SMS2003的安装光盘,运行extadsch.exe,如下图所示
运行完毕后,查看c:\extadsch.log,这是扩展架构的日志文件,如下图所示,日志中告诉我们架构扩展的具体内容,架构扩展成功!
Active Directory权限设置
安装SMS2003时,SMS服务器需要在Active DirectorySystem容器中创建一些对象,但默认情况下,SMS服务器并没有所需权限。因此我们需要修改Active DirectorySystem容器的权限设置,至少允许SMS服务器对System容器可以进行写操作。修改Active Directory中对象的权限最好用图形界面工具adsiedit,这个工具在windows自带的支持工具中。要安装微软支持工具,在Florence上放入win2003的安装光盘,运行 D:\support\tools\suptools.msi,如下图所示。
安装完成后,运行 adsiedit.msc,在system容器上点击右键,选择属性,如下图所示
在属性的安全标签中,点击“添加”
点击对象类型,将选择对象类型改为“计算机”,在对象名称中输入SMS服务器的计算机账号 SMSTEST\BERLIN$,点击确定。
我们应授予SMS服务器在System容器中有写入权限,如实验环境简单起见,可授予SMS服务器完全控制权限,如下图所示。设置完权限后,点击“高级”按钮
点击“高级”按钮后,如下图所示,选中与SMS服务器相关的权限设置,点击“编辑”
我们需要把SMS服务器的权限应用到“这个对象及全部子对象”,这样SMS服务器对System容器中的子对象也将获得我们设置的权限。点击确定后,权限设置完成。
 
SMS2003安装
放入SMS2003的安装光盘,如下图所示,选择“SMS2003
出现SMS2003安装向导,点击下一步
在安装选项中选择“Install an SMS primary site”,安装SMS的主站点
Custom setup”,我们选择定制安装
站点代码由3个字符组成,我们给站点代码命名为001,站点名称取名为ITET,站点所在域是SMSTEST
接下来询问安装SMS时是否需要对Active Directory进行扩展,由于之前已对Active Directory进行了扩展,因此我们不需要选择此项
高级安全模式还是标准安全模式,我们选择高级安全模式
设定SMS的客户机数量,对实验来说,100已经足够
SMS服务器的组件安装选择,我们选中了所有组件
由于SMS的后台数据库就在SMS服务器本机,因此我们在数据库服务器处填写BERLIN,身份验证询问是否使用集成验证模式,选择“Yes
是否需要在安装SMS时创建SQL数据库,当然选是
接下来显示SMS数据库的默认名称以及安装路径
SMS的管理控制台数量我们设置为5个,SQL Server的最大连接数设置为75,这些都是默认设置
参数设置完毕,终于可以开始安装了,如下图所示,安装顺利完成。
SMS 2003  SP2补丁安装
SMS203安装完成后,最好打上SP2补丁,SP2补丁不但修补了一些错误,增加了一些功能,还支持多国语言,只要安装中文版的SP2,,就能使管理界面变为中文。听了这些介绍,你是否已经有些动心了?Follow me!在SP2的安装文件夹中,运行autorun.exe,如下图所示
出现SP2的安装向导,注意,是中文界面哦,我们选择“SMS2003 Service Pack2
在安装选项中选择“升级现有SMS安装”
在升级之前,需要对当前设置进行测试,测试过程中没有错误才能进行升级部署,选择“立即运行”来开始测试
 
测试结果表明没有任何问题,可以进行升级操作
设置和SMS2.0站点如何相互操作,由于目前环境中没有SMS2.0站点,我们选择默认值即可
以上参数设置完成后,SMS开始升级,经过一段时间的等待,终于完成升级,如下图所示,大功告成。后续文章中我们会介绍SMS的配置及各种功能的实现。
本文出自 “岳雷的微软网络课堂” 博客,请务必保留此出处http://yuelei.blog.51cto.com/202879/77459

24 November 2011

如何设置共享?

Computer Management / System Tools / Shared Folders / Shares. Right-click on Shares, select New Share.

如何查看本机哪些资源设为共享

http://wenwen.soso.com/z/q170385256.htm

当处于局域网中时,常常需要与他人共享多个文件夹,但很少及时取消共享,时间一长就忘记自己到底都共享了哪些资源,而且也无法知道现在谁在访问我的哪些资源。其实,只要使用“compmgmt.msc”命令打开“计算机管理”窗口,在左侧面板中展开“共享文件夹/共享”,右侧窗口就能显示当前系统共享的所有资源了:如果切换到“共享文件夹/打开文件”,则能看到当前哪些人在访问你的哪些文件。

WIN7关闭共享后怎样去掉图标上的小锁

http://www.stormcn.cn/post/1024.html
上次做windows 7互访的实验,设置了某文件夹共享,但是在关闭共享后,在文件夹图标上留下一个小锁的标记,这个小锁其实是开启简单共享后文件本身访问权限受限的标识,怎么去掉这个锁呢,这里收集几个方法仅参考。
WIN7关闭共享后怎样去掉图标上的小锁
一、添加共享文件夹用户组:打开文件夹属性-安全,添加“Authenticated Users”用户组。

二、打开文件夹属性-安全-高级-权限,选择“更改权限”,勾选“包括可从该对象的父项继承的权限”,确定后小锁图标消失。
三、添加所有用户权限:右击文件夹图标-共享-特定用户,在弹出窗口中点击下拉菜单中选择“Everyone”,再依次点击“添加”-“共享”-“完成”,这样设置的共享文件夹上就没有锁的标记,取消共享时,只要右击文件夹选择“属性”,再选择“共享”中的“高级共享”,取消其中“共享文件夹”前的勾,确定退出后就不会有小锁的图标了,如果不按这种方法取消共享,小锁标志会重新出现在文件夹图标上。

03 November 2011

04 October 2011

Digital Sign Neo Vision Control Connection Settings

Connection Settings within the software:

Serial Port: COM4
Baud Rate: 115200

Open Device Manager. Under 'Ports', find 'Silicon Labs CP210x USB to UART Bridge (COM4)'.
Open Property / Port Settings, change the Bits per second to 115200.

On the USB device, 'Role select switch' should be 'Master', 'Mode select switch' should be 'DIP Switch Mode'.

30 September 2011

QuickBook installation

Map Quickbooks2010 network folder from accounting server.

After installation, run it.
Choose Nonprofit edition.

Register it.

Download update (log in with my account). If automatic update is not working, then go to Quickbooks website and download the update -

http://support.quickbooks.intuit.com/support/ProductUpdates.aspx

Click the blue Update button.

Open existing company file.
Open a Company.
Browse to 'Network' / 'AccServer' / 'Quickbooks2010' / 'cics2009May07'. Choose 'Open file in multi-user mode.

How to install HP LaserJet 1012 driver on Windows 7

I found a better solution:

On the Windows 7 machine with the 1012 printer unplugged:

- Add a printer -> Windows Update -> Laserjet 1015 -> Install (1015 is added as a printer.)
- Insert disc and run original XP driver setup (without toolbox.) The installation will almost complete but then roll back.
- Delete the Laserjet 1015 printer.
- Now plug in the 1012. It will be recognized and installed as a Laserjet 1012! (This might require unplugging and replugging the printer and/or rebooting.)

Now the shared Laserjet 1012 on the Windows 7 machine is automatically recognized by my XP machines as well as other Windows 7 machines.

14 September 2011

There are no Network Connections

Network Interface Card is seen in 'Device Manager', but there are no network connections.

Cause: 'Network Connection' service is disabled or stopped.

Solution: Change the service into 'Automatic', and start the service.

30 August 2011

How to remove the page numbers on the 4 beginning pages, and start to number the pages starting the fifth page?

Put the cursor at the end of page 4. Click on 'Page Layout', 'Breaks', and select 'Continuous'. You have inserted a section break there. The whole document has been split into two sections in terms of header and footer.

Double-click on the page number '5', and select '5'. You will see that the tab 'Design' has automatically been selected, and the 'Link to Previous' button is down. That means that the header and footer in the current section contain the same content as in the previous section.

Click on 'Link to Previous' button, to let it be up. You have un-linked the current section from the previous section, so that the header and footer in the current section do NOT contain the same content as in the previous section.

Double-click on the page number '4', select number '4', and delete the number '4'. You will see that the pages numbers from 1 to 3 have automatically deleted, but page numbers starting 5 still remain.

Double-click on the page number '5', and select '5' again. Click on 'Page Number', 'Format Page Numbers...'. Choose 'Start at 1'. Click on 'OK'. You will see that the page number on the fifth page has become '1', and the page number on the sixth page '2', and so on and so forth.

29 August 2011

How to set the Archive settings in Outlook

Outlook has a default setting –

For ‘Inbox’ within ‘Mailbox’, emails are not automatically archived into ‘Archive folders’.

For ‘Sent Items’ within ‘Mailbox’, emails older than 6 months are automatically archived into ‘Sent Items’ within ‘Archive folders’, if you click on ‘Yes’ when you see the prompt every 14 days. Emails which are archived are deleted from Exchange Server immediately, and saved on the local machine, thus those spaces are released on the Exchange Server. (‘6 months’ and ’14 days’ can be changed, if staff like to, by clicking on the ‘Default Archive Settings…’ button.)

To solve the staff’s 2GB limit problem, we could ask our staff to also enable automatic archiving for ‘Inbox’ within ‘Mailbox’ by doing this -

In Outlook, right-click on ‘Inbox’ within ‘Mailbox’, select ‘Properties’. An ‘Inbox Properties’ dialogue box will show up.  Choose the ‘AutoArchive’ tab. Select ‘Archive items in this folder using the default settings’, and click on ‘OK’. Similarly, staff can choose to change ‘6 months’ and ’14 days’ by clicking on the ‘Default Archive Settings…’ button.

When prompted to archive old emails every 14 days, staff should click on ‘Yes’.

An alternative approach is – our staff can drag some old emails from the ‘Inbox’ within ‘Mailbox’ into the ‘Inbox’ within ‘Archive folders’. Those spaces will be released on the Exchange server.

18 August 2011

Keeping seeing Licence Agreement page

When I open Photoshop, it keeps showing the Licence Agreement page, after I click on 'Accept' button.

Solution:
Remove the following file -
C:\Program Files (x86)\Common Files\Adobe\Adobe PCD\Cache\Cache.db

26 July 2011

Monitor display dissapears one or two minutes after you turn on your computer

The fan on the display card stopped running.

Room calendar management in Exchange email system

In Exchange Management Console, -
Create a Room Mailbox.
If the room does not have an owner, then we can right-click on the Room mailbox and select 'Manage Full Access Permission'. We can add users or user groups.

If the room has an owner, then it is of no use to change anything within 'Manage Full Access Permission'. We have to go to the owner's Outlook. In Calendar, we right-click on the Room, and select 'Change Sharing Permissions'. Add users or user groups, and change permissions.

14 July 2011

11 June 2011

Carousel

1. JQuery Cycle. Need one JQuery library and one Cycle library.
2. JCarousel

01 April 2011

How to turn on automatic logon in Windows XP

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

You can use Registry Editor to add your log on information. To do this, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Using your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK.
  4. Double-click the DefaultPassword entry, type your password under the value data box, and then click OK.

    If there is no DefaultPassword value, create the value. To do this, follow these steps:
    1. In Registry Editor, click Edit, click New, and then click String Value.
    2. Type DefaultPassword as the value name, and then press ENTER.
    3. Double-click the newly created key, and then type your password in the Value Data box.
    Note: If the DefaultPassword registry entry does not exist, Windows XP automatically changes the value of the AutoAdminLogonregistry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature after the computer is restarted.
  5. Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK.

    If there is no AutoAdminLogon entry, create the entry. To do this, follow these steps:
    1. In Registry Editor, click Edit, click New, and then click String Value.
    2. Type AutoAdminLogon as the value name, and then press ENTER.
    3. Double-click the newly created key, and then type 1 in the Value Data box.
  6. Exit Registry Editor.
  7. Click Start, click Restart, and then click OK.
After your computer restarts and Windows XP starts, you can log on automatically.

Vista 自动登录实现方法

http://www.jb51.net/os/Vista/9347.html

点评:因为个人用的电脑,每次都要输入用户名和密码是件麻烦事,所有有了下面的文章,大家可以参考下,第一种方法是xp,win2003都支持  继承了windows的一些的设置方法第一种方法:也是比较简单常用的方法运行里输入control userpasswords2 后确定,按照提示即可这里介绍一-
因为个人用的电脑,每次都要输入用户名和密码是件麻烦事,所有有了下面的文章,大家可以参考下,第一种方法是xp,win2003都支持
继承了windows的一些的设置方法
第一种方法:也是比较简单常用的方法
运行里输入control userpasswords2 后确定,按照提示即可
这里介绍一下如何让Windows Vista启动时自动以某一用户名和密码登录系统的方法(此方法实际上也适用于Windows XP)。
1、win+r弹出运行。
2、输入“control userpasswords2”(防止输入错误,请直接复制),然后点击“确定”。提示:不需要输入引号,同时注意在control的后面有一个空格。
3、出现用户帐户控制提示时,点击“继续”。
4、在打开的用户帐户设置中,取消“要使用本机,用户必须输入用户名和密码”(图中已标注位置)设置前的勾,然后点击“确定”。
5、输入想要系统每次启动时自动登录进入的用户名和密码,然后“确定”。
6、重新启动,这样Vista即会以你指定的用户名登录了。
第二种方法:通过修改注册表
运行regedit打开注册表以后,展开[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon ]分支,然后在右侧窗口双击“DefaultUserName”,接着输入你的登录用户名。如果没有预设的用户名称,可以在注册表编辑器的菜单栏点选“编 辑→新建→字符串值(s)→DefaultUserName”来添加这个项目,注意要区分大小写字母。
同样在该分支下,在注册表编辑器的右侧窗口中双击“DefaultPassword”,然后在空白栏内输入你的密码。假如未发现“DefaultPassword”一项,可按上面的步骤来新建该字符串值。
接下来在右侧窗口中双击“AutoAdminLogon”,将数值设置为“1”。假如未发现“AutoAdminLogon”,可按上面的步骤来新建。
其它的方法也可以通过一些软件来实现,大家肯定感觉方法,第一种方法是最好用的。
详细出处参考:http://www.jb51.net/os/Vista/9347.html

如何让win XP实现自动登陆

http://www.aa25.cn/Tech/95.shtml

Windows XP是一个比较安全的操作系统,每次启动时都要求选择账户并输入密码,对于公用电脑,这样当然更安全,但是如果这台电脑是一个人用,也没有什么重要资料,每次都要选择帐户并输入密码实在太麻烦了,怎么样才能让 Windows XP 不用输入密码自动登录呢?

单击“开始/运行”,输入“rundll32 netplwiz.dll,UsersRunDll”,按回车键后弹出“用户帐户”窗口,看清楚,这可跟“控制面板”中打开的“用户账户”面板窗口不同哦!然后取消选定“要使用本机,用户必须输入用户名和密码”选项,单击确定,在弹出的对话框中输入你想让电脑每次自动登录的账户和密码即可。

事实上,在windows 2000中也可以这样实现自动登录,不过它可以通过“控制面板”打开“用户账户”窗口,而在Windows XP中不行罢了。

文章出处:标准之路(http://www.aa25.cn/Tech/95.shtml)

25 February 2011

Computer runs extremely slowly (java.exe problem)

A computer runs extremely slowly. I checked the processes, and found there were dozens of 'java.exe'.

I killed all of them, the computer runs fine now.

I think that when I restart the machine, the problem may happen again.

Solution: 

Install and run Windows 优化大师. Scan and fix all the problems. The computer runs fine now.

31 January 2011

How can root forcefully logout a user?

First, determine the process id (PID) of the shell they are using to login.

Code:
ps aux | grep user
Look for the entry for the login shell. If they are using bash, it will be the line where the last column is -bash. The number in the second column is the PID.
To kill the login shell, type the following:
Code:
kill PID
This should stop the user's login session. I'm not sure if this will also stop any other processes of that user, but if not, you can just use the first command again to find any other processes for the user and kill them.

OR -

Use the who command to see list of logged in users and sudo pkill -KILL -u username to log out user.

27 January 2011

How to log in as root in Ubuntu?

By default, you can not log in as root in Ubuntu, but you can mange to after you do the following:

$sudo passwd

and set a password for root.

$su

and type in the root password, then you are logged in as root.

21 January 2011

AutoCAD - how to enter block editor and exit it?

Click on the block. Enter the command - 'bedit'.

To exit block editor, enter the command - 'bclose'.

17 January 2011

Can not see the desktop when Remote Control in Logmein

(1) Update IE to IE 8 on the controlled machine.
(2) Do Windows update on the controlled machine.