Did you create the local group on the domain, or the local machine? It is the domain you need to create the local group on
On 6 May 2010 12:41, helpdesk UK <uk.helpd...@gmail.com> wrote: > net localgroup test domain1\%computername%$ /ADD /domain > > System error 1376 has occured > > The specefied local group does not exisit. > > http://support.microsoft.com/kb/119865 > > any ideas why it works for you and not me ? :( > > cheers > > Jo > > On 6 May 2010 12:29, James Rankin <kz2...@googlemail.com> wrote: > >> And make sure it is a domain local group you have created >> >> >> On 6 May 2010 12:28, helpdesk UK <uk.helpd...@gmail.com> wrote: >> >>> unfortunately not. >>> >>> I just created another local group called test and tried the following >>> command. >>> >>> net group test domain1\%computername%$ /ADD /domain >>> >>> it sends me back to the >>> The synatax for this command is: >>> >>> NET GROUP >>> ............................................... >>> >>> Is this not working because of some security changes in Windows 7 / >>> Windows 2008 R2 domain ? >>> >>> But if it was a security issue it would give me an error NETHELPmsg >>> etc.... >>> >>> >>> maybe another utility OR script would do this so I can simply add that >>> script to a task sequence and when it runs .....it will automatically add >>> that computer it is building to a set group in AD ? >>> >>> cheers >>> >>> Jo >>> >>> >>> >>> >>> On 6 May 2010 11:51, James Rankin <kz2...@googlemail.com> wrote: >>> >>>> Try creating your group again but this time create it as a *domain >>>> local group* rather than just a standard security group, I just tested >>>> this and it works >>>> >>>> >>>> On 6 May 2010 11:45, helpdesk UK <uk.helpd...@gmail.com> wrote: >>>> >>>>> >>>>> Hello James >>>>> >>>>> and I am not sure what I am typing incorrectly here but my command is >>>>> >>>>> The comamdn you have suggested will fail as localgroup ? i dont have >>>>> local groups created on any machines I want to only add the %computername% >>>>> to the domain group >>>>> >>>>> so I tried this >>>>> >>>>> net group SSID1 domain1\%computername%$ /ADD /domain >>>>> >>>>> it sends me back to the syntax of this command as it is incomplete.... >>>>> >>>>> The funny thing is I cannot get a net group command working :( >>>>> >>>>> >>>>> cheers >>>>> >>>>> Jo >>>>> >>>>> >>>>> >>>>> On 5 May 2010 17:18, James Rankin <kz2...@googlemail.com> wrote: >>>>> >>>>>> You may need to add */domain *onto the end of that command. It seems >>>>>> to work for me. >>>>>> >>>>>> >>>>>> On 5 May 2010 17:14, James Rankin <kz2...@googlemail.com> wrote: >>>>>> >>>>>>> Maybe this, off the top of my head? >>>>>>> >>>>>>> *Net localgroup <group> <domain name>\<computer name>$ /ADD* >>>>>>> >>>>>>> On 5 May 2010 17:11, helpdesk UK <uk.helpd...@gmail.com> wrote: >>>>>>> >>>>>>>> James, >>>>>>>> >>>>>>>> As mentioned earlier the computer_DN i.e. distinguished name will be >>>>>>>> different in some cases i.e. different ou. >>>>>>>> >>>>>>>> I need to acheive this without the Computer_DN to be honest I hope I >>>>>>>> am explaining the problem correctly. >>>>>>>> >>>>>>>> I dont even know what the computer will be called when SCCM installs >>>>>>>> it. >>>>>>>> >>>>>>>> so I feel the dynamic command with %computername% would be ideal >>>>>>>> >>>>>>>> so whatever the %computername% add it to this group *SSID1* >>>>>>>> I hope that clarifies it further. >>>>>>>> >>>>>>>> cheers >>>>>>>> >>>>>>>> Jo >>>>>>>> On 5 May 2010 16:41, James Rankin <kz2...@googlemail.com> wrote: >>>>>>>> >>>>>>>>> Adding a Computer Account to a Group >>>>>>>>> >>>>>>>>> 1. Click *Start*, and then click *Run*. >>>>>>>>> 2. In the *Open* box, type *cmd*. >>>>>>>>> 3. At the command prompt, type the following command: >>>>>>>>> dsmod group group_dn -addmbr computer_dn >>>>>>>>> This command uses the following values: >>>>>>>>> - *group_dn* specifies the distinguished name of the group >>>>>>>>> object to which you want to add the computer object. >>>>>>>>> - *computer_dn* specifies the distinguished name of the >>>>>>>>> computer object to be added to the group. The distinguished >>>>>>>>> name indicates >>>>>>>>> the folder location. >>>>>>>>> >>>>>>>>> When you add a computer to a group, you can assign permissions to >>>>>>>>> all of the computer accounts in that group, and then filter Group >>>>>>>>> Policy >>>>>>>>> settings on all accounts in that group. >>>>>>>>> >>>>>>>>> To view the complete syntax for this command, at a command prompt, >>>>>>>>> type *dsmod group /?*. >>>>>>>>> >>>>>>>>> >>>>>>>>> On 5 May 2010 16:27, helpdesk UK <uk.helpd...@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> Windows 7 >>>>>>>>>> >>>>>>>>>> My understanding was that all the SCCM Task Sequence run under >>>>>>>>>> elevated prompt ? >>>>>>>>>> >>>>>>>>>> As it deploys all the apps + etc... >>>>>>>>>> >>>>>>>>>> I have not yet inserted any scripts in the task sequence so not >>>>>>>>>> sure how it will react ? >>>>>>>>>> >>>>>>>>>> I was hoping if the command would be simple >>>>>>>>>> >>>>>>>>>> < utility > add to < group name > %computername% >>>>>>>>>> >>>>>>>>>> along those lines >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> cheers >>>>>>>>>> >>>>>>>>>> Jo >>>>>>>>>> >>>>>>>>>> On 5 May 2010 15:51, Kurt Buff <kurt.b...@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> What OS? I have my minions do this from the command line all the >>>>>>>>>>> time. >>>>>>>>>>> >>>>>>>>>>> Under Win7, however, it's a powershell script that must be run >>>>>>>>>>> from an >>>>>>>>>>> elevated prompt. >>>>>>>>>>> >>>>>>>>>>> Kurt >>>>>>>>>>> >>>>>>>>>>> On Wed, May 5, 2010 at 06:47, helpdesk UK <uk.helpd...@gmail.com> >>>>>>>>>>> wrote: >>>>>>>>>>> > Hello Everyone, >>>>>>>>>>> > >>>>>>>>>>> > I need to add a few computers to a specefic group in AD once >>>>>>>>>>> the machine is >>>>>>>>>>> > compelte building... >>>>>>>>>>> > >>>>>>>>>>> > Can this be done on the local netbios name ? >>>>>>>>>>> > >>>>>>>>>>> > %computername% >>>>>>>>>>> > >>>>>>>>>>> > 1. Machines build completes. >>>>>>>>>>> > 2. Final reboot and it runs a command to add to specific >>>>>>>>>>> groups. >>>>>>>>>>> > >>>>>>>>>>> > I need to figure this out as I need to add this as a command >>>>>>>>>>> line option in >>>>>>>>>>> > my SCCM Task Sequence for building Windows 7 Laptops for >>>>>>>>>>> Wireless Policies. >>>>>>>>>>> > >>>>>>>>>>> > Any help will be much appreciated. >>>>>>>>>>> > >>>>>>>>>>> > Thank you >>>>>>>>>>> > >>>>>>>>>>> > Jo >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> ~ Finally, powerful endpoint security that ISN'T a resource hog! >>>>>>>>>>> ~ >>>>>>>>>>> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> "On two occasions...I have been asked, 'Pray, Mr Babbage, if you >>>>>>>>> put into the machine wrong figures, will the right answers come out?' >>>>>>>>> I am >>>>>>>>> not able rightly to apprehend the kind of confusion of ideas that >>>>>>>>> could >>>>>>>>> provoke such a question." >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put >>>>>>> into the machine wrong figures, will the right answers come out?' I am >>>>>>> not >>>>>>> able rightly to apprehend the kind of confusion of ideas that could >>>>>>> provoke >>>>>>> such a question." >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put >>>>>> into the machine wrong figures, will the right answers come out?' I am >>>>>> not >>>>>> able rightly to apprehend the kind of confusion of ideas that could >>>>>> provoke >>>>>> such a question." >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put >>>> into the machine wrong figures, will the right answers come out?' I am not >>>> able rightly to apprehend the kind of confusion of ideas that could provoke >>>> such a question." >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> >>> >> >> >> -- >> "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into >> the machine wrong figures, will the right answers come out?' I am not able >> rightly to apprehend the kind of confusion of ideas that could provoke such >> a question." >> >> >> >> >> >> > > > > > -- "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question." ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~