Search in uioop.blogspot.com

Blog Archive

Wednesday, December 30, 2009

Windows 2008的高级安全防火墙功能

在管理、维护局域网的过程中,网络管理员或许经常会遇到这样的一种现象,那就是一些不自觉的上网用户往往会在局域网中偷偷使用P2P工具,来下载大容量的电影或其他多媒体数据,这种恶意下载操作消耗掉了局域网中有限的宝贵带宽资源,并且很容易造成整个局域网网络不能稳定地运行。

事实上,我们可以利用Win2008系统新增加的高级安全防火墙功能,来控制恶意下载行为;考虑到P2P工具在进行恶意下载操作时,会通过系统的3077,3078端口对外进行网络通信,我们只要让高级安全防火墙功能限制3077,3078端口对外进行网络通信,就能实现阻止上网用户偷偷使用迅雷这样的P2P工具进行恶意下载了。现在,我们就利用Win2008系统的高级安全防火墙功能创建安全访问规则,禁止P2P工具进行下载连接:

首先以系统管理员权限进入Win2008系统桌面,依次点选“开始”菜单中的“程序”、“管理工具”、“服务器管理器”命令,从其后出现的服务器管理器窗口左侧位置处,将鼠标定位于“配置”节点选项上,再选中目标节点选项下面的“高级安全防火墙”项目;

其次打开“高级安全防火墙”配置界面,在该界面左侧位置处点选“出站规则”功能选项,再从对应该功能选项的右侧位置处点选“新规则”功能选项,打开安全出站规则创建向导对话框,当向导对话框询问我们要进行何种类型的控制操作时,我们应该选中这里的“端口”选项,以便让高级安全防火墙功能对本地计算机中3077、3078端口的网络连接进行限制;

接着单击“下一步”按钮,在其后出现的向导设置对话框中选中“TCP”功能选项,并且选中“特定本地端口”选项,此时“特定本地端口”文本框会被自动激活,在该文本框中直接输入“3077,3078”端口号码,

再单击“下一步”按钮后,向导屏幕会弹出提示询问“连接符合指定条件时应该进行什么操作”,这个时候我们必须将“阻止连接”功能选项选中,之后设置好该安全规则具体的应用范围,在这里我们可以同时选中“域”、“专用”、“公用”这几种应用环境,最后为新创建的出站规则设置一个合适的名称,再单击“完成”按钮结束安全出站规则的创建工作,这样的话任何一位上网用户在本地Win2008系统中尝试进行恶意下载时,Win2008系统自带的高级安全防火墙功能就对自动对这样的恶意下载进行拦截,那么本地网络的运行稳定性自然也就能得到有效保证了。

Tuesday, December 15, 2009

Booting Windows PE

Booting Windows PE

Thursday, June 18, 2009

MS 算号器原理

从Win95起,MS(注:即Microsoft,下同)的产品安装Key从原来的10位数字改为25位字符,这一改动,代表着MS告别了简单的校验和, 从此投入了椭圆曲线法的怀抱。从密码学的角度来看,这绝对是一个里程碑, 因为当时椭圆曲线法仍在研究论证阶段,MS是第一个将之实用以商业产品的厂家。
那么在这25个字符里到底有什么呢?
1.Base24
这25个字符实际是114bits的数据用Base24进行UUCode后的结果,做为安装Key,这个Base必须绝对避免误认,所以MS选择了以下这24个字符做为UUCode的Base:BCDFGHJKMPQRTVWXY2346789
所以,如果你的安装Key 有这24个字符以外的字符的话,你完全可以把它丢到垃圾筒里去了━━不用试就知道它根本通不过了。

2.114 bits
UUDecode后得到的114位按Intel高位在后的格式表示如下:
[ X XXXXXXXX XXXXXXXX XXXXXXXXXXXXXXXXXX ] Total 114 Bits
| | | \ 55 Bits Sign
| | \ 28 Bits Hash
| \ 30 Bits Serial \ 31 Bits Data
\ 1 Bits Flag /
Flag: 不明标志,目前所见的各类Key中这一位总是为0。
Serial:用户序列号,转成十进制表示为AAAABBBBBB,对应显示为:
零售版:xxxxx-AAA-BBBBBBx-xxxxx
OEM版: xxxxx-OEM-0AAAABx-BBBBB
以上31bits总称为Data,是CDKey中的基本部分。
Hash:Data经特定处理得到的结果,见后文。
Sign:Hash值的椭圆曲线签名,见后文。

3.椭圆曲线签名算法
要说明椭圆曲线签名算法可不是一件容易的事,有兴趣的可以自己用“椭圆曲线”或是“elliptic curve”在搜索引擎找相关的资料来看吧,这里只简单介绍MS的用法。
所谓椭圆曲线是指这样一类曲线方程:
y^2 + a1*xy + a3*y = x^3 + a2*x^2 + a4*x + a6
在密码学里用的是它的两个特例,而MS用的更是这两个特例中的特例:
y^2 = x^3 + a*x + b ( mod p )
当a、b、p选定后,就可以确定一个椭圆曲线,再选择一个生成点 G(gx,gy),
于是,存在一个最小的整数q使得q*G=O,然后,再任意选择一个整数 kK(kx,ky)=k*G,这样椭圆曲线签名算法的Key就全生成了:
公开密钥为:a,b,p,G(gx,gy),K(kx,ky)
私有密钥为:a,b,p,G(gx,gy),q,k
要对Data签名时:
A.先任意选择一个整数rB.将Data、rx、ry共100个字节求SHA-1,取结果中的28位得到Hash;
C.求Sign = r - Hash * k ( mod q );
D.把Data、Hash、Sign三个数组合后UUCode得到25位CDKey。
验证CDKey时:
A.把25位CDKey先UUDecode再拆分后提到Data、Hash、Sign;
B.求点R( rx, ry ) = Sing * G + Hash * K ( mod p );
C.将Data、rx、ry共100个字节求SHA-1,取结果中的28位得到Hash\';
D.如果Hash = Hash\',则该CDKey为有效Key。

4.BINK
从前面的说明可以看出,为了验证CDKey,MS 必须公开椭圆曲线签名算法中的公开密钥,那么这个公开密钥放在哪里呢?答案是在pidgen.dll里的BINK资源里(其他产品如Office则被包 在*.MSI),而且一共有两组,从目前已知的Key组合来看,第一组密钥是用以零售版本的,第二组则用于OEM版本。两个产品的Key能否通用就在于对 应的密钥是否相同,比如中文版的Windows 2000的Pro/Srv/AdvSrv的第二组密钥也是相同的,即一个PWindows 2000 Pro的OEM版的Key,可同时供 PWindows 2000 Srv/Adv的OEM版使用。

5.破解及其难度
要破解CDKey的生成算法,必须从MS 公开的密钥中求出对应的私有密钥,即只要求出q和k即可。从BINK中公开的密钥来看,p 是一个384 bits的质数,看起来计算量好象至少要O(2^168)才行,但MS设计中一个缺陷(?)使实际工作量降低到只有O(2^28)就可以了。
为什么相差这么远?
回头看看3.C中的式子: Sign = r - Hash * k ( mod q )
通常情况下q可以是很大的值,因此Sign应该也很大,但MS 为了减少用户输入的CDKey的数量,把Sign的值限死在55 bits,因此,自然也限定了q最多也不能超过56 bits。依此类推,由于k作者曾经在一台赛扬II 800的机器上只用6个小时就解出某组密钥的q值,最多时在一台雷鸟1G上用了28个小时才算出另一组密钥的k值, 其他平均大约都在十个小时左右就可以求出。
注:关于什么-640-和-005-,其实没什么意思,例如当我装xp打入序号为FCKGW-RHQQ2-YXRKT-8TG6W-2B7Q8,我的产品 号就是55274-640-0000356-23174,而我打入3H87P-VHQGD-M74M6-8MHMH-3JRB3时,我的产品号就变成了 55274-643-6941852-23174,这证明了什么?其实产品号的头五个key,是代表windows的版本,而接着的十个key,就是代表 你装windows时输入的序号,最后的五个key是代表光盘的cd-code罢了.............所以,产品号不是-005-的都未必不能激 活简体中文专业版的..................

恢复原版XP:

使用算号法激活有一个前提是必须使用原版的XP,如果原来是替换激活或是破解激活的朋友就可以用以下方法恢复为原版:

一、替换激活:

只需把用于替换的8个或11个原版文件覆盖回i386目录下的同名文件就可以了。

二、破解激活:

若你准备重装XP,可直接将licdll.dl_和Winlogon.ex_拷进I386文件,替换原文件即可。

