标签:
杂谈 |
分类: 工作 |
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
SID shows in Localgroup member for AD groups
Issue:
At Member server, localgroup members shows SID for domain accounts.
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.
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/
lg \\ServerName\administrators
http://www.joeware.net/freetools/tools/lg/
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.
-----------------------------------------------------