用xcopy命令保留所有权限迁移文件服务器(转)

比如旧文件服务器IP:192.168.0.22
共享目录:oldshare
例如你现在已经登陆到新的域文件服务器,设置需要共享的文件夹E:\newshare(这个必须要先设置再复制,否则后面会出问题),并且确定可以访问旧域文件服务器的所有文件(\\192.168.0.22\oldshare),这个很容易做到.

1.把整个所有文件复制到新文件服务器的E:\newshare,而且权限保留:
xcopy /E /S /O /F /K /Y \\192.168.0.22\oldshare E:\newshare

2.复制所有文件夹(不要文件),而且权限保留:
xcopy /T /E /S /O /F /K /Y \\192.168.0.22\oldshare E:\newshare

注:源文件从第二层开始复制,所以需要手动创建”newshare”父文件夹

我每次迁移都这样做,安全又方便.绝对不会出问题.复制过程网络断开重新迁移时添加/Z参数即可.有审核设置的也没有问题

听说同类还有个更强的命令:Robocopy
http://technet.microsoft.com/en-us/magazine/2006.11.utilityspotlight.aspx

Tags: , , , ,
No Comments »

最新版本号:14.0.8117.416,MSN最新版本如何离线更新?

解决方案:

在%systemdrive%\Program Files (x86)\Common Files\Windows Live\下有安装时的cache目录
,先清空,再安装web的,然后到这个目录下找出所有的msi exe文件,最后所有的客户端安装这些文件就行了。

by iflystar

经过本人亲自测试后:
.cache里面全是MSI文件,一共9个MSI+1个ini+1个TMP文件,9个MSI全都安装一次,方案完全可行。
以下是文件名:

Messenger.msi
choiceguard.msi
Contacts.msi
crt.msi
dw20shared.msi
RichUpload.msi
SegoeFont.msi
wllogin.msi
WLXSuite.msi

放在批处理里面点一下就OK了。。。。。
太爽了。。。MD,终于不用等着联网安装了。。。。。。

Tags: , , ,
No Comments »

右击”本地连接”却出现”出现意外错误”的问题(转)

刚刚解决了本地连接消失的问题,右击”本地连接”却出现”出现意外错误”的问题,郁闷!!后来经过查询,原因可能是注册表被损坏导致无法查看网络连接的属性,重新注册一下即可.解决方法如下:
在运行中分别输入:
regsvr32 netshell.dll
regsvr32 ole32.dll

Tags: , ,
No Comments »

G.cn离我们远去,不再是敲四下一回车就能搜索的了……

G.cn离我们远去,不再是敲四下一回车就能搜索的了……

兲朝又不让别人更新ICP许可证了……故意为难别人了……我嚓……

http://g.cn

http://www.google.cn

http://www.google.cn/webhp?source=g_cn

http://www.google.cn/landing/cnexp/indexd.html

以上网址皆不可用了……全成了图片……

大意是说,上面不喜欢自动跳转到google.com.hk,不让更新ICP许可证(6月30日到期)。所以google决定新开一个页面http://www.google.cn/landing/cnexp/indexd.html 来让用户自行点击跳转。

An update on ChinaThe Official Google Blog 作者:A Googler有 1 人喜欢此条目

Eversince we launched Google.cn, our search engine for mainland Chineseusers, we have done our best to increase access to information whileabiding by Chinese law. This has not always been an easy balance tostrike, especially since our January announcement that we were nolonger willing to censor results on Google.cn.

We currently automatically redirect everyone using Google.cn to Google.com.hk,our Hong Kong search engine. This redirect, which offers unfilteredsearch in simplified Chinese, has been working well for our users andfor Google. However, it’s clear from conversations we have had withChinese government officials that they find the redirectunacceptable—and that if we continue redirecting users our InternetContent Provider license will not be renewed (it’s up for renewal onJune 30). Without an ICP license, we can’t operate a commercial websitelike Google.cn—so Google would effectively go dark in China.

That’sa prospect dreaded by many of our Chinese users, who have been vocalabout their desire to keep Google.cn alive. We have therefore beenlooking at possible alternatives, and instead of automaticallyredirecting all our users, we have started taking a small percentage ofthem to a landing page on Google.cn that links to Google.com.hk—whereusers can conduct web search or continue to use Google.cn services likemusic and text translate, which we can provide locally withoutfiltering. This approach ensures we stay true to our commitment not tocensor our results on Google.cn and gives users access to all of ourservices from one page.

Over the next few days we’ll end theredirect entirely, taking all our Chinese users to our new landingpage—and today we re-submitted our ICP license renewal applicationbased on this approach.

As a company we aspire to makeinformation available to users everywhere, including China. It’s why wehave worked so hard to keep Google.cn alive, as well as to continue ourresearch and development work in China. This new approach is consistentwith our commitment not to self censor and, we believe, with local law.We are therefore hopeful that our license will be renewed on this basisso we can continue to offer our Chinese users services via Google.cn.

Posted by David Drummond, SVP, Corporate Development and Chief Legal Officer

网易科技讯 10月29日消息,今日下午,谷歌宣布正式推出最简网址G.cn。

谷歌指出,发布G.cn域名更多是为了提升中国用户的体验,因为不少谷歌的用户没法正确的拼写”google”。谷歌认为,那些对英语、对谷歌不那么熟悉的用户,非得 Google 这六个字母想记清楚打正确是不够”贴心。

谷歌称G.cn是为中国用户量身打造的谷歌捷径,是为了减少中国用户输入麻烦而为大家特别定制的”快捷键”。

Google.cn是谷歌中国的标准域名,源于谷歌国际域名拼写标准,代表了谷歌的品牌。而 G.cn 其它的 URL 包括 Guge.cn/Guge.com和 G.cn 都会定向到 Google.cn。

Tags: , , ,
2 Comments »

解决域控制器证书自动注册失败的问题

解决域控制器证书自动注册失败的问题

事件类型: 错误
事件来源: AutoEnrollment
事件种类: 无
事件 ID: 15
日期: 2010-6-18
事件: 16:17:47
用户: N/A
计算机: HACK38描述:
本地系统 的自动证书注册联系 Active Directory (0x8007054b) 失败。 指定的域不存在,或无法联系。
将不会执行注册。

解决方案:(在服务器上面)
1.单击“开始”,单击“运行”,键入 gpedit.msc,然后按 Enter 键。 (这步骤或是组策略管理里面的好多个策略)
2. 在左窗格中,展开“计算机配置”,展开“Windows 设置”,展开“安全设置”,然后展开“公钥策略”。
3. 在右窗格中,双击“自动注册设置”。
4. 单击“不要自动注册证书”。
5. 单击“确定”。
6. 重复第 2 到第 5 步,但是在第 2 步中,展开“用户配置”,展开“Windows 设置”,展开“安全设置”,然后展开“公钥策略”。
7. 关闭“组策略”窗口
另外你检查一下你的TCP/IP属性里面的首选DNS是不是设置正确的DNS服务器
(最好是设置固定的IP和DNS地址,本人就是这么解决的,不知道算不算解决了)

Tags: ,
No Comments »

Internet Explorer 只剩下创建快捷方式,注册表权限问题

只剩下“创建快捷方式”,发现是注册表权限问题:
下列项:
HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}

反思一下,意思就是说没有权限是上不了网的……
这个小限制也不错。。。。
要会FTP下载别的浏览器也行。。。哈哈哈哈。。。。

Tags: , , ,
No Comments »