Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

script to allow cookie internet explorer

is it possible to set setting in internet explorer 6.0 sp2 to allow cookie for certain websites with a visual basic script? this will be done to more than 100 computers that have windows xp sp2 if possible. any comment will greatly be appreciated.
0
hherrera
Asked:
hherrera
  • 3
  • 2
1 Solution
 
deaditeCommented:
Create a file named "Cookies.reg"  then copy and paste the following into it:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\P3P\History\website.com]
@=dword:00000001



Now, replace "website.com" with the site you want (your probably have to keep the www and http off for it to work).  You can also use an IP instead of the domain name.

The problem with using a vbscript is, this is an individual user setting.  You'll need to give the file to each user to run, or else run it as a log on script.
0
 
deaditeCommented:
Assuming you are on a windows Domain and have domain admin access, here are some simple instructions for login scripts:

http://www.computerperformance.co.uk/Logon/logon_script_assign.htm
0
 
hherreraAuthor Commented:
thank you, that is what I needed, just one more question, when I make the cookies.reg the logon script, will the users get the question of "Are you sure you want to add the information in ......registry?" question?
0
 
deaditeCommented:
I'm not sure, I never tested using a reg as a logon script.  Try using this as a "login.bat"... I think it'll work (havn't tested though)

@echo off
REGEDIT /S cookies.reg
0
 
hherreraAuthor Commented:
got it, this is the command:
regedit.exe /s path of .reg file
thanks again, very helpful comments.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now