WIN7小工具天气预报不能用的解决方法
@=“管理员取得所有权”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@=“cmd.exe /c takeown /f \”%1\“ & icacls \”%1\“ /grant administrators:F”
“IsolatedCommand”=“cmd.exe /c takeown /f \”%1\“ & icacls \”%1\“ /grant administrators:F”
[HKEY_CLASSES_ROOT\exefile\shell\runas2]
@=“管理员取得所有权”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOT\exefile\shell\runas2\command]
@=“cmd.exe /c takeown /f \”%1\“ & icacls \”%1\“ /grant administrators:F”
“IsolatedCommand”=“cmd.exe /c takeown /f \”%1\“ & icacls \”%1\“ /grant administrators:F”
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@=“管理员取得所有权”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@=“cmd.exe /c takeown /f \”%1\“ /r /d y & icacls \”%1\“ /grant administrators:F /t”
“IsolatedCommand”=“cmd.exe /c takeown /f \”%1\“ /r /d y & icacls \”%1\“ /grant administrators:F /t”
代码在这里已经结束!!!
第二步,需要重启电脑,以上内容来自于网络,但是网络中都没有提到过重启这二个字,弄得我想了很久才明白。
进入WIN7的小工具文件夹,C:\Program Files\Windows Sidebar\Gadgets,在Weather.Gadget文件夹上点右键,再点“Get admin right”,翻译成中文的意思就是“获取管理员的权限”
第三步,在网下下载一个WIN7天气预报的中文插件,解压后,一直进入文件夹,应该是第三层了,看到二个文件,其中一个名字叫做安装的,双击运行。
第四步,启用天气预报小工具,它已经可以使用了,但有可能不是你想要看的地名,在选项里可以进行设置,但是一定要用英文搜索,这里不可以用中文来查找地名。



