Hello I have the same concern. I hope a Microsoft Windows 7 guro will asnwer my concern. In Windows XP. If you make a System State backup, registry files. Update news for GoodSyncs Windows file sync and backup software. Windows 7 starting with a temporary profile. I work for a huge internet based corporation, and all work in done on a domain. We started having the same problem too. Here is the fixed that desktop engineering released. Corrected Steve Nice script, just a couple notes. 1. Ctemp is used by many instead of CWindowsTemp. 2. You are not deleting temporary Internet Files. You can capture the system environment variables with a vbs script, but you need a bat script to actually change the current environment variables, so this is a. It is similar to some posts above, but does differ. Read carefully, it has worked for all of us so far. Ill post exactly how they posted it. Team,Now that we are getting some Windows 7 computers in the environment, Im sure you will see new issues that we didnt see with Windows XP. When you are faced with a new issue, lets capture them and make sure we are all aware. One that. the team here is seeing that is deploying Windows 7 is getting the temp profile when logging on. This is a result of deleting the user profile using Explorer instead of the proper way. This worked with Windows XP but since Windows Vista, you are required to. Microsoft way. Now if you accidentally deleted the profile through Explorer, there is an associated registry key that was not deleted which is handled by the above steps which is why you should do it that way. In the case where you are getting the temp profile logon. Locate the following key folder HKEYLOCALMACHINESOFTWAREMicrosoftWindows NTCurrent. VersionProfile. List. There will be the standard keys of S 1 5 1. S 1 5 1. 9 and S 1 5 2. Look in each of those for the one with the specific user profile path i. C Usersjdoe and you would delete that key folder so if it is S 1 5 2. Below is an example of a real key and all the values within it. This is the local administrator which should be associated with the key S 1 5 2. Default REGSZ. Flags REGDWORD. Profile. Image. Path REGEXPANDSZ C UsersAdministrator. Profile. Load. Time. High REGDWORD 0x. Profile. Load. Time. Low REGDWORD 0x. Ref. Count REGDWORD. Sid. REGBINARY 0. State REGDWORD. Youll see that the Profile. Image. Path points to C UsersAdministrator so this is the correct key to delete if the local administrator was the one getting the temp profile when logging on. Hope this Helps. Delete temp files from all user profiles. I got a great question from Brian this week Is there a quick way to delete the temp files for all user profiles We have some PCs that many users logon to and over a period of time there can be many thousands of temp files in each users profile. A simple way to do this is to write a script that will go through all the profiles. Where do we startWell, first we want to get a list of all folders under C Documents and SettingsThis will give us a list of the root user profile folders. From there, we need to enumerate all the files and folders under this path of each profile C Documents and SettingsusernameApp. DataLocalTempNow that we have that list of files, we can simply delete them to clear out all the temp files. Sounds easy, but it does require a little bit of work in VB Script. The script I built follows what I said, but it also automatically detects C Users used under Windows 8, and 2. To delete temp files in all profiles you need to run it as an administrator, like this from the command line cscript. Careful, since once you start the script it will quickly delete those temp files You might want to schedule this one as a task that runs on a Sunday night. You can get a copy of it here deleteprofiletemp. Remember to rename it to. One more thingSubscribe to my newsletter and get 1. Click Here to get your free tools.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |