Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- VB Login Script Help needed
- Please forgive me, but i'm extremely new to VBScript. I need to write a login script to map drives based on group membership in a windows 2003 AD Domain. I've found numerous examples all over the net, but none of them has seemed to work properly for me.Here...
- Tags: accounting, CreateObject, Microsoft Visual Basic, objNetwork.MapNetworkDrive, programming, RhythmMethod, windows, wshNetwork.MapNetworkDrive, \\SERVER\SHARE
- Discussion threads 2006-10-18
Additional Resources
- VB script problem
- Hi,Is there any way include user name with password to map a network share in VB script. example: username: mejhone password: support, network shard: \csg_appmerchsharecan this be done?Thank you.No I would not recommend to do it that way. Best way is to assign permissions on ther server to allow users...
- Tags: password, WScript.Network, Wscript.CreateObject
- Q&A 2004-11-12
- Printer's script in VISTA Ultimate
- Hello, everyone.We have installed a lab with PCs running VISTA ULTIMATE.I tried to use the vbs script that I was using in XP Professional but it does not work.Set WshNetwork = CreateObject("WScript.Network")WshNetwork.AddWindowsPrinterConnection "\serverhercucol"WshNetwork.AddWindowsPrinterConnection "\serverhercubla"WshNetwork.SetDefaultPrinter "\serverhercubla"Any ideas? What could be problem?Thank you in advance.
- Tags: Microsoft Windows Vista (Longhorn), stergios_nik@..., printer, WSHNetwork.AddWindowsPrinterConnection, Vista Ultimate, Microsoft Windows Vista
- Discussion threads 2007-05-22
- VBS Logon scripts
- Does anyone use VBScripting .vbs for logon scripts effectively in a Windows 2000 domain setting?this is how mine looks if it helps anyDim objNeton error resume nextSet objNet = CreateObject("Wscript.Network")objNet.MapNetworkDrive "I:", "\SLTsmsI_folder"objNet.MapNetworkDrive "J:", "\SLTsmsJ_folder"objNet.MapNetworkDrive "K:", "\SLTsmsK_folder"objNet.MapNetworkDrive "L:", "\SLTsmsL_folder"objNet.MapNetworkDrive "N:", "\SLTsmsN_folder"objNet.MapNetworkDrive "Q:", "\SLTsmsQ_folder"WSCript.QuitVery niceDo you run a mixed mode and if...
- Tags: Microsoft Windows 98, Microsoft Windows, objNet.MapNetworkDrive
- Discussion threads 2005-01-25
- mapping lost after second log on
- We have just upgraded from Windows 2000 Pro to Windows XP Pro SP2. The problem is that we run a scrip that maps a drive letter to the users in that group. However, since we've upgraded to the latter OS, the users can run the scrip and map the drive...
- Tags: Microsoft Windows, LCase
- Q&A 2004-12-16
- Mapping Network Drives over VPN
- Hi,I got into this new job.In fact, you can all it my first job in the field. I understand VPN, firewalls, router, etc at CCSP level( trained in Network Security..as you can guess). But I'm not really good at Systems. This new job is mainly systems administration and i took...
- Tags: security, drive maps, windows, VPN, neora_x_m@..., networking, laptop computer, network
- Discussion threads 2006-09-25
- How to remove network printers via a VBS script?
- Hi all,I need to create a VBS logon script for users here to remove network printer conncections if they exist for a user's AD account. I've figured out how to add network printer connections, but I've run into a brick wall with removing them. I'd like the script to remove...
- Tags: Computer Dude, network, network printer, printer
- Q&A 2005-03-30
- mapping a printer vb script (premission denied)
- hi,I have 30 printers in my company, If I try to connect winxp share printer it's work fine, bat if I try to connect a win98 share printer I get "premission denied" this is the script:strcomputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\"...
- Tags: Printers, m-6rom@..., Microsoft VBScript, printer
- Discussion threads 2007-04-04
- Need printer login script
- Hello all – I need a simple login script to set printers already installed on a Citrix/Terminals server as default printers for certain groups. The printers are installed on the Citrix/Terminal server as TCP/IP ports. When the user logs on, I would like for the script to set...
- Tags: Printers, printer
- Q&A 2005-03-22
- client mapping to a partition on a server
- I have setup a partition on a server. I would like to have client workstations map a few logical drives to different parts of the partion. The partition on the server is labeled 'Z'. Would the following code get the job done in a logon script?Set objNetwork =...
- Tags: Workstations, server, mark@...
- Discussion threads 2007-10-02
- Default Printer
- How to apply default printer to all users on a particular XP workstation?If you are on a Windows 2000 or 2003 domain, the following will work:If you want to implament a network shared printer you will need to make a logon printer script. You can apply this eitehr at...
- Tags: Printers, printer, registry
- Q&A 2004-10-08
- How to deploy Word Macro/toolbar
- I have an Word environment controlled by Group Policy where the User Templates paths are unique to each user eg their Home drive, but the Startup and Workgroup Templates paths point to network shares that are common to groups of users depending on their department (eg Finance, Marketing etc).My situation...
- Tags: Arfo, macro, Microsoft Word, software, toolbar
- Q&A 2005-05-12
- Login Script
- I need a simple login script for drive mappings, printers and pushing exe file through login script for example DST push.Anybody knows a site?RE: Login ScriptThis site has a lot of information and explanations.http://www.computerperformance.co.uk/Logon/logon_scripts.htmEasy windows script...Old sample of mine for a batch file setupEcho OffREM Drive map for Casselle,...
- Tags: jfkind@..., strRemotePath1, strDriveLetter2, strRemotePath2
- Discussion threads 2007-10-27
- Error 800A01C3 - VBScript (Login Script)
- Any ideas? I received the above error when I run the login script as anyone that doesnt have administrative rights to the network. The section that returns the error is below. I can't post the entire script here, but if you email me: thamilton at tuskyvalley.k12.oh.us, I can...
- Tags: GetObject, LDAP://, Login, Login Script, Microsoft VBScript, objNetwork.MapNetworkDrive, programming, thamilton@...
- Q&A 2005-09-22
- Network Printer Problems
- I run a network here at a high school. Most of the printers are laser printers plugged into the network and shared from one of the servers. Then, let's say the printer is for the digital media lab, I put all the digital media lab computers in an...
- Tags: Printers, network, link470, computer, network printer, printer
- Discussion threads 2007-10-10
- Msaccess User
- Hi,I have created Database in MSAccess and created users so that they can access the database.Is this possible I will connect msaccess users to Domain User id so that when they open their Database and give their user id and password it will be authenticate from domain.Thanks and Regards.Anurag.This is...
- Tags: VBA, VBA CODE, database, User Name, ask_anurag@..., software, AUTOEXEC
- Q&A 2006-03-29
- Group plicy works intermittently!!
- I have a group policy object called "Map users".In this policy I have logon script policy(User configuration >Windows setting >scripts>logon)This script basically maps users to different folder on the server.The problem is that the script, for some mysterious, reason doesn't work all the time. Even though it's in the same...
- Tags: e_canaan@..., it management, WScript.Network
- Q&A 2005-05-09
- Drive Label Says Network Drive
- Here's the snippet of code I'm using:If InStr(strGroup, lcase(Staff_Group)) Then objNetwork.MapNetworkDrive "H:","\blahGeneral" objShell.NameSpace("H:").Self.Name = "General"Now when I login as someone in the Staff Group and I open windows explorer I for a share name I see "Network Drive (H:)" rather then "General (H:)" any ideas why?Thanks for the help.-Chris Matera
- Tags: cmatera@..., drives, mapping, network, Network Drive, networking, programming, scripting, server 2003, shares, windows
- Discussion threads 2007-01-17
- Collect domain names to automate admin script customization
- TechRepublicrecently asked members to submit their favorite Network Administration scriptsfor possible publication. One of the first to make a submission was Kevin Wood. For his effort, Kevinearned $100 and the satisfaction of seeing his script published on TechRepublic.Earn $100 for your admin scriptLet us payyou for your original scripts so...
- Tags: Â, Â Â, defaultNamingContext, domain, domain name, Guest Contributor
- Technical articles 2005-10-17
- Set default Printers using scripts
- Dear Colleagues,I was given the script below to automatically install network printers for users. The script works fine, but I was wondering if anyone knows how to also make the printer default by adding a few more lines to the .vbs file.Thanks.set wshnet = CreateObject("WScript.Network")wshnet.AddWindowsPrinterConnection "\serverprintershare"Add the lineWshNetwork.SetDefaultPrinter "\ServerPrinter1"To set...
- Tags: Printers, printer
- Q&A 2004-11-03
- << Previous
- page 1 of 1
- Next >>