Previous Thread:   Registry entry. net bios group, required to access external USB HD

10/14/2005 9:52:56 AM    Where in Regedit?
Where in  regedit can find out if a users profile is local or roaming.  
  
Thanks



10/14/2005 12:12:49 PM    Re: Where in Regedit?
On Fri, 14 Oct 2005 09:52:56 +0100, "Nick" <Nick@nospam.com> wrote:  
  
This is not stored in the registry. It is in AD.  
  
On way is to:  
  
set RMT=N  
  
for /f "Tokens=*" %%a in ('net user The_sAMAccountName /domain^|find /i "User profile"^|find "\\"') do set RMT=Y  
  
@echo %RMT%  
  
You could use Adfind.exe freeware (tip 5898 ยป Freeware ADFind.  in the 'Tips & Tricks' at http://www.jsifaq.com)  
  
set RMT=N  
  
for /f "Tokens=*" %%a in ('adfind -default -nodn -nolabel -f "&(objectcategory=person)(sAMAccountName=The_sAMAccountName)(profilePath=\\*)" profilePath^|find "\\"') do set RTM=Y  
  
@echo %RMT%  
  
Jerold Schulman  
  
Windows Server MVP  
  
JSI, Inc.  
  
http://www.jsiinc.com  
  
http://www.jsifaq.com

10/14/2005 4:06:25 PM    Re: Where in Regedit?
In microsoft.public.win2000.registry Nick wrote:  
  
Locally,  System Properties, User Profiles (Type column).