Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

Sartup Net USe Commands removal

Hi

   I have a user that logs onto the sbs2003 domain.  On PC that is logging onto domain is a Win XP Pro Pc.  On startup it runs net use commands to map to drives, it also runs other scripts.  I want to stop these commands running.  I have tried looking in the autoexec.bat and autoexec.nt but I cant find where these are entered?  does nyone know where these entries could be added.  I also tried msconfig but couldnt find anything.

Hope someone can help
Stephen

0
cstephen100
Asked:
cstephen100
1 Solution
 
Irwin SantosComputer Integration SpecialistCommented:
That's because when you log in as the user on the domain, you incur the login script that is assigned to that user.  You can find this when you go to Active Directory on the server, locate the user account.  Check out the profile and the login script (.bat) that exists.  Remove or modify the script at the server.
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
A properly joined client workstation in an SBS domain will run the SBS_LOGIN_SCRIPT.bat file which is located in the \\SBSSERVER\NETLOGON share.  This file MUST be run by each client machine and the default file contains just one line (which should not be changed):

\\SBSSERVER\Clients\Setup\setup.exe /s SBSSERVER

Most likely though, someone put other lines in that file for mapping the drives.

Jeff
TechSoEasy
0
 
myfootsmellsCommented:
since you're running SBS I'd use the proper wizard like Jeff recommends but just in case you don't want to.

\\domainname.local\sysvol\domainname.local\scripts

the SBS_LOGIN_SCRIPT.bat is located in there.  if you open it in notepad and add rem before each net use it will stop mapping of the drives

Michael
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Michael,

The NETLOGON share maps to that same directory.

Jeff
TechSoEasy
0
 
Irwin SantosComputer Integration SpecialistCommented:
@redseatechnologies....why would my comment not count to split?
0
 
redseatechnologiesCommented:
Simple, you suggested removing the script which is not the correct way to do things with SBS.

Were this windows 2003 server or networking, I would have split between you and Jeff - as it is not, Jeff's is the only "correct" answer.

-red
0
 
Irwin SantosComputer Integration SpecialistCommented:
@redseatechnologies...ok fair enough
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now