WINDOWS 7 手动删除用户配置文件后,只能使用临时配置文件的问题
- font size decrease font size increase font size
- Print Email
在XP时代,如果将用户的配置文件删除了,用户在登录就会自动重新创建一个配置文件
但在WINDOWS 7不行,删除用户配置文件后,不会自动创建用户的配置文件,下次登录会一直使用临时配置文件
原因:
如果使用命令提示符或 Windows 资源管理器手动删除用户配置文件,则可能出现此问题。手动删除的配置文件不会删除注册表中配置文件列表中的安全标识符 (SID)。
警告:Microsoft 建议不要将此方法作为删除计算机中用户配置文件的标准方法。记录和支持的方法是使用系统属性中“高级系统设置”的“用户配置文件”设置。对于应用程序来说,使用“DeleteProfile”API 即可提供此功能。
如果存在 SID,则 Windows 将通过使用指向到不存在的路径 ProfileImagePath 加载配置文件。因此,无法加载该配置文件。
给出了解决办法:
1,下载微软提供的修复工具 下载 运行修复
或者
1,在系统属性中找到要删除的用户,删除用户配置文件(如果存在)
2,HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
删除相应的 SID,然后单击“删除”。
微软官方KB
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0005 | 412952 | {main}( ) | .../index.php:0 |
2 | 0.0649 | 4746176 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0649 | 4746176 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.2288 | 12520376 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.2293 | 12544720 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.2299 | 12600048 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.2301 | 12628872 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.2364 | 13066712 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.2364 | 13066712 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.2440 | 13794960 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.2440 | 13794960 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.2471 | 14194128 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.2485 | 14214496 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.2985 | 17178288 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.2985 | 17178288 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.2999 | 17359184 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in Windows 7
- Read 3155 times
( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0005 | 412952 | {main}( ) | .../index.php:0 |
2 | 0.0649 | 4746176 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0649 | 4746176 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.2288 | 12520376 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.2293 | 12544720 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.2299 | 12600048 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.2301 | 12628872 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.2364 | 13066712 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.2364 | 13066712 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.2440 | 13794960 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.2440 | 13794960 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.2471 | 14194128 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.2485 | 14214496 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.2985 | 17178288 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.2985 | 17178288 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.2999 | 17359184 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |