MSFN Forum: Dialup networking question - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Dialup networking question Rate Topic: -----

#1 User is offline   pikes 

  • Group: Members
  • Posts: 2
  • Joined: 20-May 04

Posted 06 July 2004 - 12:03 PM

I have an unattended install of windows that copies over the .pab file so that our company's VPN and dialup networking config settings will be copied over. When it copies the file, it's read only so the user won't be able to add any more or delete the existing ones. What kind of script can I run to make this file not read only after it's copied?


#2 User is offline   my2001 

  • Member
  • PipPip
  • Group: Members
  • Posts: 260
  • Joined: 31-May 04

  Posted 06 July 2004 - 12:12 PM

You can also look here :)

Ah, and just a hint: try "attrib -r" command (dos environment).

#3 User is offline   pikes 

  • Group: Members
  • Posts: 2
  • Joined: 20-May 04

Posted 06 July 2004 - 12:24 PM

Right, but how would I script it and where?? I'm looking at the link you gave me :)

EDIT: Ok after some smart searching I found out how to do it, don't know if it works I'll have to test it later. What I did was add

attrib -R %AllUsersProfile%\Application Data\Microsoft\Network\Connections\Pbk\rasphone.pbk

to my cleanup.cmd

#4 User is offline   edmoncu 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 28-April 04

Posted 06 July 2004 - 09:03 PM

otherwise, you could just place the rasphone.pbk file deep within $OEM$'s folder the cd:
\$OEM$
---$Docs
-----All Users
-------Application Data
---------Microsoft\Network
-----------Connections
-------------Pbk
---------------rasphone.bpk

that way, the copied file won't be read only and you won't need to issue any attrib command.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy