Networking Forums

Networking Forums > Computer Networking > Windows Networking > workgroup to domain issue

Reply
Thread Tools Display Modes

workgroup to domain issue

 
 
jrod091884
Guest
Posts: n/a

 
      11-07-2005, 07:21 PM
i have a workgroup of 36 pcs on the network some have very important
information like outlook messages and company files... there arent any
advanced users i want to put every1 in a domain without them noticing any
change and not having to search for files in there pc... or lose any settings
in there programs... can sum1 help... thank you
 
Reply With Quote
 
 
 
 
Wendel Hamilton
Guest
Posts: n/a

 
      11-08-2005, 05:33 AM
Hi,
Prepare the domain controller.
Create the user accounts.
After joining the computer to the domain log on as the user
this will create a new profile. Logoff and logon as administrator.
Change the profile path for the user back to the old one by changing the
registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\ProfileList\{guid}\ProfileImageP ath

If you want to automate that part of it then you could write some scripts to
1. save the path before joining the domain
2. Enable Autoadmin logon as admin.
3. Join the computer to the domain and reboot
4. add user to local machine administrators group or add domain uses and
reboot (you could use group policy to do this)
5. Enable Autoadmin logon as the user and reboot.
6. User gets logged on, enable Autoadmin logon for admin and logout.
7. Restore the users profile path.
8. Disable Autoadmin logon and logout.


"jrod091884" wrote:

> i have a workgroup of 36 pcs on the network some have very important
> information like outlook messages and company files... there arent any
> advanced users i want to put every1 in a domain without them noticing any
> change and not having to search for files in there pc... or lose any settings
> in there programs... can sum1 help... thank you

 
Reply With Quote
 
jrod091884
Guest
Posts: n/a

 
      11-08-2005, 03:23 PM
how would i know what {guid} is the 1 to save if there is more than 1 and
each are labeled with numbers ex: S-1-5-20-...

"Wendel Hamilton" wrote:

> Hi,
> Prepare the domain controller.
> Create the user accounts.
> After joining the computer to the domain log on as the user
> this will create a new profile. Logoff and logon as administrator.
> Change the profile path for the user back to the old one by changing the
> registry key
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> NT\CurrentVersion\ProfileList\{guid}\ProfileImageP ath
>
> If you want to automate that part of it then you could write some scripts to
> 1. save the path before joining the domain
> 2. Enable Autoadmin logon as admin.
> 3. Join the computer to the domain and reboot
> 4. add user to local machine administrators group or add domain uses and
> reboot (you could use group policy to do this)
> 5. Enable Autoadmin logon as the user and reboot.
> 6. User gets logged on, enable Autoadmin logon for admin and logout.
> 7. Restore the users profile path.
> 8. Disable Autoadmin logon and logout.
>
>
> "jrod091884" wrote:
>
> > i have a workgroup of 36 pcs on the network some have very important
> > information like outlook messages and company files... there arent any
> > advanced users i want to put every1 in a domain without them noticing any
> > change and not having to search for files in there pc... or lose any settings
> > in there programs... can sum1 help... thank you

 
Reply With Quote
 
Wendel Hamilton
Guest
Posts: n/a

 
      11-09-2005, 12:17 AM
Hi,
You could check each the value of ProfileImagePath for each Guid for a match
with the current user profile path which is in the environment variable
%UserProfile%
or
The following VBscript returns info about the user including the SID used.
Replace strUsername with the logon name for the user.

' Generated by ScriptomaticV2
On Error Resume Next
strUserName = "Wendel"
Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20

arrComputers = Array(".")
For Each strComputer In arrComputers
WScript.Echo
WScript.Echo "=========================================="
WScript.Echo "Computer: " & strComputer
WScript.Echo "=========================================="

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_UserAccount",
"WQL", _
wbemFlagReturnImmediately +
wbemFlagForwardOnly)

For Each objItem In colItems
if objItem.name = strUserName then
WScript.Echo "AccountType: " & objItem.AccountType
WScript.Echo "Caption: " & objItem.Caption
WScript.Echo "Description: " & objItem.Description
WScript.Echo "Disabled: " & objItem.Disabled
WScript.Echo "Domain: " & objItem.Domain
WScript.Echo "FullName: " & objItem.FullName
WScript.Echo "InstallDate: " & WMIDateStringToDate(objItem.InstallDate)
WScript.Echo "LocalAccount: " & objItem.LocalAccount
WScript.Echo "Lockout: " & objItem.Lockout
WScript.Echo "Name: " & objItem.Name
WScript.Echo "PasswordChangeable: " & objItem.PasswordChangeable
WScript.Echo "PasswordExpires: " & objItem.PasswordExpires
WScript.Echo "PasswordRequired: " & objItem.PasswordRequired
WScript.Echo "SID: " & objItem.SID
WScript.Echo "SIDType: " & objItem.SIDType
WScript.Echo "Status: " & objItem.Status
WScript.Echo
end if
Next
Next


Function WMIDateStringToDate(dtmDate)
WScript.Echo dtm:
WMIDateStringToDate = CDate(Mid(dtmDate, 5, 2) & "/" & _
Mid(dtmDate, 7, 2) & "/" & Left(dtmDate, 4) _
& " " & Mid (dtmDate, 9, 2) & ":" & Mid(dtmDate, 11, 2) & ":" &
Mid(dtmDate,13, 2))
End Function

"jrod091884" wrote:

> how would i know what {guid} is the 1 to save if there is more than 1 and
> each are labeled with numbers ex: S-1-5-20-...
>
> "Wendel Hamilton" wrote:
>
> > Hi,
> > Prepare the domain controller.
> > Create the user accounts.
> > After joining the computer to the domain log on as the user
> > this will create a new profile. Logoff and logon as administrator.
> > Change the profile path for the user back to the old one by changing the
> > registry key
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> > NT\CurrentVersion\ProfileList\{guid}\ProfileImageP ath
> >
> > If you want to automate that part of it then you could write some scripts to
> > 1. save the path before joining the domain
> > 2. Enable Autoadmin logon as admin.
> > 3. Join the computer to the domain and reboot
> > 4. add user to local machine administrators group or add domain uses and
> > reboot (you could use group policy to do this)
> > 5. Enable Autoadmin logon as the user and reboot.
> > 6. User gets logged on, enable Autoadmin logon for admin and logout.
> > 7. Restore the users profile path.
> > 8. Disable Autoadmin logon and logout.
> >
> >
> > "jrod091884" wrote:
> >
> > > i have a workgroup of 36 pcs on the network some have very important
> > > information like outlook messages and company files... there arent any
> > > advanced users i want to put every1 in a domain without them noticing any
> > > change and not having to search for files in there pc... or lose any settings
> > > in there programs... can sum1 help... thank you

 
Reply With Quote
 
jrod091884
Guest
Posts: n/a

 
      11-09-2005, 03:18 PM
ok so...all i have to do i hit modify copy the old path, exit log in as the
admin modify there new user path to there old path and thats it? would there
new path be in the same location even though its is a domain user? and if
this is correct is there a way to get this done automatically without scripts
cuz i dont know anything about scripts... and i cant interupt every1s work to
do this.

"Wendel Hamilton" wrote:

> Hi,
> You could check each the value of ProfileImagePath for each Guid for a match
> with the current user profile path which is in the environment variable
> %UserProfile%
> or
> The following VBscript returns info about the user including the SID used.
> Replace strUsername with the logon name for the user.
>
> ' Generated by ScriptomaticV2
> On Error Resume Next
> strUserName = "Wendel"
> Const wbemFlagReturnImmediately = &h10
> Const wbemFlagForwardOnly = &h20
>
> arrComputers = Array(".")
> For Each strComputer In arrComputers
> WScript.Echo
> WScript.Echo "=========================================="
> WScript.Echo "Computer: " & strComputer
> WScript.Echo "=========================================="
>
> Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
> Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_UserAccount",
> "WQL", _
> wbemFlagReturnImmediately +
> wbemFlagForwardOnly)
>
> For Each objItem In colItems
> if objItem.name = strUserName then
> WScript.Echo "AccountType: " & objItem.AccountType
> WScript.Echo "Caption: " & objItem.Caption
> WScript.Echo "Description: " & objItem.Description
> WScript.Echo "Disabled: " & objItem.Disabled
> WScript.Echo "Domain: " & objItem.Domain
> WScript.Echo "FullName: " & objItem.FullName
> WScript.Echo "InstallDate: " & WMIDateStringToDate(objItem.InstallDate)
> WScript.Echo "LocalAccount: " & objItem.LocalAccount
> WScript.Echo "Lockout: " & objItem.Lockout
> WScript.Echo "Name: " & objItem.Name
> WScript.Echo "PasswordChangeable: " & objItem.PasswordChangeable
> WScript.Echo "PasswordExpires: " & objItem.PasswordExpires
> WScript.Echo "PasswordRequired: " & objItem.PasswordRequired
> WScript.Echo "SID: " & objItem.SID
> WScript.Echo "SIDType: " & objItem.SIDType
> WScript.Echo "Status: " & objItem.Status
> WScript.Echo
> end if
> Next
> Next
>
>
> Function WMIDateStringToDate(dtmDate)
> WScript.Echo dtm:
> WMIDateStringToDate = CDate(Mid(dtmDate, 5, 2) & "/" & _
> Mid(dtmDate, 7, 2) & "/" & Left(dtmDate, 4) _
> & " " & Mid (dtmDate, 9, 2) & ":" & Mid(dtmDate, 11, 2) & ":" &
> Mid(dtmDate,13, 2))
> End Function
>
> "jrod091884" wrote:
>
> > how would i know what {guid} is the 1 to save if there is more than 1 and
> > each are labeled with numbers ex: S-1-5-20-...
> >
> > "Wendel Hamilton" wrote:
> >
> > > Hi,
> > > Prepare the domain controller.
> > > Create the user accounts.
> > > After joining the computer to the domain log on as the user
> > > this will create a new profile. Logoff and logon as administrator.
> > > Change the profile path for the user back to the old one by changing the
> > > registry key
> > > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> > > NT\CurrentVersion\ProfileList\{guid}\ProfileImageP ath
> > >
> > > If you want to automate that part of it then you could write some scripts to
> > > 1. save the path before joining the domain
> > > 2. Enable Autoadmin logon as admin.
> > > 3. Join the computer to the domain and reboot
> > > 4. add user to local machine administrators group or add domain uses and
> > > reboot (you could use group policy to do this)
> > > 5. Enable Autoadmin logon as the user and reboot.
> > > 6. User gets logged on, enable Autoadmin logon for admin and logout.
> > > 7. Restore the users profile path.
> > > 8. Disable Autoadmin logon and logout.
> > >
> > >
> > > "jrod091884" wrote:
> > >
> > > > i have a workgroup of 36 pcs on the network some have very important
> > > > information like outlook messages and company files... there arent any
> > > > advanced users i want to put every1 in a domain without them noticing any
> > > > change and not having to search for files in there pc... or lose any settings
> > > > in there programs... can sum1 help... thank you

 
Reply With Quote
 
Wendel Hamilton
Guest
Posts: n/a

 
      11-11-2005, 05:12 AM
Hi,
It should not matter that it is a domain account.
I don't think there are any tools to automate what you want.
The only possibility is the Active directory migration tool but that
migrates from domain to domain.

"jrod091884" wrote:

> ok so...all i have to do i hit modify copy the old path, exit log in as the
> admin modify there new user path to there old path and thats it? would there
> new path be in the same location even though its is a domain user? and if
> this is correct is there a way to get this done automatically without scripts
> cuz i dont know anything about scripts... and i cant interupt every1s work to
> do this.
>
> "Wendel Hamilton" wrote:
>
> > Hi,
> > You could check each the value of ProfileImagePath for each Guid for a match
> > with the current user profile path which is in the environment variable
> > %UserProfile%
> > or
> > The following VBscript returns info about the user including the SID used.
> > Replace strUsername with the logon name for the user.
> >
> > ' Generated by ScriptomaticV2
> > On Error Resume Next
> > strUserName = "Wendel"
> > Const wbemFlagReturnImmediately = &h10
> > Const wbemFlagForwardOnly = &h20
> >
> > arrComputers = Array(".")
> > For Each strComputer In arrComputers
> > WScript.Echo
> > WScript.Echo "=========================================="
> > WScript.Echo "Computer: " & strComputer
> > WScript.Echo "=========================================="
> >
> > Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
> > Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_UserAccount",
> > "WQL", _
> > wbemFlagReturnImmediately +
> > wbemFlagForwardOnly)
> >
> > For Each objItem In colItems
> > if objItem.name = strUserName then
> > WScript.Echo "AccountType: " & objItem.AccountType
> > WScript.Echo "Caption: " & objItem.Caption
> > WScript.Echo "Description: " & objItem.Description
> > WScript.Echo "Disabled: " & objItem.Disabled
> > WScript.Echo "Domain: " & objItem.Domain
> > WScript.Echo "FullName: " & objItem.FullName
> > WScript.Echo "InstallDate: " & WMIDateStringToDate(objItem.InstallDate)
> > WScript.Echo "LocalAccount: " & objItem.LocalAccount
> > WScript.Echo "Lockout: " & objItem.Lockout
> > WScript.Echo "Name: " & objItem.Name
> > WScript.Echo "PasswordChangeable: " & objItem.PasswordChangeable
> > WScript.Echo "PasswordExpires: " & objItem.PasswordExpires
> > WScript.Echo "PasswordRequired: " & objItem.PasswordRequired
> > WScript.Echo "SID: " & objItem.SID
> > WScript.Echo "SIDType: " & objItem.SIDType
> > WScript.Echo "Status: " & objItem.Status
> > WScript.Echo
> > end if
> > Next
> > Next
> >
> >
> > Function WMIDateStringToDate(dtmDate)
> > WScript.Echo dtm:
> > WMIDateStringToDate = CDate(Mid(dtmDate, 5, 2) & "/" & _
> > Mid(dtmDate, 7, 2) & "/" & Left(dtmDate, 4) _
> > & " " & Mid (dtmDate, 9, 2) & ":" & Mid(dtmDate, 11, 2) & ":" &
> > Mid(dtmDate,13, 2))
> > End Function
> >
> > "jrod091884" wrote:
> >
> > > how would i know what {guid} is the 1 to save if there is more than 1 and
> > > each are labeled with numbers ex: S-1-5-20-...
> > >
> > > "Wendel Hamilton" wrote:
> > >
> > > > Hi,
> > > > Prepare the domain controller.
> > > > Create the user accounts.
> > > > After joining the computer to the domain log on as the user
> > > > this will create a new profile. Logoff and logon as administrator.
> > > > Change the profile path for the user back to the old one by changing the
> > > > registry key
> > > > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> > > > NT\CurrentVersion\ProfileList\{guid}\ProfileImageP ath
> > > >
> > > > If you want to automate that part of it then you could write some scripts to
> > > > 1. save the path before joining the domain
> > > > 2. Enable Autoadmin logon as admin.
> > > > 3. Join the computer to the domain and reboot
> > > > 4. add user to local machine administrators group or add domain uses and
> > > > reboot (you could use group policy to do this)
> > > > 5. Enable Autoadmin logon as the user and reboot.
> > > > 6. User gets logged on, enable Autoadmin logon for admin and logout.
> > > > 7. Restore the users profile path.
> > > > 8. Disable Autoadmin logon and logout.
> > > >
> > > >
> > > > "jrod091884" wrote:
> > > >
> > > > > i have a workgroup of 36 pcs on the network some have very important
> > > > > information like outlook messages and company files... there arent any
> > > > > advanced users i want to put every1 in a domain without them noticing any
> > > > > change and not having to search for files in there pc... or lose any settings
> > > > > in there programs... can sum1 help... thank you

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Workgroup issue Brett Evanson Windows Networking 10 10-06-2005 02:04 AM
Workgroup / Domain Issue Tony Broadband Hardware 3 07-15-2004 10:15 AM
A security issue about windows workgroup logon Frank Windows Networking 1 07-15-2004 07:27 AM
domain - workgroup issue Andrew Broadband Hardware 0 04-08-2004 05:24 AM
Workgroup Issue Carla Windows Networking 0 03-03-2004 06:51 PM



1 2 3 4 5 6 7 8 9 10 11