首页 > 代码库 > 解决trados2011的license错误的方法

解决trados2011的license错误的方法

      trados 2011 使用的是Nalpeiron来进行license的管理,Nalpeiron将它的数据保存在文件系统外,一般在track 0的63 sector。使用磁盘工具将61--63sector清空即可。


解决方法如下:


Well, it‘s enough to:
- stop the Nalpeiron services;
- wipe out the track 0 except the MBR (in fact, only the sector(s) starting with FFC99A3B hex value, usually 60-63 physical), you should use a decent Hex disc editor;
- wipe out the Nalpeiron related ADSs in the Windows folder (e.g. google for ASDSpy);
- wipe out the Nalpeiron related registry entries (easy, just search for Nalpeiron in regedit);
- reboot.
Done.


   


      You need some MS utilities you can redistribute i.e.:
Streams
http://technet.microsoft.com/en-us/sysinternals/bb897440
Sector Inspector
http://www.microsoft.com/en-us/download/details.aspx?id=19470

cmd脚本如下:


# begin

md C:\KillNal
cd C:\KillNal
# sets the directory for the script.
# Of course, you can put a more neutral name icon_smile.gif

net stop nlssrv32.exe /y
net stop nalserv.exe /y
# stops Nalpeiron sevices

streams.exe /accepteula
streams.exe -d "C:\Windows"
# cleans the alternative data streams from Window directory
# (assuming it‘s installed in the default location, you can also use the corresponding variable)

fsutil file createnew "empty.bin" 512
# creates an empty sector content. 
secinspect.exe -restore \\.\PHYSICALDRIVE0 "empty.bin" 63 confirm
# writes this empty sector content in the sector 63
secinspect.exe -restore \\.\PHYSICALDRIVE0 "empty.bin" 62 confirm
# writes this empty sector content in the sector 62
secinspect.exe -restore \\.\PHYSICALDRIVE0 "empty.bin" 61 confirm
# writes this empty sector content in the sector 61
# etc., let‘s say, up to 33 (these sectors normally should be empty but nobody knows...)
# For some machines e.g. docked notebooks the system drive may be \\.\PHYSICALDRIVE1
# etc.

net start nlssrv32.exe /y
net start nalserv.exe /y
# starts Nalpeiron sevices

# end

It should reset the Nalpeiron core data.
Of course, it also destroys all the existing licenses handled by Nalpeiron, so beware.

ATTENTION!!!
It is not a working script (I didn‘t test it) but the core part of the script should look like that.
The script should also contain the segment content verification i.e. the overwritten segment should start with FFC99A3B (Hex), otherwise the disk logical structure may be damaged and your Windows may become unusable.


You can test it now and publish in your KB.
Don‘t forget to thank me for inspiration icon_smile.gif

ATTENTION!!!
If you don‘t understand what‘s the script exactly does, don‘t run it.
I‘m not responsible if you don‘t know what you‘re doing.
If you damage your machine, don‘t ask my help.

本文出自 “备忘录” 博客,请务必保留此出处http://flybozhou.blog.51cto.com/818675/1549888

解决trados2011的license错误的方法