• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Windows login script error

killerasp

Gawd
Joined
Jul 17, 2001
Messages
963
i setup a batch script to run at logon to the domain. i set this through domain policy> logon script

but i got this error:

'\\cc.local\sysvol\xxx.local\Policies\{31B2F340-016D-11D2-945F-00C04FB984
}\User\Scripts\Logon'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.

C:\WINDOWS>PAUSE
Press any key to continue . . .

I looked up and found out what UNC paths are. but why are they not supported?
 
From what i remember, within DOS, unc paths aren't supported (i don't think they have been ever).

So when you call a share from another machine, usually you have to temporary map the drive to execute whatever is within the share.

Here is the microsoft reason .

http://support.microsoft.com/kb/156276/EN-US/
 
You can always use a VBScript instead of batch file.

Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "Y:", "\\ServerName\ShareName"
 
killerasp said:
thats what i did and i got the error. i just did a registery edit to fix it.

it will work if you use the above...

is your DNS setup yet? if not that would cause it.... try typing in the IP of the server instead of the name and see if it works...

NET USE X: \\10.10.10.1\SHARE

QJ
 
Back
Top