若你已安装了XP,可先把原版没破解过的licdll 和winlogn拷进system32里你可以在安全模式下进入安装盘里support目录里 再进入tools里面的delpoy文件里点击sysprep.exe然后选择重新封装,完成后电脑会自动关机,然后重启就可以了。                          

OEM版问题:

因为算号器里并没有OEM版的选项,所以一般上OEM版的Windows XP并不能用算号法激活,但可以用以下方法解决:将 I386目录中 SETUPP.INI 中的 Pid=55660OEM 改为55660335 即可,安装时用算号器算出的 CDKEY 就可通过安装并在网上激活。

解锁你Windows XP的setupp.ini
Windows XP 的setupp.ini控制CD怎样运行,无论你的XP 版本是否OEM版。首先,找到在i386文件夹中找到setupp.ini文件,将其打开你会看到类似如下的语句: ExtraData=707A667567736F696F697911AE7E05 Pid=55034000
这列数字中的“Pid”数值就是我们兴趣之所在。这看起来是默认值。
有一个特别的数字决定你使用的XP是零售版本、还是OEM、还是正式授权版本。首先我们把这串数字分成两部分,前五个数字决定你的CD如何运行,就比如像 零售版本既可以生机安装,也可以完全重新安装,但是OEM版本却只能完全重新安装一样。 后三个数字决定那种CD Key将会被接受。就比如像你有XP的零售版,但是却是OEM的CD Key……
说完了基本原理,下面就是实际的工作了,记住这列数字很有用:
零售版:51882 335 授权版:51883 270 OEM版:82503 OEM
于是如果你使用零售版的CD,有零售版的CD Key就可以把Pid改为
Pid=51882335
如果你是零售版的CD,有的是OEM版的CD Key,你就可以改为
Pid=51882OEM
注意:这只能用任何CD Key正确安装任何CD,但是无法激活,如果你有CD但是没有CD Key的话可以试试这个方法。

使用脚本恢复Windows XP系统的用户密码

http://ask.koubei.com/question/1406110107856.html

用一种不用第三方软件的方法来恢复管理员密码,大家可以看看这招技巧如何。

   Windows XP启动脚本(startup scripts)是计算机在登录屏幕出现之前运行的批处理文件,它的功能类似于Windows 9×和DOS中的自动执行批处理文件autoexec.bat。利用这个特性,可以编写一个批处理文件重新设置用户密码,并将它加入启动脚本中,这样就达 到了目的。以下是具体步骤(假设系统目录为C:\Windows)。

   1.使用Windows98启动盘启动电脑。编写一个能恢复密码的批处理文件a.bat,内容只需要一条“net user”命令即可:“Net user rwd 12345678”。这条命令的意思是将用户rwd的密码设置为“12345678”(有关Net命令的用法,可参考Windows帮助)。然后将文件 a.bat保存到“C:\windows\system32\GroupPolicy\Machine\Scripts\Startup”下。

   2.编写一个启动/关机脚本配置文件scripts.ini,这个文件名是固定的,不能改变。内容如下:

  [Startup]

  0CmdLine=a.bat

  0Parameters=

   3.将文件scripts.ini保存到“C:\windows\system32\GroupPolicy\Machine\Scripts”下。 scripts.ini保存着计算机启动/关机脚本的设置数据,文件内容通常包含两个数据段:[Startup]和 [Shutdown]。[Startup]数据段下是启动脚本配置,[Shutdown]数据段下是关机脚本配置。每个脚本条目被分成脚本名和脚本参数两 部分存储,脚本名保存在XCmdLine关键字下,参数保存在XParameters关键字下,这里的X表示从0开始的脚本序号,以区别多个脚本条目和标 志各脚本条目的运行顺序。

   4.取出Windows 98启动盘,重新启动电脑,等待启动脚本运行。启动脚本运行结束后用户rwd的密码就被恢复为“12345678”。

   5.登录成功后删除上述步骤建立的两个文件。

   说明:电脑使用的是FAT32文件系统,如果使用NTFS文件系统,可以将这块硬盘以从盘模式挂接到其它能识别NTFS文件系统(如Windows 2000或Windows XP)的计算机上进行上述操作。本方法可以恢复管理员(Administrator)的密码。对Windows2000系统中本地计算机用户和域用户的密 码恢复同样有效。

Windows XP操作系统中隐藏的秘密

http://ask.koubei.com/question/1407071204458.html

1. systeminfo:让XP列出更多有用信息

Windows XP 总是在炫耀它可以给稳定工作多么长的时间!要想详细地了解这一信息,你可以接入 Windows的“开始菜单”,再开启“附件菜单”中的“命令提示符”,然后在其中输入“systeminfo”这个命令。电脑就会给你显示出许多有用信 息,其中包括了这个系统的初次安装时间,以及本次持续运行的时间。假如你想要保留这些信息,你可以输入“systeminfo >info.txt”,这将会创建一个名为“info.txt”文本文件,你可以稍后用Windows的记事本将其打开,进行查看。(仅限于 Windows XP 专业版本)

2.gpedit.msc:设置直接删除文件

你可以将 Windows XP操作系统设置为直接删除文件,而不用先将这些文件转移到回收站当中。进入开始菜单,选择“运行……”,输入“gpedit.msc”;在弹出的对话框 中,选择用户设置,管理模板,Windows 组件,Windows Explorer,找到“不要将删除的文件移送到回收站”的选项。开启这个选项。

编辑认为在回收站的属性里选择更快一些。

通过调整 gpedit 对话框中的相关设置,你可以对系统的运行方式和选项做出很多调整,但是请一定小心??你所作出的某些改变可能会系统运行出现问题,或造成系统的不稳定。(仅限于 Windows XP 专业版本)

3. rundll32.exe:用鼠标锁定计算机

你可以轻轻点击两下鼠标,就锁定自己的 Windows XP 系统。请先在桌面上点击鼠标右键,创建一个新的快捷方式,然后再填写项目位置的时候, 输入“rundll32.exe user32.dll,LockWorkStation”。

然后再给这个快捷方式取一个你喜欢的名字,比如“锁定计算机”。就是这么简单??现在,你只需要用鼠标双击这个快捷方式,你的电脑就会马上被锁定。如果你觉得这还不够简单的话,同时按住键盘上的“Windows 键(有XP图标的那个)”和“L”键,将会有同样的效果。

4. sysoc.inf:把隐藏的文件揪出来

Windows XP 隐藏了一些你可能想要删除或卸载的系统软件,诸如 WindowsMessenger,但是你可以让这些软件重新显示出来。使用 Windows自带的记事本或写字板程序,编辑文本文件“/windows/inf/sysoc.inf”,搜索并删除掉关键词“hide”。然后你再进 入“控制面板”的“添加/删除程序”,选择“添加或删除 Windows 组件”。你可以发现所有的系统软件都被显示出来了,现在就可以卸载它们了。

5. /?:命令行的诱惑

对于那些擅长于操作DOS批处理命令的用户来说,Windows XP也为他们提供了许多有趣的新命令。其中包括用来创建和监视系统事件的“eventcreate”和“eventtriggers”命令,用来监控各种 子系统的运行状态的“typeperf'”,以及用来操作计划任务的“schtasks”。

和以前一样,输入某个命令,并紧跟其后加上“/?”的后缀,将会为你提供一系列与这个命令相关的选项。

6. ipv6 install:XP也能玩IPv6

Windows XP 能够支持 IPv6 ??下一代互联网的IP协议。但是非常不幸的是,这一功能超出了你的网络提供商(ISP)所能支持的服务,所以你只能在自己的局域网中实验这一功能。请在 “运行……”中输入命令“ipv6 install'”(请不要担心,这个命令不会破坏你现有的网络设定),然后再在命令提示符中输入“ipv6/?”,你可以获得更多的相关信息。假如你根 本不知道 IPv6 是什么的话,那么就请忽略掉这一段话。

7.tskill:试试用命令来终止任务

你可以最终通过在命令提示符中输入命令“taskkill/pid”和任务序号,或者仅仅输入“tskill”以及进程的序号,来终止掉某个任务。想要找 出所有正在运行中的任务及其序号?请输入“tasklist”,这个命令也可以帮助你了解到更多当前系统运行状态的信息。

8. 快慢自选:浏览ZIP压缩包

Windows XP会像对待普通文件夹一样对待ZIP压缩文件包,这一功能在运行速度较快的机器上非常的方便,但是在运行速度较慢的机器上却会拖累系统的整体运行效率。 如果你电脑的配置并不是很高,你可以通过在命令提示符中输入命令“regsvr32 /u zipfldr.dll”来关闭这一功能 ,让 WindowsXP 把压缩文件包丢在一边。假如你稍候改变了自己的主意,你可以通过输入“regsvr32 zipfldr.dll”来恢复这一功能。

