加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

Change IIS Root directory and SID issues between local/AD Groups

(2010-08-12 12:44:01)
标签:

杂谈

分类: 工作
Change IIS Root directory
Stopped IISADMIN and all associated services.
Using an editor like editplus I opened the metabase.xml file located in system32/inetsrv
relaced c:\inetpub with e:\inetpub
Saved the file as metabase.new.xml (would not let me save over it even though I had told the server to let me edit the file)
Renamed existing metabase.xml to metabase.old.xml
Ran regedit and did a search for c:\inetpub and replaced the c: with e: in all data and key names where it occured
renamed metadata.new.xml to metadata.xml
Restarted iisadmin and all services shut down with it FTP SMTP WWW HTTP SSL ect
 All worked fine.. did a reboot and verified all worked correctly... this was done on a new install with no sites other then default and frontpage extensions not on the root. would be a bit harder with a bunch of sites.
SID shows in Localgroup member for AD groups
Issue:
At Member server, localgroup members shows SID for domain accounts.
Causing:
1 New installed application was pending for a reboot, which clear the registry. Reboot the server should fix the problem.
2 The member server has duplicate SID. delete it from domain and run sysprep, rejoin it to the domain.
Tools used:
lg \\ServerName\administrators 
 USER : ServerName\Administrator
 DELETED : S-1-5-21-3188201308-2066837142-455260579-512
 DELETED : S-1-5-21-3188201308-2066837142-455260579-519
 DELETED : S-1-5-21-3188201308-2066837142-455260579-1106
 DELETED : S-1-5-21-3188201308-2066837142-455260579-1109
 5 members listed
 The command completed successfully.
http://www.joeware.net/freetools/tools/lg/
 C:\nltest /sc_verify:DomainName
Flags: b0 HAS_IP HAS_TIMESERV
Trusted DC Name \\DC01.Domain.Name
Trusted DC Connection Status Status = 0 0x0 NERR_Success
Trust Verification Status = 0 0x0 NERR_Success
The command completed successfully
Also can be use for "nltest /sc_query:DomainName" and "nltest /sc_reset:DomainName"
C:\net localgroup testlocalgroup
 Alias name testlocalgroup
 Comment testlocalgroup
 Members
 -----------------------------------------------------
 administrator
 The command completed successfully.
 -----------------------------------------------------

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有