PDA

View Full Version : Help importing reg file via logon script (WXP-Pro)



ynkeecwby
02-22-2006, 06:05 PM
Hi..This question I believe is actaully Server side but I am posting this in a few places in hopes someone has came across it...In our login script we have a few lines to copy reg files to clients pcs...They will give us a error UNLESS we specify the UNC path of the file using any of the servers or even the \\domainname\netlogon\filename.reg syntax...

The reg files are in the netlogon folder, we synch the dc's no problem and everthing else runs fine...It might have happened when we upgrade from Server 200- to 20003 but have no clue what it may be..If anyone has experiened this and has a idea I would appreciate it..thanks!

Brf
02-23-2006, 05:07 AM
So what is the problem?

ynkeecwby
02-23-2006, 06:22 AM
Problem is I shouldn't have to specify the UNC path to the reg file since it is in the same folder as the bat file..While it may be trivial , it means something is not setup or working correctly..I believe it to be a server/domain issue but hoped someone here would have came across this in their own attempts at this...

Brf
02-23-2006, 01:17 PM
The BAT file gets run by UNC though... If you want it to access another file in that same directory, you would need to "cd" to that directory or access it by UNC.