Windows XP操作系统中隐藏的秘密

http://ask.koubei.com/question/1407071204458.html

1. systeminfo:让XP列出更多有用信息

Windows XP 总是在炫耀它可以给稳定工作多么长的时间!要想详细地了解这一信息,你可以接入 Windows的“开始菜单”,再开启“附件菜单”中的“命令提示符”,然后在其中输入“systeminfo”这个命令。电脑就会给你显示出许多有用信 息,其中包括了这个系统的初次安装时间,以及本次持续运行的时间。假如你想要保留这些信息,你可以输入“systeminfo >info.txt”,这将会创建一个名为“info.txt”文本文件,你可以稍后用Windows的记事本将其打开,进行查看。(仅限于 Windows XP 专业版本)

2.gpedit.msc:设置直接删除文件

你可以将 Windows XP操作系统设置为直接删除文件,而不用先将这些文件转移到回收站当中。进入开始菜单,选择“运行……”,输入“gpedit.msc”;在弹出的对话框 中,选择用户设置,管理模板,Windows 组件,Windows Explorer,找到“不要将删除的文件移送到回收站”的选项。开启这个选项。

编辑认为在回收站的属性里选择更快一些。

通过调整 gpedit 对话框中的相关设置,你可以对系统的运行方式和选项做出很多调整,但是请一定小心??你所作出的某些改变可能会系统运行出现问题,或造成系统的不稳定。(仅限于 Windows XP 专业版本)

3. rundll32.exe:用鼠标锁定计算机

你可以轻轻点击两下鼠标,就锁定自己的 Windows XP 系统。请先在桌面上点击鼠标右键,创建一个新的快捷方式,然后再填写项目位置的时候, 输入“rundll32.exe user32.dll,LockWorkStation”。

然后再给这个快捷方式取一个你喜欢的名字,比如“锁定计算机”。就是这么简单??现在,你只需要用鼠标双击这个快捷方式,你的电脑就会马上被锁定。如果你觉得这还不够简单的话,同时按住键盘上的“Windows 键(有XP图标的那个)”和“L”键,将会有同样的效果。

4. sysoc.inf:把隐藏的文件揪出来

Windows XP 隐藏了一些你可能想要删除或卸载的系统软件,诸如 WindowsMessenger,但是你可以让这些软件重新显示出来。使用 Windows自带的记事本或写字板程序,编辑文本文件“/windows/inf/sysoc.inf”,搜索并删除掉关键词“hide”。然后你再进 入“控制面板”的“添加/删除程序”,选择“添加或删除 Windows 组件”。你可以发现所有的系统软件都被显示出来了,现在就可以卸载它们了。

5. /?:命令行的诱惑

对于那些擅长于操作DOS批处理命令的用户来说,Windows XP也为他们提供了许多有趣的新命令。其中包括用来创建和监视系统事件的“eventcreate”和“eventtriggers”命令,用来监控各种 子系统的运行状态的“typeperf'”,以及用来操作计划任务的“schtasks”。

和以前一样,输入某个命令,并紧跟其后加上“/?”的后缀,将会为你提供一系列与这个命令相关的选项。

6. ipv6 install:XP也能玩IPv6

Windows XP 能够支持 IPv6 ??下一代互联网的IP协议。但是非常不幸的是,这一功能超出了你的网络提供商(ISP)所能支持的服务,所以你只能在自己的局域网中实验这一功能。请在 “运行……”中输入命令“ipv6 install'”(请不要担心,这个命令不会破坏你现有的网络设定),然后再在命令提示符中输入“ipv6/?”,你可以获得更多的相关信息。假如你根 本不知道 IPv6 是什么的话,那么就请忽略掉这一段话。

7.tskill:试试用命令来终止任务

你可以最终通过在命令提示符中输入命令“taskkill/pid”和任务序号,或者仅仅输入“tskill”以及进程的序号,来终止掉某个任务。想要找 出所有正在运行中的任务及其序号?请输入“tasklist”,这个命令也可以帮助你了解到更多当前系统运行状态的信息。

8. 快慢自选:浏览ZIP压缩包

Windows XP会像对待普通文件夹一样对待ZIP压缩文件包,这一功能在运行速度较快的机器上非常的方便,但是在运行速度较慢的机器上却会拖累系统的整体运行效率。 如果你电脑的配置并不是很高,你可以通过在命令提示符中输入命令“regsvr32 /u zipfldr.dll”来关闭这一功能 ,让 WindowsXP 把压缩文件包丢在一边。假如你稍候改变了自己的主意,你可以通过输入“regsvr32 zipfldr.dll”来恢复这一功能。

安装Win XP不用输序号

安装Win XP不用输序号

要做到安装Win XP不用输序号(是不用输,不是不用序号)要有一个前提,就是你的Win XP原文件已经考到了你的硬盘上或者你的光盘是可读写的。方法如下:在I386的文件下放一个叫WINNT.SIF的, 内容如下:

=====================================================================
[UserData] ProductKey=FCKGW-RHQQ2-YXRKT-8TG6W-2B7Q8
//注意,这个是你的xp 的注册码,要写在这里,不一定与这个相同
[Data] AutoPartition=0
MSDosInitiated=0
UnattendedInstall=Yes
[Unattended]
UnattendMode=GuiAttended
TargetPath=WINNT
Hibernation=1
OemPreinstall=No
OemSkipEula=Yes
CrashDumpSetting=0
DisableDynamicUpdates=Yes
UnattendSwitch=Yes
========================================================

Friday, April 24, 2009

Adobe CS4 " Licensing for this product has expired " FIX!!!

So you installed Adobe Creative Suite Master Collection or any of its other applications, and now you can’t even open up any of these programs. You’re probably receiving the now semi-infamous “Licensing for this product has expiredpop up error.

This error will more than likely affect the use of the following programs:

Adobe InDesign CS4
Adobe Photoshop CS4 Extended
Adobe Illustrator CS4
Adobe Flash CS4 Professional
Adobe Dreamweaver CS4
Adobe Fireworks CS4
Adobe Contribute CS4
Adobe After Effects CS4
Adobe Premiere Pro CS4
Adobe Soundbooth CS4
Adobe OnLocation CS4
Adobe Encore CS4

Don’t worry, because some guys over at who knows where got the fix that will save you many hours of headaches. The problem lies within the “amtlib.dll” file in each of the CS4 application directories. However, downloading a simple fix and updating each of the files with a newer one can solve this problem.

Step 1:
Download this file it includes both amtlib.dll files the second file(64bit) is only to be added to photoshop (64bit) folder the rest use the regular amtlib.dll file:If you download this file skip to step 3 !
Code:
http://rapidshare.com/files/194411412/amtlib.dll_Files.rar
other files for step 2 using the " crack.bat ". Personally i like doing in manually its only like 17 files you need to change:
Code:
http://rapidshare.com/files/192521711/CS4LicenseFix.rar
http://rapidshare.com/files/186674885/AdobeCS4_License_Fix.rar
http://www.easy-share.com/1903472319/CS4LicenseFix.rar



Step 2:
Run the “crack.bat” file and allow for the file to be copied over to all the directories. This should fix all your problems.

If the above two steps didn’t work, try the following:
Step 3:
Search for: “amtlib.dll” in the Adobe folder C:\Program Files\Adobe\.

Step 4:
Replace all the “amtlib.dll” files in each of the Adobe folders with the file in the downloaded fix.

ONLY do the following steps if the previous steps didn’t work for you.
Step 5:
Go to C:\Windows\System32\drivers\etc, open the “hosts” file there with Notepad.

Step 6:
Add the following lines at the end of the file:

127.0.0.1 localhost
127.0.0.1 activate.adobe.com
127.0.0.1 practivate.adobe.com
127.0.0.1 ereg.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 wip3.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 adobe-dns.adobe.com
127.0.0.1 adobe-dns-2.adobe.com
127.0.0.1 adobe-dns-3.adobe.com
127.0.0.1 ereg.wip3.adobe.com
127.0.0.1 activate-sea.adobe.com
127.0.0.1 wwis-dubc1-vip60.adobe.com
127.0.0.1 activate-sjc0.adobe.com
::1 localhost

Step 7:
Go to C:\Program Files\Common Files\Adobe\Adobe PCD\cache
and delete the file “cache.DB”

Step 8:
Enter a new serial number for the applications and open up any Adobe Creative Suite program.
Now everything should be working fine.



