MS Server 2000/2003 Discussion/Issues
Request Help & Support or discuss issues with all Windows versions from Windows NT to Windows XP.

Moderators: Management, Forum Experts

Postby nightfire on Thu Sep 11, 2008 6:08 pm

so, i tried that script for the folders and got an error when a user logged on.

i did modify it, and ill post it below.

also, the share im trying to use is on a secondary hard drive within the server, but is shared. for some reason, when i typed in the share name on the computer, it wouldn't come up...
(Gigabyte GA-M57SLI-S4 Mobo)(AMD Athlon 64 X2 5600+)(3.5 GB high speed ram?)(EVGA Geforce 8800GTS)(500 GB and 1 TB Sata Drives)super high speed, 3COM 56k Modem!!
User avatar
nightfire
PRO Level 8
PRO Level 8
 
Posts: 347
Joined: Fri May 27, 2005 2:39 am
Location: Humboldt

Postby _Taz_ on Thu Sep 11, 2008 6:29 pm

that looks like a lower case w:

also make sure you can see the share from the workstation, goto start\run type in

"\\sllabserver\Sllab Shared" and see if it opens
are you sure it's shared as sllab shared? maybe just shared?
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

Postby nightfire on Thu Sep 11, 2008 6:42 pm

well users are locked from the cmd prompt, but when i log onto the computer as admin, i can access it

heres my total script, and heres the error message above it:

"error"
"line 14, char 5"
"Name Redefined"
______________________________________________________________
(Gigabyte GA-M57SLI-S4 Mobo)(AMD Athlon 64 X2 5600+)(3.5 GB high speed ram?)(EVGA Geforce 8800GTS)(500 GB and 1 TB Sata Drives)super high speed, 3COM 56k Modem!!
User avatar
nightfire
PRO Level 8
PRO Level 8
 
Posts: 347
Joined: Fri May 27, 2005 2:39 am
Location: Humboldt

Postby _Taz_ on Thu Sep 11, 2008 6:50 pm

use this:

Code: Select all
Option Explicit

Dim objNetwork, strLocal, strUNCPrinter1, strUNCPrinter2, strUNCPrinter3
strUNCPrinter1 = "\\sllabserver\HPColorLaserjet"
strUNCPrinter2 = "\\sllabserver\HPLaserJet4100_BandW"
strUNCPrinter3 = "\\sllabserver\HP_Plotter"
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection strUNCPrinter1
objNetwork.AddWindowsPrinterConnection strUNCPrinter2
objNetwork.AddWindowsPrinterConnection strUNCPrinter3

Dim strRemotePath1, strDriveLetter1

strDriveLetter1 = "W:"
strRemotePath1 = "\\sllabserver\Shared"

' Section which maps two drive W:
objNetwork.MapNetworkDrive strDriveLetter1, strRemotePath1
Wscript.Quit
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

Postby NT50 on Thu Sep 11, 2008 8:53 pm

OK

I setup the Tutor user as describe before pointing the home directory to E:\users\tutor
Full right to the tutor folder for the user of Tutor
I set in the GP the folder redirection to \\server\tutor (which you can access bia typing in \\server\tutor) and it did not work.

I did a gpupdate /force and rebooted and that did not work.

I am at a loss trying to figure this out.

I made a change tonight and will try a login tomorrow. I went into the security and permissions and added the doamin user tutor and give full permissions to that folder. Before I only added the user to the security. Now I click on advance and added the user tutor to permissions.

We will see what happens tomorrow on this setting.

Anybody got any suggestions?
Image
Signature Thanks To Bosscamper
Dogs Have Owners; Cats Have Staff
User avatar
NT50
VP - Support
 
Posts: 9166
Joined: Sat Jun 19, 2004 12:46 pm
Location: Jackson, TN USA
Real Name: Jeff Replogle

Postby _Taz_ on Thu Sep 11, 2008 9:00 pm

just for grins put that user and a computer in it's own ou and see what happens.

also did you run gpresult to see if it was getting the policy?
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

Postby NT50 on Thu Sep 11, 2008 9:19 pm

_Taz_ wrote:also did you run gpresult to see if it was getting the policy?


i will try it
Image
Signature Thanks To Bosscamper
Dogs Have Owners; Cats Have Staff
User avatar
NT50
VP - Support
 
Posts: 9166
Joined: Sat Jun 19, 2004 12:46 pm
Location: Jackson, TN USA
Real Name: Jeff Replogle

Postby NT50 on Fri Sep 12, 2008 8:44 am

Below is the result.
Can you see any errors.....

Microsoft (R) Windows (R) XP Operating System Group Policy Result tool v2.0
Copyright (C) Microsoft Corp. 1981-2001

Created On 9/12/2008 at 7:37:02 AM



RSOP results for JCMENGR\tutor on ENGR103 : Logging Mode
---------------------------------------------------------

OS Type: Microsoft Windows XP Professional
OS Configuration: Member Workstation
OS Version: 5.1.2600
Domain Name: JCMENGR
Domain Type: Windows 2000
Site Name: Default-First-Site
Roaming Profile:
Local Profile: C:\Documents and Settings\tutor
Connected over a slow link?: No


COMPUTER SETTINGS
------------------
CN=ENGR103,CN=Computers,DC=JCMENGR,DC=local
Last time Group Policy was applied: 9/12/2008 at 6:53:42 AM
Group Policy was applied from: replogleserver.JCMENGR.local
Group Policy slow link threshold: 500 kbps

Applied Group Policy Objects
-----------------------------
Local Group Policy

The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
Default Domain Policy
Filtering: Disabled (Link)

The computer is a part of the following security groups:
--------------------------------------------------------
BUILTIN\Administrators
Everyone
Debugger Users
BUILTIN\Users
NT AUTHORITY\NETWORK
NT AUTHORITY\Authenticated Users
ENGR103$
Domain Computers

Image
Signature Thanks To Bosscamper
Dogs Have Owners; Cats Have Staff
User avatar
NT50
VP - Support
 
Posts: 9166
Joined: Sat Jun 19, 2004 12:46 pm
Location: Jackson, TN USA
Real Name: Jeff Replogle

Postby NT50 on Fri Sep 12, 2008 8:47 am

ahhhhhh

I see something

My policy is called JCMUSERS and I do not see it listed......
Image
Signature Thanks To Bosscamper
Dogs Have Owners; Cats Have Staff
User avatar
NT50
VP - Support
 
Posts: 9166
Joined: Sat Jun 19, 2004 12:46 pm
Location: Jackson, TN USA
Real Name: Jeff Replogle

Postby _Taz_ on Fri Sep 12, 2008 8:58 am

yes you are not getting the policy, it should be under Applied group policy.
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

PreviousNext

Return to Windows XP

Who is online

Users browsing this forum: No registered users and 1 guest