(imported topic written by shiva91)
Hi All,
We are facing an issue in deploying BES clients using login script on AD installed on windows 2003 server. To develop the batch file we used the sample batch file available in BES knowledge base on the below link:
http://support.bigfix.com/cgi-bin/kbdirect.pl?id=42
After the customization according to our environment the batch file contents are as present in the attached screen shot named screen2 ziped inside screen4.zip.
Once the batch file content was ready we followed the below mentioned procedure available on the link mentioned:
http://www.sophos.com/support/knowledgebase/article/13273.html
Windows 2003
Create the login script
At the Domain Controller (i.e. the computer you use to add new users to the domain), use Windows Explorer (or My Computer) to locate C:\Winnt\SYSvol\sysvol[domain].com\scripts where
domain
is the name of the domain that the workstations log in to.
On the File menu, select New|Text Document.
Double-click the ‘New Text Document’ icon to open it in Notepad.
Enter the required commands.
On the ‘File’ menu, click ‘Save As’. In the ‘Save As’ dialog box, change ‘Save as type’ to ‘All Files’ and save the file with the name login.bat.
Close Notepad and Windows Explorer (or My Computer).
Assign the login script
At the taskbar, click Start|Settings|Control Panel.
In the ‘Control Panel’ window, double-click ‘Administrative Tools’.
In the ‘Administrative Tools’ window, double-click ‘Active Directory Users and Computers’.
In the ‘Active Directory Users and Computers’ window, click the Users folder in the Tree pane.
In the Name list, right-click the name of a user that needs to have the login script assigned to them. In the menu that is displayed, select ‘Properties’.
In the ’
user
Properties’ dialog box (where
user
is the name of the user you right-clicked), click the Profile tab. In the ‘Logon script’ text box, type ‘login.bat’. Click ‘OK’.
Now repeat this procedure for each user to whom you want to assign the login script.
The next time those users log in, the login script will run on their computers.
we assigned the login script to the domain admin profile and a normal domain user profile. But now when we are logged in with the domain admin or the user that we created the script gives the error present in screen shot named screen4 ziped inside screen4.zip.
Could any let us know how to resolve this and make the login script work.
Regards,
Shiva