Adobe Acrobat 9 Pro Extended (PDF制作工具)
Adobe After Effects CS4(视频后期处理软件)
Adobe Bridge CS4(图片浏览,媒体管理器,支持AI矢量格式文件的浏览)
Adobe Contribute CS4(网站建设工具,比Dreamweaver功能简单,注重易操作性)
Adobe Dreamweaver CS4(功能强大的网页编辑器和网站建设工具,网页三剑客之一)
Adobe_Encore_CS4(专业的制作DVD的工具)
Adobe Fireworks CS4(功能强大的网页图形创作工具,以面向对象的模式绘图,各元件操控性比Photoshop更好,网页三剑客之一)
Adobe Flash CS4 Pro(著名的Flash动画编辑工具,无需多介绍了,网页三剑客之一)
Adobe Illustrator CS4(著名的矢量路径绘图工具,广泛用于出版物,绘画,平面设计领域)
Adobe InDesign CS4(出版物制作工具)
Adobe Media Encoder CS4(媒体格式转换工具,支持优秀的Adobe媒体格式F4V)
Adobe OnLocation CS4(视频录制工具)
Adobe Photoshop CS4(最著名的照片处理工具,无需多介绍了)
Adobe Photoshop Lightroom 2.2(专业的照片筛选工具,支持同步比较,制作相册,还有一些相片处理特效)
Adobe Premiere Pro CS4(最著名的非线性视频编辑应用程序)
Adobe Soundbooth CS4(音频处理程序,继Cool Edit,Audition之后的更新版本)

Tuesday, April 21, 2009

Systemed is Missing

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

Windows could not start because the following file is missing or corrupt:\WINNT\SYSTEM32\CONFIG\SYSTEMced

Restore a Backup of the System Hive

IMPORTANT: This procedure will not work on an active directory domain controller, because if you use the REPAIR folder system hive, then you are no longer a domain controller.

