Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

目录重定向C:\Windows\System32\LogFiles 失败。 #13

Open
sagasm opened this issue Sep 23, 2023 · 4 comments
Open

目录重定向C:\Windows\System32\LogFiles 失败。 #13

sagasm opened this issue Sep 23, 2023 · 4 comments

Comments

@sagasm
Copy link

sagasm commented Sep 23, 2023

  1. 用imdisk建ramdisk r: 。
  2. 目录重定向C:\Windows\System32\winevt\Logs到R:\LogFiles\logs成功。
  3. 目录重定向C:\Windows\System32\LogFiles到R:\LogFiles后,发现windows日志文件没有写到R:\LogFiles目录下。
@fanxiushu
Copy link
Owner

fanxiushu commented Sep 23, 2023

我刚试了一下,可以成功的。
设置好之后,重启一下系统,就能看到LogFiles里边的日志文件全部重定向到别的地方了。
之所以需要重启,因为早在系统启动阶段,这些日志应该就被打开了。
但是强烈建议不要这么做。
windows目录是系统目录,对里边的任何不慎重操作,都可能造成系统挂掉,
xFsRedir软件在界面上已经明确申明了,不建议重定向系统目录,以及一些特殊目录。

@sagasm
Copy link
Author

sagasm commented Sep 23, 2023

请问您那个LogFiles是重定向的目标目录是在ramdisk么,是否是因为访问权限的问题?我imdisk的目录结构是从本地目录d:\D:\imdiskImg加载的,发现d:\D:\imdiskImg下设置的目录权限和ramdisk中的目录权限不一样。

@fanxiushu
Copy link
Owner

不是。xfsredir也提供了内存磁盘,可以试试。

@sagasm
Copy link
Author

sagasm commented Sep 23, 2023

知道了,我用imdisk因为它大小自动调整,不会浪费内存。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants