为什么卸载了一个手机自带软件如何卸载,电脑内存变小了

为什么经常安装卸载软件,电脑内存就越来越小,清理了残留也和没装之前不一样_百度知道
为什么经常安装卸载软件,电脑内存就越来越小,清理了残留也和没装之前不一样
答题抽奖
首次认真答题后
即可获得3次抽奖机会,100%中奖。
天堂的小青蛙go知道合伙人
来自电脑网络类芝麻团
天堂的小青蛙go
采纳数:386
获赞数:2239
擅长:暂未定制
参与团队:
电脑资源占用越来越多的,内存占用当然越来越小了!
决断如流知道合伙人
来自电脑网络类芝麻团
采纳数:7500
获赞数:6036
参与团队:
建议你使用360安全卫士功能大全里的C盘搬家功能把C盘的软件搬移到其它盘,这样就可以空出一些C盘空间来。
为你推荐:
其他类似问题
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。win7系统下如何删除隐藏的软件释放电脑内存-系统城·电脑系统下载之家
当前位置: &
& win7系统下如何删除隐藏的软件释放电脑内存
win7系统下如何删除隐藏的软件释放电脑内存
&&&& 经常使用win7系统的用户都知道,在win7系统里面,总会存在一些占用内存的隐藏软件。这些软件正常情况下我们是看不见的,需要利用到一些工具才能发现。今天小编就教大家怎么删除占内存的隐藏软件,其实过程十分简单。推荐:
  一、鼠标双击win7桌面“计算机”图标,其次大家在系统弹出的计算机图标上依次展开“工具”-“文件夹选项”。
  二、紧跟着我们在“文件夹选项”窗口上,把界面切换至“查看”选项卡中,并且大家在“高级设置”项里面找到隐藏文件和文件夹选项,勾选“显示隐藏的文件、文件夹和驱动器”。
  三、紧接着大家打开C:\Program Files目录,在该文件夹下,使用鼠标右键选择“排序方式”,修改日期排序,并且在我们找到隐藏的软件后,把它删除即可。
我要分享:
win7系统下如何删除隐藏的软件释放电脑内存相关教程
热&门推&荐
&热门教程推荐
12345678910
&热门系统专题
&Win7系统推荐
&|&&|&本站发布的系统与软件仅为个人学习测试使用,请在下载后24小时内删除,不得用于任何商业用途,否则后果自负,请支持购买微软正版软件!
如侵犯到您的权益,请及时通知我们,我们会及时处理。
Copyright @ 2011 系统城[原创]揪出驱动卸载而没有释放的内存
因为以前在工程中解决过,在实际中经常发生,所以有此文,以备终结和以后使用.
先来一个示例的工程,代码如下:
#include &ntifs.h&
#define TAG 'tset' //本驱动在内存中的标志,即test.
DRIVER_UNLOAD U
VOID Unload(__in PDRIVER_OBJECT DriverObject)
#pragma INITCODE
DRIVER_INITIALIZE DriverE
NTSTATUS DriverEntry(__in struct _DRIVER_OBJECT * DriverObject, __in PUNICODE_STRING RegistryPath)
& & NTSTATUS status = STATUS_SUCCESS ;
& & PVOID p = 0;
& & KdBreakPoint();// == DbgBreakPoint()& && && &
& & p = ExAllocatePoolWithTag(NonPagedPool, 9, TAG);
& & if (p == NULL) {
& && &&&status = STATUS_UNSUCCESSFUL;
& & DriverObject-&DriverUnload = U& &
上面的代码很简单,相信大家都能看出来,如果加载成功将会出现本文的话题.
可是实际上的工程很复杂,可能有几十个文件,每个文件几千行代码.
现在要做的是:即使有代码,先无视代码,或者把代码看的很复杂.
1.加载驱动.
2.启动和配置驱动程序验证程序管理器,这一步一定要配置池跟踪选项,
&&详细的可以参考:http://bbs.pediy.com/showthread.php?t=156804
3.重启计算机,重启之前可以查看一下自己刚才的配置.
4.再次加载驱动.
5.如果加载成功,就开始卸载.这时最好双击调试链接上.
&&卸载完毕,即Unload函数的代码运行完毕之后,出现蓝屏.以下分析估计也可以适用于内存转储文件.
&&蓝屏内容如下:
*** Fatal System Error: 0x
& && && && && && && &&&(0x0062,0xFFFFFA,0xFFFFFA,0x0001)
Break instruction exception - code
(first chance)
A fatal system error has occurred.
Bugcheck callbacks have not been invoked.
A fatal system error has occurred.
Connected to Windows 7 7601 x64 target at (Sat Jul 13 10:17:30.820 2013 (UTC + 8:00)), ptr64 TRUE
Loading Kernel Symbols
...............................................................
...................................
Press ctrl-c (cdb, kd, ntsd) or ctrl-break (windbg) to abort symbol loads that take too long.
Run !sym noisy before .reload to track down problems loading symbols.
.............................
Loading User Symbols
.................................
Loading unloaded module list
.....Unable to enumerate user-mode unloaded modules, Win32 error 0n30
*******************************************************************************
*& && && && && && && && && && && && && && && && && && && && && && && && && &&&*
*& && && && && && && && &Bugcheck Analysis& && && && && && && && && && && && &*
*& && && && && && && && && && && && && && && && && && && && && && && && && &&&*
*******************************************************************************
Use !analyze -v to get detailed debugging information.
BugCheck C4, {62, fffffa, fffffa, 1}
Probably caused by : test.sys
Followup: MachineOwner
nt!DbgBreakPointWithStatus:
fffff800`0167bb90 cc& && && && &&&int& &&&3按照提示运行!analyze -v命令.
0: kd& !analyze -v
*******************************************************************************
*& && && && && && && && && && && && && && && && && && && && && && && && && &&&*
*& && && && && && && && &Bugcheck Analysis& && && && && && && && && && && && &*
*& && && && && && && && && && && && && && && && && && && && && && && && && &&&*
*******************************************************************************
DRIVER_VERIFIER_DETECTED_VIOLATION (c4)
A device driver attempting to corrupt the system has been caught.&&This is
because the driver was specified in the registry as being suspect (by the
administrator) and the kernel has enabled substantial checking of this driver.
If the driver attempts to corrupt the system, bugchecks 0xC4, 0xC1 and 0xA will
be among the most commonly seen crashes.
Arguments:
Arg1: 0062, A driver has forgotten to free its pool allocations prior to unloading.
Arg2: fffffa, name of the driver having the issue.
Arg3: fffffa, verifier internal structure with driver information.
Arg4: 0001, total # of (paged+nonpaged) allocations that weren't freed.
& & & & Type !verifier 3 drivername.sys for info on the allocations
& & & & that were leaked that caused the bugcheck.
Debugging Details:
------------------BUGCHECK_STR:&&0xc4_62
IMAGE_NAME:&&test.sys
DEBUG_FLR_IMAGE_TIMESTAMP:&&51e0b488
MODULE_NAME: test
FAULTING_MODULE: fffff test
VERIFIER_DRIVER_ENTRY: dt nt!_MI_VERIFIER_DRIVER_ENTRY fffffa
Symbol nt!_MI_VERIFIER_DRIVER_ENTRY not found.
DEFAULT_BUCKET_ID:&&WIN7_DRIVER_FAULT
PROCESS_NAME:&&services.exe
CURRENT_IRQL:&&2
LAST_CONTROL_TRANSFER:&&from fffff to fffff
STACK_TEXT:&&
fffff880`03f31c98 fffff800` : 00062 fffffa80`054d28f0 00065 fffff800`016beb78 : nt!DbgBreakPointWithStatus
fffff880`03f31ca0 fffff800`0176effe : fffffa80`00 fffff800`016bf3d0 000c4 : nt!KiBugCheckDebugBreak+0x12
fffff880`03f31d00 fffff800`01683e44 : 00000 fffff880`04c00`00 : nt!KeBugCheck2+0x71e
fffff880`03f323d0 fffff800`01b0c3dc : 000c4 00062 fffffa80`059c5c88 fffffa80`04f5a010 : nt!KeBugCheckEx+0x104
fffff880`03f32410 fffff800`01b1b54a : 00` fffff880`04c00` : nt!VerifierBugCheckIfAppropriate+0x3c
fffff880`03f32450 fffff800`0176fa70 : 00` fffff800`017f8e80 00000 : nt!VfPoolCheckForLeaks+0x4a
fffff880`03f32490 fffff800`01a352de : fffffa80`059c5bd0 00`00 : nt!VfTargetDriversRemove+0x160
fffff880`03f32530 fffff800`01a59d33 : 00`000e0`01 : nt!VfDriverUnloadImage+0x2e
fffff880`03f32560 fffff800`01a5a1ad : 00000 fffffa80`059c5bd0 00` : nt!MiUnloadSystemImage+0x283
fffff880`03f325d0 fffff800`01afb6e1 : 00000 fffff880`03f328f0 fffffa80`03cfb180 00018 : nt!MmUnloadSystemImage+0x4d
fffff880`03f32610 fffff800` : 00000 fffff880`03f328f0 fffffa80`03cfb180 fffff880`03f328f0 : nt!IopDeleteDriver+0x41
fffff880`03f32640 fffff800`01a6ba3e : fffff880`03f328f0 00`c0000001 fffff800` : nt!ObfDereferenceObject+0xd4
fffff880`03f326a0 fffff800`01682fd3 : fffffa80`054d28f0 fffff880`03f328c0 00001 fffff980` : nt!IopUnloadDriver+0x45c
fffff880`03f32870 fffff800` : fffff800`01a6b737 4e820 00` : nt!KiSystemServiceCopyEnd+0x13
fffff880`03f32a08 fffff800`01a6b737 : 4e820 00`f20 : nt!KiServiceLinkage
fffff880`03f32a10 fffff800`01682fd3 : fffffa80`054d28f0 fffff880`03f32c60 00` : nt!IopUnloadDriver+0x155
fffff880`03f32be0 a2b8a : `ffb00`60 00334 : nt!KiSystemServiceCopyEnd+0x13
4e7f8 `ffb75879 : 00`34 0000a : ntdll!NtUnloadDriver+0xa
4e800 `ffb7575a : 00`e970 00334 : services!ScUnloadDriver+0xa9
4e840 `ffb6118b : 00`01 40022 : services!ScControlDriver+0x112
4e870 `ffb4907b : 00`0104ede0 fe` : services!ScControlService+0x192
4e940 000007fe`ff5a23d5 : 00`0104edf8 4ef40 000007fe`ff5a2396 : services!RControlService+0x4b
4e9b0 000007fe`ff5969b2 : 4ede0 `ffb00`00000`ffb7ed54 : RPCRT4!Invoke+0x65
4ea10 000007fe`ff59338d : 4f120 00`00 : RPCRT4!NdrStubCall2+0x32a
4f030 000007fe`ff5950f4 : 00`00 ea9c0 : RPCRT4!NdrServerCall2+0x1d
4f060 000007fe`ff594f56 : 00`003e0`90 : RPCRT4!DispatchToStubInCNoAvrf+0x14
4f090 000007fe`ff595679 : fe`ff58a9df 00`003ea870 : RPCRT4!RPC_INTERFACE::DispatchToStubWorker+0x146
4f1b0 000007fe`ff59532d : 69a00 5e8d0 000007fe`ffe920 : RPCRT4!LRPC_SCALL::DispatchRequest+0x149
4f290 000007fe`ff5b2e7f : 00`00 00001 : RPCRT4!LRPC_SCALL::HandleRequest+0x20d
4f3c0 000007fe`ff5b2a35 : `ffb57f48 00`00 : RPCRT4!LRPC_ADDRESS::ProcessIO+0x3bf
4f500 6b68b : 00`00 00000 : RPCRT4!LrpcIoComplete+0xa5
4f590 6feff : 00`ffff 00000 : ntdll!TppAlpcpExecuteCallback+0x26b
4f620 4652d : 00`00 00000 : ntdll!TppWorkerThread+0x3f8
4f920 7c521 : 00`00 00000 : kernel32!BaseThreadInitThunk+0xd
4f950 00000 : 00`00 00000 : ntdll!RtlUserThreadStart+0x1dSTACK_COMMAND:&&kb
FOLLOWUP_NAME:&&MachineOwner
FAILURE_BUCKET_ID:&&X64_0xc4_62_VRF_LEAKED_POOL_IMAGE_test.sys
BUCKET_ID:&&X64_0xc4_62_VRF_LEAKED_POOL_IMAGE_test.sys
Followup: MachineOwner
Arg2: fffffa, name of the driver having the issue.
输入:db fffffa
0: kd& db fffffa
fffffa80`059c5c88&&74 00 65 00 73 00 74 00-2e 00 73 00 79 00 73 00&&t.e.s.t...s.y.s.
fffffa80`059c5c98&&00 00 00 00 00 00 00 00-0e 00 36 02 43 63 56 70&&..........6.CcVp
fffffa80`059c5ca8&&60 5b 9c 05 80 fa ff ff-a0 b2 cb 03 80 fa ff ff&&`[..............
fffffa80`059c5cb8&&00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00&&................
fffffa80`059c5cc8&&00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00&&................
fffffa80`059c5cd8&&00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00&&................
fffffa80`059c5ce8&&00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00&&................
fffffa80`059c5cf8&&00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00&&................
再看:Arg3: fffffa, verifier internal structure with driver information.
估计这是一个结构,啥结构暂时没有深入查看.
不过windbg帮助文档说这个参数:Reserved.
再看:Arg4: 0001, total # of (paged+nonpaged) allocations that weren't freed.
这个是申请而没有释放的次数(包含分页的和不分页的),不是内存大小.
接下来就是乖乖的运行:
Type !verifier 3 drivername.sys for info on the allocations
& & & & that were leaked that caused the bugcheck.
0: kd& !verifier 3 test.sys
Verify Level fbf ... enabled options are:
& & & & Special pool
& & & & Special irql
& & & & Inject random low-resource API failures
& & & & All pool allocations checked on unload
& & & & Io subsystem checking enabled
& & & & Deadlock detection enabled
& & & & DMA checking enabled
& & & & Security checks enabled
& & & & Force pending I/O requests
& & & & IRP Logging
& & & & Miscellaneous checks enabled
Summary of All Verifier Statistics
RaiseIrqls& && && && && && && && && &&&0x0
AcquireSpinLocks& && && && && && && &&&0x0
Synch Executions& && && && && && && &&&0x0
Trims& && && && && && && && && && && & 0x24d9
Pool Allocations Attempted& && && && & 0x2757b
Pool Allocations Succeeded& && && && & 0x2757b
Pool Allocations Succeeded SpecialPool 0x2757b
Pool Allocations With NO TAG& && && &&&0x0
Pool Allocations Failed& && && && && & 0x0
Resource Allocations Failed Deliberately& &0x0
Current paged pool allocations& && && &0x0 for
Peak paged pool allocations& && && && &0x0 for
Current nonpaged pool allocations& && &0x1 for 0000000C bytes
Peak nonpaged pool allocations& && && &0x1 for 0000000C bytes
Driver Verification List
Entry& &&&State& && && &&&NonPagedPool& &PagedPool& &Module
fffffa Loaded& && && &&&0000000c& && & & & test.sys
Current Pool Allocations&&& &
Current Pool Bytes& && &&&0000000c& &
Peak Pool Allocations& &&&& &
Peak Pool Bytes& && && &&&0000000c& &
PoolAddress&&SizeInBytes& & Tag& && & CallersAddress
fffff9800933eff0& &&&0x0000000c& &&&test& && &fffff可以看到:
Peak Pool Allocations& &&&& &
Peak Pool Bytes& && && &&&0000000c& &
PoolAddress&&SizeInBytes& & Tag& && & CallersAddress
fffff9800933eff0& &&&0x0000000c& &&&test& && &fffff
关于内存标志的提示:
有的标志本驱动没有定义,却出现在本驱动中,这些标志是系统定义的,使用不当造成的.
例如:RtlConvertSidToUnicodeString,RtlAnsiStringToUnicodeString,RtlUnicodeStringToAnsiString等.
不过这些内存的标记,我忘记了.
这里只做非分页的内存泄漏,没有做分页内存的演示.
有一次没有释放,申请的内存的大小是12.
0: kd& db fffff9800933eff0
fffff980`0933eff0&&d7 d7 d7 d7 d7 d7 d7 d7-d7 d7 d7 d7 d7 d7 d7 d7&&................
fffff980`&&?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??&&????????????????
fffff980`&&?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??&&????????????????
fffff980`&&?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??&&????????????????
fffff980`&&?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??&&????????????????
fffff980`&&?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??&&????????????????
fffff980`&&?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??&&????????????????
fffff980`&&?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??&&????????????????
好像是16个字节.
0: kd& u fffff
test!DriverEntry+0x33 [e:\driver\test\test.c @ 20]:
fffff880`04c2428& && &mov& &&&qword ptr [rsp+28h],rax
fffff880`04cc242800& & cmp& &&&qword ptr [rsp+28h],0
fffff880`04c& && && && &jne& &&&test!DriverEntry+0x48 (fffff880`04c73058)
fffff880`04c7 mov& &&&dword ptr [rsp+20h],0C0000001h
fffff880`04c2440& && &mov& &&&rax,qword ptr [rsp+40h]
fffff880`04cd1c000000&&lea& &&&rcx,[test!Unload (fffff880`04c73080)]
fffff880`04c68& && &&&mov& &&&qword ptr [rax+68h],rcx
fffff880`04c420& && &&&mov& &&&eax,dword ptr [rsp+20h]
注意这一步要正确的加载符号文件.
就是e:\driver\test\test.c文件的第20行申请的内存没有释放.
至此分析完毕,具体的解决办法我就不说了,相信你是知道的.
总结和心得:
解决问题,需要思路和方法,方法和思路是动脑子想出来的,我无人可问,其次是查询和搜索.
如果没有思路和方法,无头苍蝇的乱转,转了很长时间是没有收获和进展的.
如果你会了,其实这也很简单的.
关于没有源码的驱动卸载后仍在系统中的内存另论.
关于运行过程中的内核的内存泄漏,可以参考:http://bbs.pediy.com/showthread.php?t=154015made by correy
email:kouleguan at hotmail dot com
homepage:http://correy.webs.com
书于匆忙之中,如果不当之处,敬请指出.
支付方式:
最新回复 (4)
不明觉厉,慢慢消化,谢谢楼主
有微软的poolmon,在使用前用global flags 打开 Enable pool tagging。
OSR有个pootag也很好用。
上传的附件:
(289.32kb,40次下载)
也就是verifier+分析蓝屏是吧,感谢分享,马克流明。
这个可以有 mark
1.请先关注公众号。
2.点击菜单"更多"。
3.选择获取下载码。装了一个软件后,把软件又卸载了,但是电脑C盘内存变了,怎么办_百度知道
装了一个软件后,把软件又卸载了,但是电脑C盘内存变了,怎么办
答题抽奖
首次认真答题后
即可获得3次抽奖机会,100%中奖。
龙祥涛0001知道合伙人
龙祥涛0001
采纳数:51
获赞数:45
擅长:暂未定制
内存不会指定的任何一个盘的,你的意思大概是C盘的容量吧?安装软件容量变小,卸载之后容量变大正常,如果卸载之后容量变小了,那么就真的有问题了。
为你推荐:
其他类似问题
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。

我要回帖

更多关于 怎么卸载vivo手机自带软件 的文章

 

随机推荐