Use the Repair Console tool to replace the backup copy of the System hive from the repair folder. If the Repair Console tool is not installed on your computer, you can run it from the Emergency Repair process:
  1. Use the Windows 2000 CD-ROM or the Windows 2000 Startup disk to start the computer.
  2. When you see the "Welcome to Setup" message, press R for "repair."
  3. Press C to run the Recovery Console tool.
  4. Select the installation that you want to repair.
  5. Type the administrator password.

    If the computer is a domain controller, type the password for Directory Services Restore Mode when you are prompted to do so.For additional information about the Recovery Console tool, click the article numbers below to view the articles in the Microsoft Knowledge Base:
    239803 (http://support.microsoft.com/kb/239803/EN-US/ ) How to Change the Recovery Console Administrator Password on a Domain Controller
    223301 (http://support.microsoft.com/kb/223301/EN-US/ ) Protection of the Administrator Account in the Offline SAM
  6. At the Recovery Console command prompt, type the following commands, pressing ENTER after you type each command:
    cd system32\config
    ren system system.old
    ren system.alt systemalt.old
  7. If you have run the Emergency Repair Disk Wizard from Windows Backup and Recovery tools, copy the backup of the System hive from the %SystemRoot%\Repair\Regback folder.

    If you have not run the Emergency Repair Disk Wizard, copy the default System hive from the %SystemRoot%\Repair folder.

    IMPORTANT: You need to restore the most recent copy of the System hive. You also need to reinstall any hardware device drivers or programs that run as services that you installed since the last time that you updated your Emergency Repair Disk.

    To copy the default System hive, type the following command, and then press ENTER:
    copy c:\winnt\repair\system c:\winnt\system32\config
    To copy the System hive that was backed up the last time that you ran the Emergency Repair Disk Wizard, type the following command, and then press ENTER:
    copy c:\winnt\repair\regback\system c:\winnt\system32\config
  8. At the command prompt, type exit, and then press ENTER to restart your computer.

Reduce the Size of the System Hive

If a large number of resources are shared on the computer, the registry may become too large. To resolve this issue, use the following steps.
  1. Start registry editor (Regedt32.exe).
  2. Locate and click the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Share
  3. On the Registry menu, click Save Key.
  4. In the File name box, type Shares.new, and then click Save.
  5. Locate and click the following key in the registry:
    HKEY_LOCAL_MACHINE
  6. On the Registry menu, click Load Hive.
  7. In the list of files, click the System.old file, and then click Open.
  8. In the Key Name box type System.old, and then click OK.
  9. Locate and click the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\Select
  10. Note the setting for the Default value.
  11. Locate and click the following key in the registry
    HKEY_LOCAL_MACHINE\System.old\ControlSetx\Services\LanmanServer\Shares
    where x is the number that you noted in step 8.
  12. On the Registry menu, click Save Key.
  13. In the File name box, type Shares.old, and then click Save.
  14. Restore the Shares.new key to the System.old registry hive:
    HKEY_LOCAL_MACHINE\System.old\ControlSetx\Services\LanmanServer\Shares
  15. Click the HKEY_LOCAL_MACHINE\System.old key.
  16. On the Registry menu, click Unload Hive.
  17. Quit Registry Editor.
  18. Restart the computer to the Recovery Console.
  19. At the command prompt, type the following lines, pressing ENTER after you type each line:
    ren system system.org
    ren system.old system
  20. At the command prompt, type exit, and then press ENTER to restart the computer.

Saturday, April 4, 2009

How to change entries in VISTA boot loader !!!

http://www.flexbeta.net/forums/lofiversion/index.php/t8373.html

=====================
Modify your VISTA Boot Menu
=====================


Do you also have several cryptical entries in your personal new VISTA bootloader?

Does it look like:

Legacy (pre-Longhorn) Microsoft Windows Operating System
Microsoft Windows
Microsoft Windows
Microsoft Windows
Microsoft Windows
....

Don't know which Windows is which entry?

Then you need this new guide with my experiences!

You will get a "new" boot menu! For example:

Legacy (pre-VISTA) XP, 2000, 2003, WIN98x
VISTA 5259 TAP
VISTA 5231 IDX
WINDOWS SERVER 2003



======
Theory
======


Till VISTA build 5231 we have had the new VISTA LOADER and for XP, 2000, 2003
and Win 98 the all known NTLDR called NT Loader or NT Bootloader and the mirror
of that is BOOT.INI...

With VISTA 5259 we have a new hierarchy:

First loader: VISTA loader called bootmgr, a "BOOTMANAGER"
Second Loader: NTLDR (XP,2003,98...)

VISTA looks in its "DATA STORE", were the new entries will be hold.
In the beta state of VISTA we have only two programs, which can help us:

MSCONFIG (which does not see the legacy OS)
BCDEDIT.EXE


==========
BCDEDIT.EXE
==========


Please press START and RUN (have you activate "RUN"? >Go to ADMINISTRATOR, right-click Taskbar, Properties, Start Menu, Start Menu Customize, check Run command, OK) and type in: command and press OK.

Yes, it looks like MS-DOS! It's name is Windows DOS...

Then you must type in: bcedit
and the nice program starts and shows for example this:


Microsoft® Windows DOS
©Copyright Microsoft Corp 1990-2001.

D:\USERS\ADMINI~1>bcdedit

Windows Boot Manager
--------------------
Identifier: {bootmgr}
Type: 10100002
Device: partition=C:
Description: Windows Boot Manager
Locale: ENG-US
Inherit options: {emssettings}
{dbgsettings}
Default: {871d699a-68d1-11da-9f30-eb66f9279051}
Display order: {legacy}
{871d699a-68d1-11da-9f30-eb66f9279051}
{d3e15d7c-66fb-11da-83c4-f23116dca051}
{77e994d8-64b9-11da-afd6-cd1e42667751}
{748c9ce4-6497-11da-b587-ba41a6a3f856}
{6bde53aa-630a-11da-b591-bb4bd04c9f19}
{d9b222a6-5f5b-11da-8e9c-87c5457d571e}
{eafe9a2c-558c-11da-86bb-9237c2e1a919}
{3ffee100-4b31-11da-b300-e812ef50ad19}
{eda3906c-438e-11da-b934-f4ecbe0a3419}
{4f964faa-3d7a-11da-bb88-b7df6f4d4219}
Timeout: 3

Windows Legacy OS Loader
------------------------
Identifier: {legacy}
Type: 10300006
Device: partition=C:
Path: \ntldr
Description: Legacy (pre-Longhorn) Microsoft Windows Operating System


Windows Boot Loader
-------------------
Identifier: {871d699a-68d1-11da-9f30-eb66f9279051}
Type: 10200003
Device: partition=H:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: en-US
Inherit options: {emssettings}
{dbgsettings}
{5189b25c-5558-4bf2-bca4-289b11bd29e2}
Windows device: partition=H:
Windows root: \Windows
No Execute policy: OptIn

Windows Boot Loader
-------------------
Identifier: {d3e15d7c-66fb-11da-83c4-f23116dca051}
Type: 10200003
Device: partition=H:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: en-US
Inherit options: {emssettings}
{dbgsettings}
{5189b25c-5558-4bf2-bca4-289b11bd29e2}
Windows device: partition=H:
Windows root: \Windows
No Execute policy: OptIn

Windows Boot Loader
-------------------
Identifier: {77e994d8-64b9-11da-afd6-cd1e42667751}
Type: 10200003
Device: partition=H:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: en-US
Inherit options: {emssettings}
{dbgsettings}
{5189b25c-5558-4bf2-bca4-289b11bd29e2}
Windows device: partition=H:
Windows root: \Windows
No Execute policy: OptIn

Windows Boot Loader
-------------------
Identifier: {748c9ce4-6497-11da-b587-ba41a6a3f856}
Type: 10200003
Device: partition=D:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: ENG-US
Inherit options: {emssettings}
{dbgsettings}
Windows device: partition=D:
Windows root: \Windows
No Execute policy: OptIn
Detect hal: Yes

Windows Boot Loader
-------------------
Identifier: {6bde53aa-630a-11da-b591-bb4bd04c9f19}
Type: 10200003
Device: partition=J:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: ENG-US
Inherit options: {emssettings}
{dbgsettings}
Windows device: partition=J:
Windows root: \Windows
No Execute policy: OptIn
Detect hal: Yes

Windows Boot Loader
-------------------
Identifier: {d9b222a6-5f5b-11da-8e9c-87c5457d571e}
Type: 10200003
Device: partition=J:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: ENG-US
Inherit options: {emssettings}
{dbgsettings}
Windows device: partition=J:
Windows root: \Windows
No Execute policy: OptIn
Detect hal: Yes

Windows Boot Loader
-------------------
Identifier: {eafe9a2c-558c-11da-86bb-9237c2e1a919}
Type: 10200003
Device: partition=J:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: ENG-US
Inherit options: {emssettings}
{dbgsettings}
Windows device: partition=J:
Windows root: \Windows
No Execute policy: OptIn
Detect hal: Yes

Windows Boot Loader
-------------------
Identifier: {3ffee100-4b31-11da-b300-e812ef50ad19}
Type: 10200003
Device: partition=J:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: ENG-US
Inherit options: {emssettings}
{dbgsettings}
Windows device: partition=J:
Windows root: \Windows
No Execute policy: OptIn
Detect hal: Yes

Windows Boot Loader
-------------------
Identifier: {eda3906c-438e-11da-b934-f4ecbe0a3419}
Type: 10200003
Device: partition=J:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: ENG-US
Inherit options: {emssettings}
{dbgsettings}
Windows device: partition=J:
Windows root: \Windows
No Execute policy: OptIn
Detect hal: Yes

Windows Boot Loader
-------------------
Identifier: {4f964faa-3d7a-11da-bb88-b7df6f4d4219}
Type: 10200003
Device: partition=J:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: ENG-US
Inherit options: {emssettings}
{dbgsettings}
Windows device: partition=J:
Windows root: \Windows
No Execute policy: OptIn
Detect hal: Yes

D:\USERS\ADMINI~1>


Sorry - a long one, but you will see, I have several entries of the same kind.
Partition H:\ three times and J:\ even more...



=========
Backup first!
=========


First of all, we need a backup/copy of our boot entries!

Step 1: Change to ADMINISTRATOR

Step 2: Type in: bcdedit -?

This will show us the HELP MENU of bcdedit.exe:


H:\USERS\ADMINI~1>bcdedit -?

BCDEDIT - Boot Configuration Data Store Editor

The Bcdedit.exe command-line tool modifies the boot configuration data store.
The boot configuration data store contains boot configuration parameters and
controls how the operating system is booted. These parameters were previously
in the Boot.ini file (in BIOS-based operating systems) or in the nonvolatile
RAM entries (in Extensible Firmware Interface-based operating systems). You can
use Bcdedit.exe to add, delete, edit, and append entries in the boot
configuration data store.

For detailed command and option information, type bdedit.exe /? . For
example, type "bcdedit.exe /? /createstore" (without quotes).

For command and option information, please run "bcdedit /? " where
is one of the help topics listed below.

/bootdebug Enables or disables boot debugging for a boot application.

/bootems Enables or disables Emergency Management Services for a boot
application.

/bootsequence Sets the one-time boot sequence for the boot manager.

/copy Makes copies of entries in the store.

/create Creates new entries in the store.

/createstore Creates a new and empty boot configuration data store.

/dbgsettings Sets the global debugger parameters.

/debug Enables or disables kernel debugging for an operating system
entry.

/default Sets the default entry that the boot manager will use.

/delete Deletes entries from the store.

/deletevalue Deletes entry options from the store.

/displayorder Sets the order in which the boot manager displays the multiboot
menu.

/ems Enables or disables Emergency Management Services for an
operating system entry.

/emssettings Sets the global Emergency Management Services parameters.

/enum Lists entries in the store.

/export Exports then contents of the system store to a file. This file
can be used later to restore the state of the system store.

formats Displays the formats of the data required by the /set command.

id Displays the identifier parameter options that can be used
in several Bcdedit commands such as /create and /copy.

/import Restores the state of the system store using a backup file
created with the /export command.

/set Sets entry option values in the store.

/store Specifies the boot configuration data store to use.

/timeout Sets the boot manager time-out value.

/types Displays the data types required by the /set and /deletevalue
commands.

/v Displays all entry identifiers in full, rather than using
shorthand notation for the well-known identifiers.

H:\USERS\ADMINI~1>


Step 3: Type in: bcdedit -? export

You will get:

H:\USERS\ADMINI~1>bcdedit -? export

bcdedit /export

This command exports the contents of the system store into a file. This file
can be used later to restore the state of the system store. This command is
only valid for the system store.

The filename to be used as the desination for the export.
If the filename contains spaces, it must be enclosed in
double quotes (").

Example:

The following example will export the system store to the specified file:

bcdedit /export "C:\Data\BCD Backup"

H:\USERS\ADMINI~1>


Step 4: Please make a new folder: C:\DATA

Step 5: Type in: bcdedit /export "C:\Data\BCD Backup"

You have now a BACKUP of bootmgr entries! With "import" you are able to restore it!!
You can afterwards also safe your new entries, no problem like:

bcdedit /export "C:\Data\BCD My New Boot Entries"




==========================
DELETE DOUBLE ENTRIES IN bootmgr
==========================


In the next step we will wipe out the double entries. (Always use your OWN identifiers!
My used one are only for explanation!!)

Step 6: Look at the double entries like: Device: partition=H:

Step 7: Type in: bcdedit -? delete

You will get:


H:\USERS\ADMINI~1>bcdedit -? delete

bcdedit -delete [-f]

This command will delete an entry from the boot configuration data store.

This specifies the identifier of the boot entry to be
deleted.

[-f] bcdedit will not delete any entries that have a well known
identifier. To force such a delete operation, specify this
flag.

Examples:

The following command will delete the specified OS entry from the store:

bcdedit -delete {cbd971bf-b7b8-4885-951a-fa03044f5d71}

The following command will delete the legacy OS loader entry from the store:

bcdedit -delete {legacy} -f

H:\USERS\ADMINI~1>bcdedit -delete {4f964faa-3d7a-11da-bb88-b7df6f4d4219}
The operation completed successfully.

H:\USERS\ADMINI~1>


Let explain with the follow examples of my bootmgr entries:

Windows Boot Loader
-------------------
Identifier: {871d699a-68d1-11da-9f30-eb66f9279051}
Type: 10200003
Device: partition=H:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: en-US
Inherit options: {emssettings}
{dbgsettings}
{5189b25c-5558-4bf2-bca4-289b11bd29e2}
Windows device: partition=H:
Windows root: \Windows
No Execute policy: OptIn

Windows Boot Loader
-------------------
Identifier: {d3e15d7c-66fb-11da-83c4-f23116dca051}
Type: 10200003
Device: partition=H:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: en-US
Inherit options: {emssettings}
{dbgsettings}
{5189b25c-5558-4bf2-bca4-289b11bd29e2}
Windows device: partition=H:
Windows root: \Windows
No Execute policy: OptIn


I want to delete the second (blue) one:
Identifier: {d3e15d7c-66fb-11da-83c4-f23116dca051}

Step 8: Type in: bcdedit -delete {d3e15d7c-66fb-11da-83c4-f23116dca051}

It is away!
All of this commands needs only the correct Identifier to scratch!
Now we can delete all other double entries in the same way.



=====================
RENAME ENTRIES in boot menu
=====================


The next step is to rename the entries.

The easiest one is the one you are in. If you have bootet VISTA 5259 TAP
you must type in:

Step 9: Type in: H:\USERS\ADMINI~1>bcdedit -set DESCRIPTION "VISTA 5259 TAP"

The operation completed successfully. Test it:

H:\USERS\ADMINI~1>bcdedit

The desription of your booted VISTA has changed from only "Microsoft Windows" to
"VISTA 5259 TAP"!

You can now boot in a other VISTA build, maybe 5231 or another. In 5231 for example there is also a BCDEDIT.EXE and you must type in the same with an other description or you are in VISTA 5259 and
you want to change the description from your "other" VISTA.


Step 10: Type in: H:\USERS\ADMINI~1>bcdedit -set {748c9ce4-6497-11da-b587-ba41a6a3f856} DESCRIPTION "VISTA 5231 IDX"

You have easily changed the description of your second VISTA, if have use the correct IDENTIFIER!

From my 6 entries about WINDOWS SERVER 2003 I have deleted 5 and renamed the last:

H:\USERS\ADMINI~1>bcdedit -set {6bde53aa-630a-11da-b591-bb4bd04c9f19} DESCRIPTION "WINDOWS SERVER 2003"


=============================
START XP/2000/20003/98x automatically
=============================


Now to the following problem:

You want to boot in your XP (2003, WIN98x) automatically?

MSCONFIG does not yet! Look in!

BCDEDIT does!


Step 11: Type in: bcdedit ? default

You will get:

H:\USERS\ADMINI~1>bcdedit -? default

This command sets the default entry that the boot manager will use when the
time-out expires.

bcdedit /default

Specifies the identifier of the boot entry to be used as the
default when the time-out expires.

Examples:

The following command sets the specified entry as the default boot manager
entry:

bcdedit /default {cbd971bf-b7b8-4885-951a-fa03044f5d71}

The following command sets the legacy Windows loader (Ntldr) as the default
entry:

bcdedit /default {legacy}

H:\USERS\ADMINI~1>



So a easy task, isn't it? You only must do Step12!

Step 12: Type in: bcdedit /default {legacy}


To look at the correct entry, look at "DEFAULT":

Microsoft® Windows DOS
©Copyright Microsoft Corp 1990-2001.

H:\USERS\ADMINI~1>bcdedit

Windows Boot Manager
--------------------
Identifier: {bootmgr}
Type: 10100002
Device: partition=C:
Description: Windows Boot Manager
Locale: ENG-US
Inherit options: {emssettings}
{dbgsettings}
Default: {legacy}
Display order: {legacy}
{current}
{d3e15d7c-66fb-11da-83c4-f23116dca051}
{77e994d8-64b9-11da-afd6-cd1e42667751}
{748c9ce4-6497-11da-b587-ba41a6a3f856}
{6bde53aa-630a-11da-b591-bb4bd04c9f19}
{d9b222a6-5f5b-11da-8e9c-87c5457d571e}
{eafe9a2c-558c-11da-86bb-9237c2e1a919}
{3ffee100-4b31-11da-b300-e812ef50ad19}
{eda3906c-438e-11da-b934-f4ecbe0a3419}
{4f964faa-3d7a-11da-bb88-b7df6f4d4219}
Timeout: 3


Yes, it worked!



========================
CHANGE {legacy} to a nicer one!
=======================


In the next and last step we will learn to change the description entry of {legacy} from:

Legacy (pre-Longhorn) Microsoft Windows Operating System

to a neater one like:

Legacy (pre-VISTA) XP, 2000, 2003 , WIN98x


Step 13: Type in: bcdedit -set {legacy} DESCRIPTION "Legacy (pre-VISTA) XP, 2000, 2003, WIN98x"

Let's have a look, how it worked:

Windows Legacy OS Loader
------------------------
Identifier: {legacy}
Type: 10300006
Device: partition=C:
Path: \ntldr
Description: Legacy (pre-VISTA) XP, 2000, 2003, WIN98x

Pefect!

With that renamed entry you will go directly in your NTLDR loader and there is working the good old
well known BOOT.INI!

Nice program, the BCDEDIT.EXE, isn't it?

Like I have read anywhere in internet MS is planning to give us a GUI for that bootmgr editing!

I hope, we will get a fast, safe, and nice VISTA 2006!

Have fun with BCDEDITing and please, don't forget to make first my described BCD Backup before
you fiddle to much and nothing worked for you after reboot.

HELP: After everey step type in: bcdedit and you will see what have worked.
Look at the "Windows Device", "Description" and "Identifiers".

Have fun!

Wednesday, March 4, 2009

Installing Bartpe To Usb Flash Disk

http://www.911cd.net/forums/index.php?showtopic=10806

Installation of PE2USB:
You should copy the files pe2usb.cmd and pe2usb.bin to your
directory.

For successful installing BartPE to a USB flash disk you need:

1) A USB flash disk with a capacity of 256MB or more
2) Server 2003 SP1 (or a release candidate). You can download this from
http://www.microsoft.com/downloads/details.aspx?familyid=02734CEA-7A4B-4D95-B220-8E1708C3ED46
This file is large, about 350MB!!!
Unpack the files from the service pack (this is not installing) with:
sr1sp.exe -x, lets assume you extract it to c:\server2003sp1
Create the folder \srsp1
Copy the file c:\server2003sp1\i386\setupldr.bin to the \srsp1 folder
Expand the file c:\server2003sp1\i386\ramdisk.sy_ to the \srsp1 folder
expand -r c:\server2003sp1\i386\ramdisk.sy_ \srsp1
You can now remove the c:\server2003sp1 folder, not needed anymore...
3) Build BartPE using pebuilder as normal, you must set the output folder to
"BartPE", you do not need to generate an ISO image for now.
4) Run "pe2usb -f " to format and install the files to your UFD.
Formatting is only needed the first time, so next time you can run
"pe2usb " (without -f) to update the BartPE files.

For successful booting BartPE from a USB flash disk you need:
1) A PC that is capable of booting from a USB flash disk with 256MB memory
or more.

Download: http://www.nu2.nu/pebuilder/files/pe2usb101.zip

Thursday, February 12, 2009

Certain Programs Do Not Work Correctly If You Log On Using a Limited User Account

To work around this behavior, you can grant Administrative access to individual programs by using the following steps:

1. Right-click the program’s file name or shortcut.
2. Click Advanced, click Run with different credentials, and then click OK.
3. Start the program.
4. When you receive a prompt, enter an administrative user ID and password.

----------------------------------------------------

"If your game or application works with admin accounts, but not with
limited accounts, you can fix it to allow limited users to access the
program files folder with "change" capability rather than "read" which
is the default.

C:\>cacls "Program Files\appfolder" /e /t /p users:c

where "appfolder" is the folder where the application is installed.

If you wish to undo these changes, then run

C:\>cacls "Program Files\appfolder" /e /t /p users:r

If you still have a problem with running the program or saving
settings on limited accounts, you may need to change permissions on
the registry keys. Run regedit.exe and go to HKLM\Software\vendor\app,
where "vendor\app" is the key that the software vendor used for your
specific program. Change the permissions on this key to allow Users
full control."

------------------------------------------------------






Wednesday, February 4, 2009

Import Users with CSVDE

In the previous two exercises, you created users one at a time. In this exercise, you will use a
comma-delimited text file to import two users.

1. Open Notepad and enter the following three lines. Each of the following bullets represents
one line of text. Do not include the bullets in the Notepad document.

❑ DN,objectClass,sAMAccountName,sn,givenName,userPrincipalName
❑ "cn=Lisa Andrews,ou=People,dc=contoso,dc=com",user,lisa.andrews,
Lisa,Andrews,lisa.andrews@contoso.com
❑ "cn=David Jones,ou=People,dc=contoso,dc=com",user,david.jones,
David,Jones,david.jones@contoso.com

2. Save the file to your Documents folder with the name Newusers.txt.
3. Open a command prompt.
4. Type cd %userprofile%\Documents and press Enter.
5. Type csvde -i -f newusers.txt -k and press Enter.
The three users are imported. If you encounter any errors, examine the text file for typographical problems.

Import Users with LDIFDE

Like CSVDE, LDIFDE can be used to import users. The LDIF file format, however, is not a typical delimited text file. In this exercise, you will use LDIFDE to import user.

1. Open Notepad and type the following lines. Be sure to include the blank line between
the two operations.

DN: CN=April Stewart,OU=People,DC=contoso,DC=com
changeType: add
CN: April Stewart
objectClass: user
sAMAccountName: april.stewart
userPrincipalName: april.stewart@contoso.com
givenName: April
sn: Stewart
displayName: Stewart, April
mail: april.stewart@contoso.com
description: Sales Representative in the USA
title: Sales Representative
department: Sales
company: Contoso, Ltd.

2. Save the file to your Documents folder with the name Newusers.ldf. Surround the file
name with quotes; otherwise, Notepad will add a .txt extension.

Although you can import LDIF files with any extension, it is convention to use the .ldf
extension.

3. Open a command prompt.

4. Type cd %userprofile%\Documents and press Enter.

5. Type ldifde -i -f newusers.ldf -k and press Enter.
The two users are imported. If you encounter any errors, examine the text file for typographical
problems.

--------------------------------

DN: CN=,OU=,DC=,DC=
changeType:
CN:
objectClass:
sAMAccountName:
userPrincipalName:
givenName:
sn:
displayName:
mail:
description:
title:
department:
company:
-----------------------------------------

Tuesday, January 20, 2009

The Windows Installer service could not be accessed

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

Method 1: Reregister the Windows Installer
loadTOCNode(2, 'resolution');

To reregister the Windows Installer, verify the location of the Msiexec.exe file on your hard disk and in the Windows Registry, and then reregister the Windows Installer. To do this, follow these steps. Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.
Determine the location of the Msiexec.exe file on your hard disk. To do this, follow these steps:
Click Start, click Run, type %windir%\system32, and then click OK.Note This step will open the folder where the Msiexec.exe file is located.
Make a note of the location of the Msiexec.exe file. The location of the Msiexec.exe file will be a combination of the value in the Address text box and the Msiexec.exe file name itself. For example if the Address text box contains a value of C:\Windows\system32, the location of the Msiexec.exe file will be C:\Windows\system32\Msiexec.exe.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in WindowsMake sure that the location of the Msiexec.exe file in Registry Editor is correct. To do this, follow these steps:
Click Start, click Run, type regedit in the Open text box, and then click OK.
Expand HKEY_LOCAL_MACHINE, expand SYSTEM, expand CurrentControlSet, expand Services, and then click MSIServer.
In the right pane, right-click ImagePath, and then click Modify.
In the Value data text box, type the location of the Msiexec.exe file that you determined in step 1, followed by the value of /V, and then click OK.For example, if the location of the Msiexec.exe file is C:\Windows\system32\Msiexec.exe, type the following text in the Value data text box:
C:\WINDOWS\System32\msiexec.exe /V
Click OK to close the Edit String dialog box.
Click the File menu, and then click Exit to close Registry Editor.
Start your computer in safe mode, and then register the Msiexec.exe file. To do this, follow these steps:
Click Start, and then click Turn off computer or Shut Down.
Select the Restart option, and then click OK, or click Restart.
Press F8 before the Windows splash screen appears.
On the Windows Advanced Option menu, use the arrow keys to select the Safe Mode option, and then press ENTER.
If you use a dual-boot or multiple-boot computer, select the appropriate operating system from the list that is displayed, and then press ENTER.
Log on to the computer.
Click Start, click Run, type msiexec /regserver in the Open text box, and then click OK. Note For 64-bit operating systems, you also have to reregister the 64-bit MSI installer. To do this, click Start, click Run, type %windir%\Syswow64\Msiexec /regserver in the Open text box, and then click OK.On 64-bit editions of the Windows operating system, 32-bit binaries are located in %systemroot%\SysWow64 folder. The 64-bit binaries are located in the %systemroot%\System32 folder.
Click Start, and then click Turn off computer or Shut Down.
Select the Restart option, and then click OK, or click Restart. If the issue persists, and you still receive the error message that is mentioned in the "Symptoms" section, follow the steps in Method 2.
Back to the top
Method 2: Reinstall the Windows Installer
loadTOCNode(2, 'resolution');

To reinstall the Windows Installer, rename the damaged Windows Installer files, and then reinstall the Windows Installer. To do this, follow these steps:
Click Start, click Run, type cmd in the Open text box, and then click OK.
Type cd %windir%\system32, and then press ENTER.
Type attrib -r -s -h dllcache, and then press ENTER.
Type ren msi.dll msi.old, and then press ENTER.
Type ren msiexec.exe msiexec.old, and then press ENTER.
Type ren msihnd.dll msihnd.old, and then press ENTER.
Type exit, and then press ENTER.
At the command prompt, type exit, and then press ENTER.
Click Start, and then click Turn off computer or Shut Down.
Select the Restart option, and then click OK, or click Restart.
Log on to the computer.
Download and install the latest version of the Windows Installer. For more information about how to obtain the Windows Installer, click the following article number to view the article in the Microsoft Knowledge Base:
893803 (http://support.microsoft.com/kb/893803/ ) Windows Installer 3.1 v2 (3.1.4000.2435) is available
Click Start, and then click Turn off computer or Shut Down.
Select the Restart option, and then click OK, or click Restart.

Wednesday, January 7, 2009

Recover from a corrupted registry that prevents Windows XP from starting

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

When you try to start or restart your Windows XP-based computer, you may receive one of the following error messages:
Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM
Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SOFTWARE
Stop: c0000218 {Registry File Failure} The registry cannot load the hive (file): \SystemRoot\System32\Config\SOFTWARE or its log or alternate
System error: Lsass.exe
When trying to update a password the return status indicates that the value provided as the current password is not correct.

Guided Help to recover a corrupted registry that prevents Windows XP from starting

Guided Help
Guided Help is available to help recover a corrupted registry that prevents Windows XP from starting. Guided Help can automatically perform the steps for you.

The actions that this Guided Help performs can be undone after Guided Help is finished. To undo the actions that this Guided Help performs and to restore the corrupted registry files, start Recovery Console, and then manually copy the Windows\Tmp\*.bak files to the Windows\System32\Config folder. Make sure to rename the files to remove the .bak extension.
For more information about Guided Help, click the following article number to view the article in the Microsoft Knowledge Base:
915092 (http://support.microsoft.com/kb/915092/ ) Description of Guided Help for Microsoft Knowledge Base articles

Requirements to install and to use this Guided Help

  • You must be logged on to Windows by using a computer administrator account to install and to use this Guided Help.
  • You must be running Windows XP Home Edition, Windows XP Professional, Windows XP Media Center Edition, or Windows XP Tablet PC Edition to install and to use this Guided Help.
You must first download Guided Help. To start, click the following link:
(http://support.microsoft.com/kb/307545/ )

Manual steps to recover a corrupted registry that prevents Windows XP from starting

The procedure that this article describes uses Recovery Console and System Restore. This article also lists all the required steps in specific order to make sure that the process is fully completed. When you finish this procedure, the system returns to a state very close to the state before the problem occurred. If you have ever run NTBackup and completed a system state backup, you do not have to follow the procedures in parts two and three. You can go to part four.

Part one

In part one, you start the Recovery Console, create a temporary folder, back up the existing registry files to a new location, delete the registry files at their existing location, and then copy the registry files from the repair folder to the System32\Config folder. When you have finished this procedure, a registry is created that you can use to start Windows XP. This registry was created and saved during the initial setup of Windows XP. Therefore any changes and settings that occurred after the Setup program was finished are lost.

To complete part one, follow these steps:
  1. Insert the Windows XP startup disk into the floppy disk drive, or insert the Windows XP CD-ROM into the CD-ROM drive, and then restart the computer.
    Click to select any options that are required to start the computer from the CD-ROM drive if you are prompted to do so.
  2. When the "Welcome to Setup" screen appears, press R to start the Recovery Console.
  3. If you have a dual-boot or multiple-boot computer, select the installation that you want to access from the Recovery Console.
  4. When you are prompted to do so, type the Administrator password. If the administrator password is blank, just press ENTER.
  5. At the Recovery Console command prompt, type the following lines, pressing ENTER after you type each line:
    md tmp
    copy c:\windows\system32\config\system c:\windows\tmp\system.bak
    copy c:\windows\system32\config\software c:\windows\tmp\software.bak
    copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
    copy c:\windows\system32\config\security c:\windows\tmp\security.bak
    copy c:\windows\system32\config\default c:\windows\tmp\default.bak

    delete c:\windows\system32\config\system
    delete c:\windows\system32\config\software
    delete c:\windows\system32\config\sam
    delete c:\windows\system32\config\security
    delete c:\windows\system32\config\default

    copy c:\windows\repair\system c:\windows\system32\config\system
    copy c:\windows\repair\software c:\windows\system32\config\software
    copy c:\windows\repair\sam c:\windows\system32\config\sam
    copy c:\windows\repair\security c:\windows\system32\config\security
    copy c:\windows\repair\default c:\windows\system32\config\default
  6. Type exit to quit Recovery Console. Your computer will restart.
Note This procedure assumes that Windows XP is installed to the C:\Windows folder. Make sure to change C:\Windows to the appropriate windows_folder if it is a different location.

If you have access to another computer, to save time, you can copy the text in step five, and then create a text file called "Regcopy1.txt" (for example). To use this file, run the following command when you start in Recovery Console:
batch regcopy1.txt
With the batch command in Recovery Console, you can process all the commands in a text file sequentially. When you use the batch command, you do not have to manually type as many commands.

Part two

To complete the procedure described in this section, you must be logged on as an administrator, or an administrative user (a user who has an account in the Administrators group). If you are using Windows XP Home Edition, you can log on as an administrative user. If you log on as an administrator, you must first start Windows XP Home Edition in Safe mode. To start the Windows XP Home Edition computer in Safe mode, follow these steps.

Note Print these instructions before you continue. You cannot view these instructions after you restart the computer in Safe Mode. If you use the NTFS file system, also print the instructions from Knowledge Base article KB309531. Step 7 contains a reference to the article.
  1. Click Start, click Shut Down (or click Turn Off Computer), click Restart, and then click OK (or click Restart).
  2. Press the F8 key.

    On a computer that is configured to start to multiple operating systems, you can press F8 when you see the Startup menu.
  3. Use the arrow keys to select the appropriate Safe mode option, and then press ENTER.
  4. If you have a dual-boot or multiple-boot system, use the arrow keys to select the installation that you want to access, and then press ENTER.
In part two, you copy the registry files from their backed up location by using System Restore. This folder is not available in Recovery Console and is generally not visible during typical usage. Before you start this procedure, you must change several settings to make the folder visible:
  1. Start Windows Explorer.
  2. On the Tools menu, click Folder options.
  3. Click the View tab.
  4. Under Hidden files and folders, click to select Show hidden files and folders, and then click to clear the Hide protected operating system files (Recommended) check box.
  5. Click Yes when the dialog box that confirms that you want to display these files appears.
  6. Double-click the drive where you installed Windows XP to display a list of the folders. If is important to click the correct drive.
  7. Open the System Volume Information folder. This folder is unavailable and appears dimmed because it is set as a super-hidden folder.

    Note This folder contains one or more _restore {GUID} folders such as "_restore{87BD3667-3246-476B-923F-F86E30B3E7F8}".

    Note You may receive the following error message:
    C:\System Volume Information is not accessible. Access is denied.
    If you receive this message, see the following Microsoft Knowledge Base article to gain access to this folder and continue with the procedure:
    309531 (http://support.microsoft.com/kb/309531/ ) How to gain access to the System Volume Information folder
  8. Open a folder that was not created at the current time. You may have to click Details on the View menu to see when these folders were created. There may be one or more folders starting with "RPx under this folder. These are restore points.
  9. Open one of these folders to locate a Snapshot subfolder. The following path is an example of a folder path to the Snapshot folder:
    C:\System Volume Information\_restore{D86480E3-73EF-47BC-A0EB-A81BE6EE3ED8}\RP1\Snapshot
  10. From the Snapshot folder, copy the following files to the C:\Windows\Tmp folder:
    • _REGISTRY_USER_.DEFAULT
    • _REGISTRY_MACHINE_SECURITY
    • _REGISTRY_MACHINE_SOFTWARE
    • _REGISTRY_MACHINE_SYSTEM
    • _REGISTRY_MACHINE_SAM
  11. Rename the files in the C:\Windows\Tmp folder as follows:
    • Rename _REGISTRY_USER_.DEFAULT to DEFAULT
    • Rename _REGISTRY_MACHINE_SECURITY to SECURITY
    • Rename _REGISTRY_MACHINE_SOFTWARE to SOFTWARE
    • Rename _REGISTRY_MACHINE_SYSTEM to SYSTEM
    • Rename _REGISTRY_MACHINE_SAM to SAM
These files are the backed up registry files from System Restore. Because you used the registry file that the Setup program created, this registry does not know that these restore points exist and are available. A new folder is created with a new GUID under System Volume Information and a restore point is created that includes a copy of the registry files that were copied during part one. Therefore, it is important not to use the most current folder, especially if the time stamp on the folder is the same as the current time.

The current system configuration is not aware of the previous restore points. You must have a previous copy of the registry from a previous restore point to make the previous restore points available again.

The registry files that were copied to the Tmp folder in the C:\Windows folder are moved to make sure that the files are available under Recovery Console. You must use these files to replace the registry files currently in the C:\Windows\System32\Config folder. By default, Recovery Console has limited folder access and cannot copy files from the System Volume folder.

Note The procedure described in this section assumes that you are running your computer with the FAT32 file system. For more information about how to access the System Volume Information Folder with the NTFS file system, click the following article number to view the article in the Microsoft Knowledge Base:
309531 (http://support.microsoft.com/kb/309531/ ) How to gain access to the System Volume Information folder

Part Three

In part three, you delete the existing registry files, and then copy the System Restore Registry files to the C:\Windows\System32\Config folder:
  1. Start Recovery Console.
  2. At the command prompt, type the following lines, pressing ENTER after you type each line:
    del c:\windows\system32\config\sam

    del c:\windows\system32\config\security

    del c:\windows\system32\config\software

    del c:\windows\system32\config\default

    del c:\windows\system32\config\system

    copy c:\windows\tmp\software c:\windows\system32\config\software

    copy c:\windows\tmp\system c:\windows\system32\config\system

    copy c:\windows\tmp\sam c:\windows\system32\config\sam

    copy c:\windows\tmp\security c:\windows\system32\config\security

    copy c:\windows\tmp\default c:\windows\system32\config\default
    Note Some of these command lines may be wrapped for readability.
  3. Type exit to quit Recovery Console. Your computer restarts.
Note This procedure assumes that Windows XP is installed to the C:\Windows folder. Make sure to change C:\Windows to the appropriate windows_folder if it is a different location.

If you have access to another computer, to save time, you can copy the text in step two, and then create a text file called "Regcopy2.txt" (for example). To use this file, run the following command when you start in Recovery Console:
batch regcopy2.txt

Part Four

  1. Click Start, and then click All Programs.
  2. Click Accessories, and then click System Tools.
  3. Click System Restore, and then click Restore to a previous RestorePoint.

Access is Denied / Encryption

http://windowshelp.microsoft.com/Windows/en-us/help/31ad4562-aee7-4fed-8316-89114dc973031033.mspx

There are two things that you can try:

Check the permissions of the file or folder the file is saved in. Here's how:




1.

Right-click the file or folder, and then click Properties.

2.

Click the Security tab.

3.

Under Group or user names, click your name to see the permissions you have.

To open a file, you need to have read permission. For more information on permissions, see What are permissions?


Check to see if the file is encrypted. Here's how:




1.

Right-click the file, and then click Properties.

2.

Click the General tab, and then click Advanced.

If the Encrypt contents to secure data check box is selected, you need the certificate that was used to encrypt the file to open it.

You should get the certificate from the person who created the file. For more information, see Import or export certificates and private keys.

Encrypting File System (EFS) is not fully supported on Windows Vista Starter, Windows Vista Home Basic, and Windows Vista Home Premium. For those editions of Windows, if you have the encryption key or certificate, you can do the following:

Open Command Prompt and decrypt files by typing Cipher.exe /d at the command prompt (advanced users).

Modify an encrypted file.

Copy an encrypted file as a decrypted file to a hard disk on your computer.

Import EFS certificates and keys.

Open Command Prompt and back up EFS certificates and keys by typing Cipher.exe /r at the command prompt (advanced users).

Monday, January 5, 2009

N82 Soft and Hard Reset

If you applied the settings you received, deleting the text message containing them isn't going to have any effect.

Note that all these operations but the first will wipe your phone's internal memory so do a backup before proceeding.

First option: revert to factory defaults . Dial *#7780#.

Second option: soft reset. Dial *#7370#.

Third option: hard reset. Switch the phone off and do the following.

1) Press and hold the green "call", "3" and "*" buttons.
2) With those buttons pressed down, switch the phone on.
3) Keep pressing those 3 buttons and only release them once the phone shows signs of life such as the Nokia "hands" logo or the language selection screen.

If you're prompted for a security code, the default on all Nokia phones is 12345 (unless you changed it, in which case you should know what it is).

AVG Internet Security 2013

Total Pageviews

Contributors